Modifier and Type | Class and Description |
---|---|
class |
TypedFilter<T>
Abstract typed filter definition providing base mechanisms and factories to easily create specific kinds of
filters based on its specific object type.
|
Modifier and Type | Method and Description |
---|---|
static <T> TypedFilter<T> |
TypedFilter.create(Class<T> type,
Filter<? super T> filter)
Creates and returns a class based type filter based on given
filter instance. |
Modifier and Type | Interface and Description |
---|---|
static interface |
Filter.TypedFilter<T>
Extension to a filter definition that provides the element in question as type safe object, if the filter accepted it.
|
Modifier and Type | Class and Description |
---|---|
static class |
Filter.AndFilter<T>
A simple combinatorial filter that requires all inner filters to accept an element to be fulfilled.
|
static class |
Filter.CombinedFilter<T>
Abstract definition for combinatorial filters.
|
static class |
Filter.EqualFilter<T>
Simple equality filter implementation.
|
static class |
Filter.ImpliesFilter<T>
A filter implementation accepting elements based on a logical consequence concept, i.e., it accepts an element, if the implication accepting the element is a consequence of the condition accepting it.
|
static class |
Filter.NotFilter<T>
A simple filter negating the single inner one.
|
static class |
Filter.OrFilter<T>
A simple combinatorial filter that requires one of the inner filters to accept an element to be fulfilled.
|
Modifier and Type | Method and Description |
---|---|
static <T> Filter<T> |
Filter.Util.acceptAll()
A primitive filter accepting any element.
|
static <T> Filter<T> |
Filter.Util.acceptNothing()
A primitive filter accepting no element.
|
static <T> Filter<T> |
Filter.Util.and(Collection<Filter<T>> f)
Factory to create a combinatorial conjunction-filter on a given collection of filters.
|
static <T> Filter<T> |
Filter.Util.and(Filter<T>... f)
Factory to create a combinatorial conjunction-filter on the given arguments.
|
static <T> Filter<T> |
Filter.Util.equal(T value)
Factory creating an equality filter with the given value as comparison operand.
|
static <T> Filter<T> |
Filter.Util.implies(Filter<T> condition,
Filter<T> implication)
Factory to create a logical consequence based filter on a given condition and its implication.
|
static <T> Filter<T> |
Filter.Util.not(Filter<T> f)
Factory to create a negation of the given filter.
|
static <T> Filter<T> |
Filter.Util.notNull()
A primitive filter accepting all non-null elements.
|
static <T> Filter<T> |
Filter.Util.or(Collection<Filter<T>> f)
Factory to create a combinatorial disjunction-filter on a given collection of filters.
|
static <T> Filter<T> |
Filter.Util.or(Filter<T>... f)
Factory to create a combinatorial disjunction-filter on the given arguments.
|
Modifier and Type | Method and Description |
---|---|
static <T> Filter<T> |
Filter.Util.and(Filter<T>... f)
Factory to create a combinatorial conjunction-filter on the given arguments.
|
static <T,C extends Collection<T>> |
Filter.Util.doFilter(Collection<T> source,
Filter<T> filter,
C target)
Copies all matching entries of collection source to collection target.
|
List<E> |
ElementProvider.getElements(E first,
E last,
int max,
Filter<E> filter)
Get a list of elements in the given range including a defined maximum number of elements that pass the
provided filter.
|
static <T> Filter<T> |
Filter.Util.implies(Filter<T> condition,
Filter<T> implication)
Factory to create a logical consequence based filter on a given condition and its implication.
|
static <T> Filter<T> |
Filter.Util.implies(Filter<T> condition,
Filter<T> implication)
Factory to create a logical consequence based filter on a given condition and its implication.
|
static <T> Filter<T> |
Filter.Util.not(Filter<T> f)
Factory to create a negation of the given filter.
|
static <T> Filter<T> |
Filter.Util.or(Filter<T>... f)
Factory to create a combinatorial disjunction-filter on the given arguments.
|
Modifier and Type | Method and Description |
---|---|
static <T> Filter<T> |
Filter.Util.and(Collection<Filter<T>> f)
Factory to create a combinatorial conjunction-filter on a given collection of filters.
|
static <T> Filter<T> |
Filter.Util.or(Collection<Filter<T>> f)
Factory to create a combinatorial disjunction-filter on a given collection of filters.
|
Modifier and Type | Method and Description |
---|---|
List<DeletedElementsInfo> |
UserService.getDeletedElementInfos(long startRevisionId,
int resultCount,
Filter<ElementInfo> filter)
Get a list of information objects for deleted elements matching the given filter.
|
Modifier and Type | Method and Description |
---|---|
Collection<Subscription> |
PackageManager.getSubscriptions(Filter<Subscription> filter)
Returns a read-only collection of all
Subscription 's which matches the given filter. |
Modifier and Type | Method and Description |
---|---|
List<RemoteProjectConfiguration> |
Project.getRemoteProjectConfigurations(Filter<RemoteProjectConfiguration> filter)
Returns the list of remote project configurations for this project that pass the given filter.
|
List<Revision> |
Project.getRevisions(Revision from,
Revision to,
int maxCount,
Filter<Revision> filter)
Returns a list of revisions in descending order.
|
Modifier and Type | Class and Description |
---|---|
class |
StoreElementFilter |
Modifier and Type | Method and Description |
---|---|
static <T extends StoreElement> |
StoreElementFilter.create(Class<T> type,
Filter<StoreElement> filter) |
static StoreElementFilter |
StoreElementFilter.create(Filter<StoreElement> filter) |
Modifier and Type | Method and Description |
---|---|
Map<String,RemoteProjectConfiguration> |
ProjectAgent.getRemoteProjectConfigurations(Filter<RemoteProjectConfiguration> remoteCondition)
Get the configurations of remote projects defined.
|
Modifier and Type | Field and Description |
---|---|
static Filter<Revision> |
RevisionFilter.CREATE_FILTER
This filter accepts all revisions with
operations belonging to create operations
(CreateOperation , ContentOperation with created
entities |
static Filter<Revision> |
RevisionFilter.DELETE_FILTER
This filter accepts all revisions with
operations belonging to delete operations
(DeleteOperation , ContentOperation with deleted
entities |
static Filter<Revision> |
RevisionFilter.MODIFY_FILTER
This filter accepts all revisions with
operations belonging to modify operations
(ModifyOperation , MoveOperation , ContentOperation with deleted entities |
static Filter<Revision> |
RevisionFilter.RELEASE_FILTER
This filter accepts all revisions with
operations belonging to release operations
(ReleaseOperation , ServerReleaseOperation , ContentOperation with released entities |
Modifier and Type | Method and Description |
---|---|
static Filter<Revision> |
RevisionFilter.createRevisionFilter(RevisionOperation.OperationType... operationTypes)
Returns a filter which accepts all revisions with a
revision operation type containing in
given operationTypes. |
Modifier and Type | Method and Description |
---|---|
List<Revision> |
HistoryProvider.RevisionProvider.getElements(Revision first,
Revision last,
int max,
Filter<Revision> filter)
Provides all revisions within the defined range matching the given filter, but at most max entries.
|
List<Revision> |
HistoryProvider.getHistory(Date before,
Date after,
int maxCount,
Filter<Revision> filter)
Returns a list of revisions of this store element in descending order.
|
Modifier and Type | Method and Description |
---|---|
void |
ImportOperation.setImportFilter(Filter<ImportElementInfo> filter)
Sets a filter being used to decide upon elements to be imported.
|
Modifier and Type | Method and Description |
---|---|
NewSectionOperation |
NewSectionOperation.filterAvailableTemplates(Filter<SectionTemplate> filter)
You may provide a filter to control which templates are available for the new
Section . |
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210