|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.db.CmsLogToPublishListChangeConverter
public class CmsLogToPublishListChangeConverter
This class can be used to convert a series of log entry objects to a set of changes which should be applied to the user publish list.
| Constructor Summary | |
|---|---|
CmsLogToPublishListChangeConverter()
|
|
| Method Summary | |
|---|---|
void |
add(CmsLogEntry entry)
Feeds a log entry to the converter. |
java.util.List<CmsUserPublishListEntry> |
filterEntries(org.opencms.db.CmsLogToPublishListChangeConverter.Action action)
Gets all CmsUserPublishListEntry values from the internal state map whose action matches the parameter given. |
java.util.List<CmsUserPublishListEntry> |
getPublishListAdditions()
Gets the list of publish list entries which should be updated in the database. |
java.util.List<CmsUserPublishListEntry> |
getPublishListDeletions()
Gets the list of user publish list entries to delete. |
protected boolean |
isChanging(CmsLogEntry entry)
Checks whether the given log entry should update an entry in the publish list. |
protected boolean |
isDeleting(CmsLogEntry entry)
Checks whether the given log entry should remove an entry from the publish list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsLogToPublishListChangeConverter()
| Method Detail |
|---|
public void add(CmsLogEntry entry)
entry - the log entry to processprotected boolean isDeleting(CmsLogEntry entry)
entry - the log entry
protected boolean isChanging(CmsLogEntry entry)
entry - the log entry
public java.util.List<CmsUserPublishListEntry> getPublishListAdditions()
public java.util.List<CmsUserPublishListEntry> filterEntries(org.opencms.db.CmsLogToPublishListChangeConverter.Action action)
action - an action constant
public java.util.List<CmsUserPublishListEntry> getPublishListDeletions()
In the objects returned, only the structure id and user id fields are meaningful.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||