Uses of Interface
org.craftercms.core.service.ItemFilter
-
Packages that use ItemFilter Package Description org.craftercms.core.service org.craftercms.core.service.impl -
-
Uses of ItemFilter in org.craftercms.core.service
Methods in org.craftercms.core.service with parameters of type ItemFilter Modifier and Type Method Description default List<Item>ContentStoreService. 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.List<Item>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.TreeContentStoreService. 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.default List<Item>ContentStoreService. getChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor)Returns the children of the folder at the given url.List<Item>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.TreeContentStoreService. 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 ItemFilter Modifier and Type Class Description classCompositeItemFilterCompositeItemFilterimplementation.classExcludeByUrlItemFilterItemFilterthat rejects an item if its URL matches any one of a list of regexes.classIncludeByUrlItemFilterItemFilterthat 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 ItemFilter Modifier and Type Method Description voidCompositeItemFilter. addFilter(ItemFilter filter)Adds the specifiedItemFilterto the filter list, creating the list if necessary.protected List<Item>ContentStoreServiceImpl. doFilter(List<Item> items, ItemFilter filter, boolean runningBeforeProcessing)Filters the given list of items by using the specified filter.protected abstract List<Item>AbstractCachedContentStoreService. doFindChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten)protected List<Item>ContentStoreServiceImpl. doFindChildren(Context context, CachingOptions cachingOptions, String url, Integer depth, ItemFilter filter, ItemProcessor processor, boolean flatten)Does the following:protected List<Item>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)List<Item>AbstractCachedContentStoreService. findChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten)TreeAbstractCachedContentStoreService. findTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten)List<Item>AbstractCachedContentStoreService. getChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten)TreeAbstractCachedContentStoreService. 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 ItemFilter Modifier and Type Method Description voidCompositeItemFilter. setFilters(List<ItemFilter> filters)Sets the list of filters.Constructors in org.craftercms.core.service.impl with parameters of type ItemFilter Constructor Description CompositeItemFilter(ItemFilter... filters)Creates a composite filter with the specified array ofItemFilters.Constructor parameters in org.craftercms.core.service.impl with type arguments of type ItemFilter Constructor Description CompositeItemFilter(List<ItemFilter> filters)Creates a composite filter with the specified list ofItemFilters.
-