public class CmsLogToPublishListChangeConverter extends java.lang.Object
| Constructor and Description |
|---|
CmsLogToPublishListChangeConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(CmsLogEntry entry)
Feeds a log entry to the converter.
|
protected 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.
|
public CmsLogToPublishListChangeConverter()
public void add(CmsLogEntry entry)
entry - the log entry to processpublic java.util.List<CmsUserPublishListEntry> getPublishListAdditions()
public java.util.List<CmsUserPublishListEntry> getPublishListDeletions()
In the objects returned, only the structure id and user id fields are meaningful.
protected java.util.List<CmsUserPublishListEntry> filterEntries(org.opencms.db.CmsLogToPublishListChangeConverter.Action action)
action - an action constantprotected boolean isChanging(CmsLogEntry entry)
entry - the log entryprotected boolean isDeleting(CmsLogEntry entry)
entry - the log entry