Uses of Interface
org.craftercms.core.processors.ItemProcessor
-
-
Uses of ItemProcessor in org.craftercms.core.processors
Methods in org.craftercms.core.processors that return ItemProcessor Modifier and Type Method Description ItemProcessorItemProcessorResolver. getProcessor(Item item)Returns aItemProcessorfor a givenItem. -
Uses of ItemProcessor in org.craftercms.core.processors.impl
Classes in org.craftercms.core.processors.impl that implement ItemProcessor Modifier and Type Class Description classAbstractTaggingProcessorBaseItemProcessorto add a new field to documents.classAttributeAddingProcessorCreated by alfonso on 2/21/17.classFieldRenamingProcessorCreated by alfonso on 2/21/17.classIncludeDescriptorsProcessorItemProcessorthat finds special "include" tags found in a descriptor document and inserts there the document tree of descriptors specified in these "include" tags.classItemProcessorPipelinePipeline ofItemProcessors.classItemUrlTransformingProcessorItemProcessorthat takes the item url, transforms it by calling the transformation engine, and places the transformed url in the properties.classPageAwareIncludeDescriptorsProcessorExtension ofIncludeDescriptorsProcessorthat prevents pages from being included whendisablePageInclusionis true.classTaggingByFieldValueProcessorItemProcessorthat adds a new tag or field to items that have a certain tag/field and value.classTaggingByPathProcessorItemProcessorthat adds a new tag or field to items on specific paths.classTextMetaDataCollectionExtractingProcessorItemProcessorthat extracts a list of text values from descriptor XPath-selected nodes and sets them as the properties of the item.classTextMetaDataExtractingProcessorItemProcessorthat extracts single text values from descriptor XPath-selected nodes and sets them as the properties of the item.Fields in org.craftercms.core.processors.impl declared as ItemProcessor Modifier and Type Field Description protected ItemProcessorIncludeDescriptorsProcessor. includedItemsProcessorProcessor to use for included items.Fields in org.craftercms.core.processors.impl with type parameters of type ItemProcessor Modifier and Type Field Description protected List<ItemProcessor>ItemProcessorPipeline. processorsList of processors which conforms the pipelineMethods in org.craftercms.core.processors.impl with parameters of type ItemProcessor Modifier and Type Method Description voidItemProcessorPipeline. addProcessor(ItemProcessor processor)Adds a processor to the pipeline of processors.booleanItemProcessorPipeline. removeProcessor(ItemProcessor processor)Removes a processor from the pipeline of processors.voidIncludeDescriptorsProcessor. setIncludedItemsProcessor(ItemProcessor includedItemsProcessor)Sets the processor to use for included items.Method parameters in org.craftercms.core.processors.impl with type arguments of type ItemProcessor Modifier and Type Method Description voidItemProcessorPipeline. addProcessors(Collection<ItemProcessor> processors)Adds several processors to the pipeline of processors.voidItemProcessorPipeline. setProcessors(List<ItemProcessor> processors)Sets the list of processors.Constructors in org.craftercms.core.processors.impl with parameters of type ItemProcessor Constructor Description ItemProcessorPipeline(ItemProcessor... processors)Constructor that receives the list of processors (as an array) which conform the pipeline.Constructor parameters in org.craftercms.core.processors.impl with type arguments of type ItemProcessor Constructor Description ItemProcessorPipeline(List<ItemProcessor> processors)Constructor that receives the list of processors which conform the pipeline. -
Uses of ItemProcessor in org.craftercms.core.processors.impl.resolvers
Fields in org.craftercms.core.processors.impl.resolvers declared as ItemProcessor Modifier and Type Field Description protected ItemProcessorItemProcessorResolverChain. defaultProcessorThe default processor to use if no resolver returns a processor.Fields in org.craftercms.core.processors.impl.resolvers with type parameters of type ItemProcessor Modifier and Type Field Description protected Map<String,ItemProcessor>MetaDataProcessorResolver. elementValueToProcessorMappingsMappings of processor element values to processor names.protected Map<String,ItemProcessor>UrlPatternProcessorResolver. patternToProcessorMappingsMappings of url patterns to processor names.Methods in org.craftercms.core.processors.impl.resolvers that return ItemProcessor Modifier and Type Method Description ItemProcessorItemProcessorResolverChain. getProcessor(Item item)Returns theItemProcessorto use for the given item.ItemProcessorMetaDataProcessorResolver. getProcessor(Item item)Looks for the processor element (by querying it with theprocessorElementXPathQuery) in the item's descriptor.ItemProcessorSingleProcessorResolver. getProcessor(Item item)Returns the same processor for any item.ItemProcessorUrlPatternProcessorResolver. getProcessor(Item item)If the item url matches one of the patterns defined inpatternToProcessorMappings, the processor mapped to that pattern is returned.Methods in org.craftercms.core.processors.impl.resolvers with parameters of type ItemProcessor Modifier and Type Method Description voidItemProcessorResolverChain. setDefaultProcessor(ItemProcessor defaultProcessor)Sets the default to use if no resolver returns a processor.voidSingleProcessorResolver. setProcessor(ItemProcessor processor)Sets the processor to always return.Method parameters in org.craftercms.core.processors.impl.resolvers with type arguments of type ItemProcessor Modifier and Type Method Description voidMetaDataProcessorResolver. setElementValueToProcessorMappings(Map<String,ItemProcessor> elementValueToProcessorMappings)Sets the mappings of processor element values to processor names.voidUrlPatternProcessorResolver. setPatternToProcessorMappings(Map<String,ItemProcessor> patternToProcessorMappings)Sets the mappings of url patterns to processor names. -
Uses of ItemProcessor in org.craftercms.core.processors.impl.template
Classes in org.craftercms.core.processors.impl.template that implement ItemProcessor Modifier and Type Class Description classTemplateProcessorItemProcessorthat processes the content of certain XML nodes in item descriptors as templates. -
Uses of ItemProcessor in org.craftercms.core.service
Methods in org.craftercms.core.service with parameters of type ItemProcessor 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 ItemContentStoreService. findItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor)Returns the content store item for the given url, returning null if not found.ItemContentStoreService. findItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor, boolean flatten)Returns the content store item for the given url, returning null if not 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 ItemContentStoreService. getItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor)Returns the content store item for the given url.ItemContentStoreService. getItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor, boolean flatten)Returns the content store item for 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 ItemProcessor in org.craftercms.core.service.impl
Fields in org.craftercms.core.service.impl declared as ItemProcessor Modifier and Type Field Description protected ItemProcessorAbstractCachedContentStoreService. flatteningProcessorItem processor used for flattening descriptorsMethods in org.craftercms.core.service.impl that return ItemProcessor Modifier and Type Method Description protected ItemProcessorAbstractCachedContentStoreService. getProcessor(ItemProcessor processor, boolean flatten)Methods in org.craftercms.core.service.impl with parameters of type ItemProcessor Modifier and Type Method Description 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 ItemAbstractCachedContentStoreService. doFindItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor)protected ItemContentStoreServiceImpl. doFindItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor)Returns the content store item for the given url, returning null if not found.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)protected ItemContentStoreServiceImpl. doProcessing(Context context, CachingOptions cachingOptions, Item item, ItemProcessor additionalProcessor)Executes processing for the specifiedItem:List<Item>AbstractCachedContentStoreService. findChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten)ItemAbstractCachedContentStoreService. findItem(Context context, CachingOptions cachingOptions, String url, 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)ItemAbstractCachedContentStoreService. getItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor, boolean flatten)protected ItemProcessorAbstractCachedContentStoreService. getProcessor(ItemProcessor processor, boolean flatten)TreeAbstractCachedContentStoreService. getTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten)voidAbstractCachedContentStoreService. setFlatteningProcessor(ItemProcessor flatteningProcessor)
-