Uses of Interface
org.craftercms.core.service.ItemFilter
Packages that use ItemFilter
-
Uses of ItemFilter in org.craftercms.core.service
Methods in org.craftercms.core.service with parameters of type ItemFilterModifier and TypeMethodDescriptionContentStoreService.findChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor) Returns the children of the folder at the given url, returning null if the folder can't be found.ContentStoreService.findChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten) Returns the children of the folder at the given url, returning null if the folder can't be found.default TreeContentStoreService.findTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor) Returns the folder at the given url as a tree, or null if the folder wasn't found.ContentStoreService.findTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten) Returns the folder at the given url as a tree, or null if the folder wasn't found.ContentStoreService.getChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor) Returns the children of the folder at the given url.ContentStoreService.getChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten) Returns the children of the folder at the given url.default TreeContentStoreService.getTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor) Returns the folder at the given url as a tree.ContentStoreService.getTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten) Returns the folder at the given url as a tree. -
Uses of ItemFilter in org.craftercms.core.service.impl
Classes in org.craftercms.core.service.impl that implement ItemFilterModifier and TypeClassDescriptionclassCompositeItemFilterimplementation.classItemFilterthat rejects an item if its URL matches any one of a list of regexes.classItemFilterthat rejects an item if its URL doesn't match any one of a list of regexes.Methods in org.craftercms.core.service.impl with parameters of type ItemFilterModifier and TypeMethodDescriptionvoidCompositeItemFilter.addFilter(ItemFilter filter) Adds the specifiedItemFilterto the filter list, creating the list if necessary.ContentStoreServiceImpl.doFilter(List<Item> items, ItemFilter filter, boolean runningBeforeProcessing) Filters the given list of items by using the specified filter.AbstractCachedContentStoreService.doFindChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten) ContentStoreServiceImpl.doFindChildren(Context context, CachingOptions cachingOptions, String url, Integer depth, ItemFilter filter, ItemProcessor processor, boolean flatten) Does the following: Retrieves the children from the underlying repository (without their descriptors). Filters the returned list ifrunBeforeProcessing()returnstrue. CallsContentStoreService.getTree(Context, String)orContentStoreService.getItem(Context, String)for each item in the list (depending on whether the item is a folder or not, and ifdepthis not null), to obtain the merged and processed version of each item. Filters the processed list ifrunAfterProcessing()returnstrue. Returns the final list of processed items.ContentStoreServiceImpl.doFindChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten) protected abstract TreeAbstractCachedContentStoreService.doFindTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten) protected TreeContentStoreServiceImpl.doFindTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten) AbstractCachedContentStoreService.findChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten) AbstractCachedContentStoreService.findTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten) AbstractCachedContentStoreService.getChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten) AbstractCachedContentStoreService.getTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten) booleanCompositeItemFilter.removeFilter(ItemFilter filter) Removes the specifiedItemFilterfrom the filter list, only if the list is notnull.Method parameters in org.craftercms.core.service.impl with type arguments of type ItemFilterModifier and TypeMethodDescriptionvoidCompositeItemFilter.setFilters(List<ItemFilter> filters) Sets the list of filters.Constructors in org.craftercms.core.service.impl with parameters of type ItemFilterModifierConstructorDescriptionCompositeItemFilter(ItemFilter... filters) Creates a composite filter with the specified array ofItemFilters.Constructor parameters in org.craftercms.core.service.impl with type arguments of type ItemFilterModifierConstructorDescriptionCompositeItemFilter(List<ItemFilter> filters) Creates a composite filter with the specified list ofItemFilters.