public class RevisionFilter extends Object
Project#getRevisions(..)
:
RELEASE_FILTER
CREATE_FILTER
DELETE_FILTER
MODIFY_FILTER
createRevisionFilter(de.espirit.firstspirit.storage.RevisionOperation.OperationType...)
createRevisionFilter(RevisionOperation.OperationType ... types)}Filter.Util
to combine filter.Filter.Util
Modifier and Type | Field and Description |
---|---|
static Filter<Revision> |
CREATE_FILTER
This filter accepts all revisions with
operations belonging to
create operations (CreateOperation , ContentOperation with created entities |
static Filter<Revision> |
DELETE_FILTER
This filter accepts all revisions with
operations belonging to
delete operations (DeleteOperation , ContentOperation with deleted entities |
static Filter<Revision> |
MODIFY_FILTER
This filter accepts all revisions with
operations belonging to
modify operations (ModifyOperation , MoveOperation , ContentOperation with deleted entities |
static Filter<Revision> |
RELEASE_FILTER
This filter accepts all revisions with
operations belonging to
release operations (ReleaseOperation , ServerReleaseOperation , ContentOperation with released entities |
Constructor and Description |
---|
RevisionFilter() |
Modifier and Type | Method and Description |
---|---|
static Filter<Revision> |
createRevisionFilter(RevisionOperation.OperationType... operationTypes)
Returns a filter which accepts all revisions with a
revision operation type containing
in given operationTypes. |
public static final Filter<Revision> RELEASE_FILTER
operations
belonging to
release operations (ReleaseOperation
, ServerReleaseOperation
, ContentOperation
with released entities
ReleaseOperation
,
ServerReleaseOperation
,
ContentOperation.getReleasedEntities()
public static final Filter<Revision> CREATE_FILTER
operations
belonging to
create operations (CreateOperation
, ContentOperation
with created entities
CreateOperation
,
ContentOperation.getCreatedEntities()
public static final Filter<Revision> DELETE_FILTER
operations
belonging to
delete operations (DeleteOperation
, ContentOperation
with deleted entities
CreateOperation
,
ContentOperation.getDeletedEntities()
public static final Filter<Revision> MODIFY_FILTER
operations
belonging to
modify operations (ModifyOperation
, MoveOperation
, ContentOperation
with deleted entities
ModifyOperation
,
ContentOperation.getChangedEntities()
public static Filter<Revision> createRevisionFilter(RevisionOperation.OperationType... operationTypes)
revision operation type
containing
in given operationTypes.operationTypes
- the allowed operation types for the created filterCopyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500