Uses of Interface
de.espirit.common.util.Filter
Packages that use Filter
Package
Description
-
Uses of Filter in de.espirit.common
Classes in de.espirit.common that implement FilterModifier 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.Methods in de.espirit.common with parameters of type FilterModifier 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
Subinterfaces of Filter in de.espirit.common.utilModifier and TypeInterfaceDescriptionstatic interface
Extension to a filter definition that provides the element in question as type safe object, if the filter accepted it.Classes in de.espirit.common.util that implement FilterModifier 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.Methods in de.espirit.common.util that return FilterModifier 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.Methods in de.espirit.common.util with parameters of type FilterModifier 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.Method parameters in de.espirit.common.util with type arguments of type FilterModifier 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
Methods in de.espirit.firstspirit.access with parameters of type FilterModifier 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
Methods in de.espirit.firstspirit.access.packagepool with parameters of type FilterModifier 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
Methods in de.espirit.firstspirit.access.project with parameters of type FilterModifier 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
Classes in de.espirit.firstspirit.access.store that implement FilterMethods in de.espirit.firstspirit.access.store with parameters of type FilterModifier 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
Methods in de.espirit.firstspirit.agency with parameters of type FilterModifier 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
Fields in de.espirit.firstspirit.storage declared as FilterModifier 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
Methods in de.espirit.firstspirit.storage that return FilterModifier and TypeMethodDescriptionRevisionFilter.createRevisionFilter
(RevisionOperation.OperationType... operationTypes) Returns a filter which accepts all revisions with arevision operation type
containing in given operationTypes.Methods in de.espirit.firstspirit.storage with parameters of type FilterModifier 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
Methods in de.espirit.firstspirit.store.access.nexport.operations with parameters of type FilterModifier 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
Methods in de.espirit.firstspirit.webedit.server with parameters of type FilterModifier and TypeMethodDescriptionNewSectionOperation.filterAvailableTemplates
(Filter<SectionTemplate> filter) You may provide a filter to control which templates are available for the newSection
.