Uses of Class
org.craftercms.core.service.Item
-
-
Uses of Item in org.craftercms.core.controller.rest
Methods in org.craftercms.core.controller.rest that return Item Modifier and Type Method Description ItemContentStoreRestController. getItem(org.springframework.web.context.request.WebRequest request, javax.servlet.http.HttpServletResponse response, String contextId, String url, boolean flatten)Methods in org.craftercms.core.controller.rest that return types with arguments of type Item Modifier and Type Method Description List<Item>ContentStoreRestController. getChildren(org.springframework.web.context.request.WebRequest request, javax.servlet.http.HttpServletResponse response, String contextId, String url, boolean flatten) -
Uses of Item in org.craftercms.core.processors
Methods in org.craftercms.core.processors that return Item Modifier and Type Method Description ItemItemProcessor. process(Context context, CachingOptions cachingOptions, Item item)Processes anItem.Methods in org.craftercms.core.processors with parameters of type Item Modifier and Type Method Description ItemProcessorItemProcessorResolver. getProcessor(Item item)Returns aItemProcessorfor a givenItem.ItemItemProcessor. process(Context context, CachingOptions cachingOptions, Item item)Processes anItem. -
Uses of Item in org.craftercms.core.processors.impl
Methods in org.craftercms.core.processors.impl that return Item Modifier and Type Method Description protected ItemIncludeDescriptorsProcessor. getItemToInclude(Context context, CachingOptions cachingOptions, String includeSrcPath)ItemAbstractTaggingProcessor. process(Context context, CachingOptions cachingOptions, Item item)ItemAttributeAddingProcessor. process(Context context, CachingOptions cachingOptions, Item item)ItemFieldRenamingProcessor. process(Context context, CachingOptions cachingOptions, Item item)ItemIncludeDescriptorsProcessor. process(Context context, CachingOptions cachingOptions, Item item)Replaces special include tags found in a descriptor document with the document tree of descriptors specified in these include tags.ItemItemProcessorPipeline. process(Context context, CachingOptions cachingOptions, Item item)Processes the givenItem, by calling a pipeline of processors.ItemItemUrlTransformingProcessor. process(Context context, CachingOptions cachingOptions, Item item)ItemTextMetaDataCollectionExtractingProcessor. process(Context context, CachingOptions cachingOptions, Item item)For every XPath query provided inmetaDataNodesXPathQueries, a list of nodes is selected and for each one of these nodes its text value is extracted and added to a list that is later put in the item's properties.ItemTextMetaDataExtractingProcessor. process(Context context, CachingOptions cachingOptions, Item item)For every XPath query provided inmetaDataNodesXPathQueries, a single node is selected and its text value is extracted and put in the item's properties.Methods in org.craftercms.core.processors.impl with parameters of type Item Modifier and Type Method Description protected voidAbstractTaggingProcessor. addNewField(Item item, String values)Tags the item adding the new field with the specified values.protected voidIncludeDescriptorsProcessor. doInclude(Item item, org.dom4j.Element includeElement, Item itemToInclude)protected abstract StringAbstractTaggingProcessor. getTagValues(Item item)If this method returns null or an empty string the item will not be tagged.protected StringTaggingByFieldValueProcessor. getTagValues(Item item)protected StringTaggingByPathProcessor. getTagValues(Item item)protected voidIncludeDescriptorsProcessor. includeDescriptors(Context context, CachingOptions cachingOptions, Item item)ItemAbstractTaggingProcessor. process(Context context, CachingOptions cachingOptions, Item item)ItemAttributeAddingProcessor. process(Context context, CachingOptions cachingOptions, Item item)ItemFieldRenamingProcessor. process(Context context, CachingOptions cachingOptions, Item item)ItemIncludeDescriptorsProcessor. process(Context context, CachingOptions cachingOptions, Item item)Replaces special include tags found in a descriptor document with the document tree of descriptors specified in these include tags.ItemItemProcessorPipeline. process(Context context, CachingOptions cachingOptions, Item item)Processes the givenItem, by calling a pipeline of processors.ItemItemUrlTransformingProcessor. process(Context context, CachingOptions cachingOptions, Item item)ItemTextMetaDataCollectionExtractingProcessor. process(Context context, CachingOptions cachingOptions, Item item)For every XPath query provided inmetaDataNodesXPathQueries, a list of nodes is selected and for each one of these nodes its text value is extracted and added to a list that is later put in the item's properties.ItemTextMetaDataExtractingProcessor. process(Context context, CachingOptions cachingOptions, Item item)For every XPath query provided inmetaDataNodesXPathQueries, a single node is selected and its text value is extracted and put in the item's properties. -
Uses of Item in org.craftercms.core.processors.impl.resolvers
Methods in org.craftercms.core.processors.impl.resolvers with parameters of type Item 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. -
Uses of Item in org.craftercms.core.processors.impl.template
Methods in org.craftercms.core.processors.impl.template that return Item Modifier and Type Method Description ItemTemplateProcessor. process(Context context, CachingOptions cachingOptions, Item item)Processes the content of certain nodes (found by theNodeScannerin the item's descriptor as templates, by compiling the node text templates through thetemplateCompilerand then processing the compiled template with a model returned bymodelFactory.Methods in org.craftercms.core.processors.impl.template with parameters of type Item Modifier and Type Method Description ObjectBeanFactoryModelFactory. getModel(Item item, org.dom4j.Node node, String template)Returns always theBeanFactoryof the current Spring application context as the model.ObjectNodeTemplateModelFactory. getModel(Item item, org.dom4j.Node node, String template)Returns the model for a given template of a given node.ItemTemplateProcessor. process(Context context, CachingOptions cachingOptions, Item item)Processes the content of certain nodes (found by theNodeScannerin the item's descriptor as templates, by compiling the node text templates through thetemplateCompilerand then processing the compiled template with a model returned bymodelFactory. -
Uses of Item in org.craftercms.core.service
Subclasses of Item in org.craftercms.core.service Modifier and Type Class Description classTreeFolderItemthat also contains it's children.Fields in org.craftercms.core.service with type parameters of type Item Modifier and Type Field Description protected List<Item>Tree. childrenThe folder's children.Methods in org.craftercms.core.service that return Item Modifier and Type Method Description default ItemContentStoreService. findItem(Context context, String url)Returns the content store item for the given url, returning null if not 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 ItemContentStoreService. getItem(Context context, String url)Returns the content store item for 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.Methods in org.craftercms.core.service that return types with arguments of type Item Modifier and Type Method Description default List<Item>ContentStoreService. findChildren(Context context, String url)Returns the children of the folder at the given url, returning null if the folder can't be found.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 List<Item>ContentStoreService. getChildren(Context context, String url)Returns the children of the folder at the given url.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.List<Item>Tree. getChildren()Returns the tree's children.Methods in org.craftercms.core.service with parameters of type Item Modifier and Type Method Description booleanItemFilter. accepts(Item item, List<Item> acceptedItems, List<Item> rejectedItems, boolean runningBeforeProcessing)Return true if the given item is accepted by the filter.voidTree. addChild(Item child)Adds a child.booleanTree. removeChild(Item child)Removes a child.Method parameters in org.craftercms.core.service with type arguments of type Item Modifier and Type Method Description booleanItemFilter. accepts(Item item, List<Item> acceptedItems, List<Item> rejectedItems, boolean runningBeforeProcessing)Return true if the given item is accepted by the filter.voidTree. setChildren(List<Item> children)Sets the tree's children.Constructors in org.craftercms.core.service with parameters of type Item Constructor Description Item(Item item)Copy constructor.Item(Item item, boolean deepCopy)Copy constructor.Tree(Item item)Copy constructor that takes an item and calls theItem(Item).Tree(Item item, boolean deepCopy)Copy constructor that takes an item and calls theItem(Item, boolean). -
Uses of Item in org.craftercms.core.service.impl
Methods in org.craftercms.core.service.impl that return Item Modifier and Type Method Description 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 ItemContentStoreServiceImpl. doMerging(Context context, CachingOptions cachingOptions, Item item)Executes merging for the specifiedItem:protected ItemContentStoreServiceImpl. doProcessing(Context context, CachingOptions cachingOptions, Item item, ItemProcessor additionalProcessor)Executes processing for the specifiedItem:ItemAbstractCachedContentStoreService. findItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor, boolean flatten)ItemAbstractCachedContentStoreService. getItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor, boolean flatten)Methods in org.craftercms.core.service.impl that return types with arguments of type Item Modifier and Type Method Description 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)List<Item>AbstractCachedContentStoreService. findChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten)List<Item>AbstractCachedContentStoreService. getChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten)Methods in org.craftercms.core.service.impl with parameters of type Item Modifier and Type Method Description booleanCompositeItemFilter. accepts(Item item, List<Item> acceptedItems, List<Item> rejectedItems, boolean runningBeforeProcessing)IfrunningBeforeProcessingis true, calls all filters that need to be run before processing.booleanExcludeByUrlItemFilter. accepts(Item item, List<Item> acceptedItems, List<Item> rejectedItems, boolean runningBeforeProcessing)booleanIncludeByUrlItemFilter. accepts(Item item, List<Item> acceptedItems, List<Item> rejectedItems, boolean runningBeforeProcessing)protected ItemContentStoreServiceImpl. doMerging(Context context, CachingOptions cachingOptions, Item item)Executes merging for the specifiedItem:protected ItemContentStoreServiceImpl. doProcessing(Context context, CachingOptions cachingOptions, Item item, ItemProcessor additionalProcessor)Executes processing for the specifiedItem:Method parameters in org.craftercms.core.service.impl with type arguments of type Item Modifier and Type Method Description booleanCompositeItemFilter. accepts(Item item, List<Item> acceptedItems, List<Item> rejectedItems, boolean runningBeforeProcessing)IfrunningBeforeProcessingis true, calls all filters that need to be run before processing.booleanExcludeByUrlItemFilter. accepts(Item item, List<Item> acceptedItems, List<Item> rejectedItems, boolean runningBeforeProcessing)booleanIncludeByUrlItemFilter. accepts(Item item, List<Item> acceptedItems, List<Item> rejectedItems, boolean runningBeforeProcessing)protected List<Item>ContentStoreServiceImpl. doFilter(List<Item> items, ItemFilter filter, boolean runningBeforeProcessing)Filters the given list of items by using the specified filter. -
Uses of Item in org.craftercms.core.store
Methods in org.craftercms.core.store that return Item Modifier and Type Method Description ItemContentStoreAdapter. findItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor)Methods in org.craftercms.core.store that return types with arguments of type Item Modifier and Type Method Description List<Item>ContentStoreAdapter. findItems(Context context, CachingOptions cachingOptions, String path) -
Uses of Item in org.craftercms.core.store.impl
Methods in org.craftercms.core.store.impl that return Item Modifier and Type Method Description protected abstract ItemAbstractCachedContentStoreAdapter. doFindItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor)protected ItemAbstractFileBasedContentStoreAdapter. doFindItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor)ItemAbstractCachedContentStoreAdapter. findItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor)Methods in org.craftercms.core.store.impl that return types with arguments of type Item Modifier and Type Method Description protected abstract List<Item>AbstractCachedContentStoreAdapter. doFindItems(Context context, CachingOptions cachingOptions, String path)protected List<Item>AbstractFileBasedContentStoreAdapter. doFindItems(Context context, CachingOptions cachingOptions, String path)List<Item>AbstractCachedContentStoreAdapter. findItems(Context context, CachingOptions cachingOptions, String path)
-