Uses of Interface
de.espirit.common.util.Filter
Package
Description
-
Uses of Filter in de.espirit.common
Modifier and TypeClassDescriptionclass
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 TypeMethodDescriptionstatic <T> TypedFilter<T>
Creates and returns a class based type filter based on givenfilter
instance. -
Uses of Filter in de.espirit.common.util
Modifier and TypeInterfaceDescriptionstatic interface
Extension to a filter definition that provides the element in question as type safe object, if the filter accepted it.Modifier and TypeClassDescriptionstatic final class
A simple combinatorial filter that requires all inner filters to accept an element to be fulfilled.static class
Abstract definition for combinatorial filters.static final class
Simple equality filter implementation.static final class
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 final class
A simple filter negating the single inner one.static final class
A simple combinatorial filter that requires one of the inner filters to accept an element to be fulfilled.Modifier and TypeMethodDescriptionstatic <T> @NotNull Filter<T>
Filter.Util.acceptAll()
A primitive filter accepting any element.static <T> @NotNull Filter<T>
Filter.Util.acceptNothing()
A primitive filter accepting no element.static <T> @NotNull Filter<T>
Filter.Util.and
(@NotNull Collection<Filter<T>> f) Factory to create a combinatorial conjunction-filter on a given collection of filters.static <T> @NotNull Filter<T>
Factory to create a combinatorial conjunction-filter on the given arguments.static <T> @NotNull Filter<T>
Filter.Util.equal
(T value) Factory creating an equality filter with the given value as comparison operand.static <T> @NotNull Filter<T>
Factory to create a logical consequence based filter on a given condition and its implication.static <T> @NotNull Filter<T>
Factory to create a negation of the given filter.static <T> @NotNull Filter<T>
Filter.Util.notNull()
A primitive filter accepting all non-null elements.static <T> @NotNull Filter<T>
Filter.Util.or
(@NotNull Collection<Filter<T>> f) Factory to create a combinatorial disjunction-filter on a given collection of filters.static <T> @NotNull Filter<T>
Factory to create a combinatorial disjunction-filter on the given arguments.Modifier and TypeMethodDescriptionstatic <T> @NotNull Filter<T>
Factory to create a combinatorial conjunction-filter on the given arguments.static <T,
C extends Collection<T>>
CFilter.Util.doFilter
(@NotNull Collection<T> source, @NotNull Filter<T> filter, C target) Copies all matching entries of collectionsource
to collectiontarget
.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> @NotNull Filter<T>
Factory to create a logical consequence based filter on a given condition and its implication.static <T> @NotNull Filter<T>
Factory to create a negation of the given filter.static <T> @NotNull Filter<T>
Factory to create a combinatorial disjunction-filter on the given arguments.Modifier and TypeMethodDescriptionstatic <T> @NotNull Filter<T>
Filter.Util.and
(@NotNull Collection<Filter<T>> f) Factory to create a combinatorial conjunction-filter on a given collection of filters.static <T> @NotNull Filter<T>
Filter.Util.or
(@NotNull Collection<Filter<T>> f) Factory to create a combinatorial disjunction-filter on a given collection of filters. -
Uses of Filter in de.espirit.firstspirit.access
Modifier and TypeMethodDescriptionUserService.getDeletedElementInfos
(long startRevisionId, int resultCount, Filter<ElementInfo> filter) Get a list of information objects for deleted elements matching the given filter. -
Uses of Filter in de.espirit.firstspirit.access.packagepool
Modifier and TypeMethodDescriptionPackageManager.getSubscriptions
(Filter<Subscription> filter) Returns a read-only collection of allSubscription
's which matches the given filter. -
Uses of Filter in de.espirit.firstspirit.access.project
Modifier and TypeMethodDescription@NotNull List<RemoteProjectConfiguration>
Project.getRemoteProjectConfigurations
(@Nullable Filter<RemoteProjectConfiguration> filter) Returns the list of remote project configurations for this project that pass the given filter.Project.getRevisions
(@NotNull Revision from, @NotNull Revision to, int maxCount, @Nullable Filter<Revision> filter) Returns a list of revisions in descending order. -
Uses of Filter in de.espirit.firstspirit.access.store
Modifier and TypeMethodDescriptionstatic StoreElementFilter
StoreElementFilter.create
(Filter<StoreElement> filter) static <T extends StoreElement>
StoreElementFilterStoreElementFilter.create
(Class<T> type, Filter<StoreElement> filter) -
Uses of Filter in de.espirit.firstspirit.agency
Modifier and TypeMethodDescription@NotNull Map<String,
RemoteProjectConfiguration> ProjectAgent.getRemoteProjectConfigurations
(@Nullable Filter<RemoteProjectConfiguration> remoteCondition) Get the configurations of remote projects defined. -
Uses of Filter in de.espirit.firstspirit.storage
Modifier and TypeFieldDescriptionRevisionFilter.CREATE_FILTER
This filter accepts all revisions withoperations
belonging to create operations (CreateOperation
,ContentOperation
withcreated entities
RevisionFilter.DELETE_FILTER
This filter accepts all revisions withoperations
belonging to delete operations (DeleteOperation
,ContentOperation
withdeleted entities
RevisionFilter.MODIFY_FILTER
This filter accepts all revisions withoperations
belonging to modify operations (ModifyOperation
,MoveOperation
,ContentOperation
withdeleted entities
RevisionFilter.RELEASE_FILTER
This filter accepts all revisions withoperations
belonging to release operations (ReleaseOperation
,ServerReleaseOperation
,ContentOperation
withreleased entities
Modifier and TypeMethodDescriptionRevisionFilter.createRevisionFilter
(RevisionOperation.OperationType... operationTypes) Returns a filter which accepts all revisions with arevision operation type
containing in given operationTypes.Modifier and TypeMethodDescriptionHistoryProvider.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.HistoryProvider.getHistory
(@NotNull Date before, @NotNull Date after, int maxCount, @Nullable Filter<Revision> filter) Returns a list of revisions of this store element in descending order.
All returned revisions are in the specified time range. -
Uses of Filter in de.espirit.firstspirit.store.access.nexport.operations
Modifier and TypeMethodDescriptionvoid
ImportOperation.setImportFilter
(@NotNull Filter<ImportElementInfo> filter) Sets a filter being used to decide upon elements to be imported. -
Uses of Filter in de.espirit.firstspirit.webedit.server
Modifier and TypeMethodDescriptionNewSectionOperation.filterAvailableTemplates
(Filter<SectionTemplate> filter) You may provide a filter to control which templates are available for the newSection
.