public class CmsLogToPublishListChangeConverter
extends java.lang.Object
构造器和说明 |
---|
CmsLogToPublishListChangeConverter() |
限定符和类型 | 方法和说明 |
---|---|
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.
|
public void add(CmsLogEntry entry)
entry
- the log entry to processprotected boolean isDeleting(CmsLogEntry entry)
entry
- the log entryprotected boolean isChanging(CmsLogEntry entry)
entry
- the log entrypublic java.util.List<CmsUserPublishListEntry> getPublishListAdditions()
public java.util.List<CmsUserPublishListEntry> filterEntries(org.opencms.db.CmsLogToPublishListChangeConverter.Action action)
action
- an action constantpublic java.util.List<CmsUserPublishListEntry> getPublishListDeletions()
In the objects returned, only the structure id and user id fields are meaningful.