Uses of Class
org.craftercms.core.service.CachingOptions
-
-
Uses of CachingOptions in org.craftercms.core.processors
Methods in org.craftercms.core.processors with parameters of type CachingOptions Modifier and Type Method Description ItemItemProcessor. process(Context context, CachingOptions cachingOptions, Item item)Processes anItem. -
Uses of CachingOptions in org.craftercms.core.processors.impl
Methods in org.craftercms.core.processors.impl with parameters of type CachingOptions Modifier and Type Method Description protected ItemIncludeDescriptorsProcessor. getItemToInclude(Context context, CachingOptions cachingOptions, String includeSrcPath)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 CachingOptions in org.craftercms.core.processors.impl.template
Methods in org.craftercms.core.processors.impl.template with parameters of type CachingOptions 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. -
Uses of CachingOptions in org.craftercms.core.service
Fields in org.craftercms.core.service declared as CachingOptions Modifier and Type Field Description static CachingOptionsCachingOptions. CACHE_OFF_CACHING_OPTIONSstatic CachingOptionsCachingOptions. DEFAULT_CACHING_OPTIONSMethods in org.craftercms.core.service with parameters of type CachingOptions Modifier and Type Method Description booleanContentStoreService. exists(Context context, CachingOptions cachingOptions, String url)Returns true if the file or folder at the specified URL existsdefault 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.ContentContentStoreService. findContent(Context context, CachingOptions cachingOptions, String url)Returns the content of the file 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 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.ContentContentStoreService. getContent(Context context, CachingOptions cachingOptions, String url)Returns the content of the file 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.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.voidCacheService. put(Context context, Object key, Object value, CachingOptions cachingOptions, CacheLoader loader, Object... loaderParams)Puts and item in the scope of the given context. -
Uses of CachingOptions in org.craftercms.core.service.impl
Fields in org.craftercms.core.service.impl declared as CachingOptions Modifier and Type Field Description protected CachingOptionsAbstractCachedContentStoreService. defaultCachingOptionsThe default caching options to use when none are specified in the method.Methods in org.craftercms.core.service.impl with parameters of type CachingOptions Modifier and Type Method Description protected abstract booleanAbstractCachedContentStoreService. doExists(Context context, CachingOptions cachingOptions, String url)booleanContentStoreServiceImpl. doExists(Context context, CachingOptions cachingOptions, String url)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. 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:booleanAbstractCachedContentStoreService. exists(Context context, CachingOptions cachingOptions, String url)List<Item>AbstractCachedContentStoreService. findChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten)ContentContentStoreServiceImpl. findContent(Context context, CachingOptions cachingOptions, String url)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)ContentContentStoreServiceImpl. getContent(Context context, CachingOptions cachingOptions, String url)Returns the content of the file for the given url.ItemAbstractCachedContentStoreService. getItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor, boolean flatten)TreeAbstractCachedContentStoreService. getTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten)voidCacheServiceImpl. put(Context context, Object key, Object value, CachingOptions cachingOptions, CacheLoader loader, Object... loaderParams)voidAbstractCachedContentStoreService. setDefaultCachingOptions(CachingOptions defaultCachingOptions)Sets the default caching options to use when none are specified in the method. -
Uses of CachingOptions in org.craftercms.core.store
Methods in org.craftercms.core.store with parameters of type CachingOptions Modifier and Type Method Description booleanContentStoreAdapter. exists(Context context, CachingOptions cachingOptions, String path)ContentContentStoreAdapter. findContent(Context context, CachingOptions cachingOptions, String path)ItemContentStoreAdapter. findItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor)List<Item>ContentStoreAdapter. findItems(Context context, CachingOptions cachingOptions, String path) -
Uses of CachingOptions in org.craftercms.core.store.impl
Fields in org.craftercms.core.store.impl declared as CachingOptions Modifier and Type Field Description protected CachingOptionsAbstractCachedContentStoreAdapter. defaultCachingOptionsMethods in org.craftercms.core.store.impl with parameters of type CachingOptions Modifier and Type Method Description protected abstract booleanAbstractCachedContentStoreAdapter. doExists(Context context, CachingOptions cachingOptions, String path)booleanAbstractFileBasedContentStoreAdapter. doExists(Context context, CachingOptions cachingOptions, String path)protected abstract ContentAbstractCachedContentStoreAdapter. doFindContent(Context context, CachingOptions cachingOptions, String path)protected ContentAbstractFileBasedContentStoreAdapter. doFindContent(Context context, CachingOptions cachingOptions, String path)protected abstract ItemAbstractCachedContentStoreAdapter. doFindItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor)protected ItemAbstractFileBasedContentStoreAdapter. doFindItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor)protected abstract List<Item>AbstractCachedContentStoreAdapter. doFindItems(Context context, CachingOptions cachingOptions, String path)protected List<Item>AbstractFileBasedContentStoreAdapter. doFindItems(Context context, CachingOptions cachingOptions, String path)booleanAbstractCachedContentStoreAdapter. exists(Context context, CachingOptions cachingOptions, String path)ContentAbstractCachedContentStoreAdapter. findContent(Context context, CachingOptions cachingOptions, String path)protected abstract FileAbstractFileBasedContentStoreAdapter. findFile(Context context, CachingOptions cachingOptions, String path)Returns theFileat the given path, returning null if not found.ItemAbstractCachedContentStoreAdapter. findItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor)List<Item>AbstractCachedContentStoreAdapter. findItems(Context context, CachingOptions cachingOptions, String path)protected abstract List<File>AbstractFileBasedContentStoreAdapter. getChildren(Context context, CachingOptions cachingOptions, File dir)Returns the list of children of the given directory.protected abstract ContentAbstractFileBasedContentStoreAdapter. getContent(Context context, CachingOptions cachingOptions, File file)Returns theContentfor the given file.voidAbstractCachedContentStoreAdapter. setDefaultCachingOptions(CachingOptions defaultCachingOptions) -
Uses of CachingOptions in org.craftercms.core.store.impl.filesystem
Methods in org.craftercms.core.store.impl.filesystem with parameters of type CachingOptions Modifier and Type Method Description protected FileFileSystemContentStoreAdapter. findFile(Context context, CachingOptions cachingOptions, String path)protected List<File>FileSystemContentStoreAdapter. getChildren(Context context, CachingOptions cachingOptions, File dir)protected ContentFileSystemContentStoreAdapter. getContent(Context context, CachingOptions cachingOptions, File file) -
Uses of CachingOptions in org.craftercms.core.url
Methods in org.craftercms.core.url with parameters of type CachingOptions Modifier and Type Method Description StringUrlTransformationEngine. transformUrl(Context context, CachingOptions cachingOptions, String transformerName, String url)StringUrlTransformer. transformUrl(Context context, CachingOptions cachingOptions, String url) -
Uses of CachingOptions in org.craftercms.core.url.impl
Methods in org.craftercms.core.url.impl with parameters of type CachingOptions Modifier and Type Method Description protected abstract StringAbstractCachedUrlTransformationEngine. doTransformUrl(Context context, CachingOptions cachingOptions, String transformerName, String url)protected StringUrlTransformationEngineImpl. doTransformUrl(Context context, CachingOptions cachingOptions, String transformerName, String url)protected StringShortToLongUrlTransformer. getLongName(Context context, CachingOptions cachingOptions, String folderPath, String shortName)protected StringShortToLongUrlTransformer. getLongUrl(Context context, CachingOptions cachingOptions, String shortUrl, boolean useShortNameIfLongNameNotFound)StringAbstractCachedUrlTransformationEngine. transformUrl(Context context, CachingOptions cachingOptions, String transformerName, String url)StringAddContextPathUrlTransformer. transformUrl(Context context, CachingOptions cachingOptions, String url)StringAddDebugParamUrlTransformer. transformUrl(Context context, CachingOptions cachingOptions, String url)StringAddPrefixAndSuffixUrlTransformer. transformUrl(Context context, CachingOptions cachingOptions, String url)StringAddSchemeAndDomainAndServerPortUrlTransformer. transformUrl(Context context, CachingOptions cachingOptions, String url)StringAddServletPathUrlTransformer. transformUrl(Context context, CachingOptions cachingOptions, String url)StringContentBundleShortToLongUrlTransformer. transformUrl(Context context, CachingOptions cachingOptions, String url)StringExtractRequestAttributesUrlTransformer. transformUrl(Context context, CachingOptions cachingOptions, String url)StringLongToShortUrlTransformer. transformUrl(Context context, CachingOptions cachingOptions, String url)StringRemovePrefixAndSuffixUrlTransformer. transformUrl(Context context, CachingOptions cachingOptions, String url)StringReplacePatternAllUrlTransformer. transformUrl(Context context, CachingOptions cachingOptions, String url)StringReplaceSubstringUrlTransformer. transformUrl(Context context, CachingOptions cachingOptions, String url)StringShortToLongUrlTransformer. transformUrl(Context context, CachingOptions cachingOptions, String url)StringUrlTransformerPipeline. transformUrl(Context context, CachingOptions cachingOptions, String url) -
Uses of CachingOptions in org.craftercms.core.util.cache
Methods in org.craftercms.core.util.cache with parameters of type CachingOptions Modifier and Type Method Description <T> TCacheTemplate. getObject(Context context, CachingOptions cachingOptions, org.craftercms.commons.lang.Callback<T> callback, Object... keyElements)Executes the template, using the specified callback to load the object to cache, if it's not already in the cache. -
Uses of CachingOptions in org.craftercms.core.util.cache.impl
Methods in org.craftercms.core.util.cache.impl with parameters of type CachingOptions Modifier and Type Method Description protected <T> TDefaultCacheTemplate. doPut(Context context, CachingOptions cachingOptions, org.craftercms.commons.lang.Callback<T> callback, Object key, T obj)<T> TDefaultCacheTemplate. getObject(Context context, CachingOptions cachingOptions, org.craftercms.commons.lang.Callback<T> callback, Object... keyElements)protected <T> TDefaultCacheTemplate. loadAndPutInCache(Context context, CachingOptions cachingOptions, org.craftercms.commons.lang.Callback<T> callback, Object key) -
Uses of CachingOptions in org.craftercms.core.xml.mergers
Methods in org.craftercms.core.xml.mergers with parameters of type CachingOptions Modifier and Type Method Description List<MergeableDescriptor>DescriptorMergeStrategy. getDescriptors(Context context, CachingOptions cachingOptions, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom)Returns the list of descriptors in the order they should be merged, given the URI of the primary descriptor.List<MergeableDescriptor>DescriptorMergeStrategy. getDescriptors(Context context, CachingOptions cachingOptions, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom, boolean mainDescriptorOptional)Returns the list of descriptors in the order they should be merged, given the URI of the primary descriptor. -
Uses of CachingOptions in org.craftercms.core.xml.mergers.impl.strategies
Methods in org.craftercms.core.xml.mergers.impl.strategies with parameters of type CachingOptions Modifier and Type Method Description protected abstract voidAbstractInheritFromHierarchyMergeStrategy. addInheritedDescriptorsInFolder(Context context, CachingOptions cachingOptions, List<MergeableDescriptor> inheritedDescriptors, String folder, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom)protected voidCompositeInheritFromHierarchyMergeStrategy. addInheritedDescriptorsInFolder(Context context, CachingOptions cachingOptions, List<MergeableDescriptor> inheritedDescriptors, String folder, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom)protected voidInheritLevelsMergeStrategy. addInheritedDescriptorsInFolder(Context context, CachingOptions cachingOptions, List<MergeableDescriptor> inheritedDescriptors, String folder, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom)protected voidInheritVersionsMergeStrategy. addInheritedDescriptorsInFolder(Context context, CachingOptions cachingOptions, List<MergeableDescriptor> inheritedDescriptors, String folder, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom)protected org.dom4j.DocumentContentBundleMergeStrategy. getDescriptorDom(Context context, CachingOptions cachingOptions, String url)protected org.dom4j.DocumentExplicitParentMergeStrategy. getDescriptorDom(Context context, CachingOptions cachingOptions, String url)List<MergeableDescriptor>AbstractInheritFromHierarchyMergeStrategy. getDescriptors(Context context, CachingOptions cachingOptions, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom)List<MergeableDescriptor>AbstractInheritFromHierarchyMergeStrategy. getDescriptors(Context context, CachingOptions cachingOptions, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom, boolean mainDescriptorOptional)List<MergeableDescriptor>ContentBundleMergeStrategy. getDescriptors(Context context, CachingOptions cachingOptions, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom)List<MergeableDescriptor>ContentBundleMergeStrategy. getDescriptors(Context context, CachingOptions cachingOptions, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom, boolean mainDescriptorOptional)List<MergeableDescriptor>ExplicitParentMergeStrategy. getDescriptors(Context context, CachingOptions cachingOptions, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom)List<MergeableDescriptor>ExplicitParentMergeStrategy. getDescriptors(Context context, CachingOptions cachingOptions, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom, boolean mainDescriptorOptional)List<MergeableDescriptor>SingleFileMergeStrategy. getDescriptors(Context context, CachingOptions cachingOptions, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom)List<MergeableDescriptor>SingleFileMergeStrategy. getDescriptors(Context context, CachingOptions cachingOptions, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom, boolean mainDescriptorOptional)
-