A B C D E F G H I K L M N O P Q R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractCachedContentStoreAdapter - Class in org.craftercms.core.store.impl
-
Abstract
ContentStoreAdapter
that provides caching to actual implementations. - AbstractCachedContentStoreAdapter() - Constructor for class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- AbstractCachedContentStoreService - Class in org.craftercms.core.service.impl
-
Abstract
ContentStoreService
that provides caching to actual implementations. - AbstractCachedContentStoreService(CacheTemplate) - Constructor for class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- AbstractCachedUrlTransformationEngine - Class in org.craftercms.core.url.impl
-
Class description goes HERE
- AbstractCachedUrlTransformationEngine() - Constructor for class org.craftercms.core.url.impl.AbstractCachedUrlTransformationEngine
- AbstractCachingAwareObject - Class in org.craftercms.core.util.cache.impl
-
Base abstract implementation of
CachingAwareObject
- AbstractCachingAwareObject() - Constructor for class org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
- AbstractCachingAwareObject(CachingAwareObject) - Constructor for class org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
- AbstractFileBasedContentStoreAdapter - Class in org.craftercms.core.store.impl
-
File-based content store adapter.
- AbstractFileBasedContentStoreAdapter() - Constructor for class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- AbstractInheritFromHierarchyMergeStrategy - Class in org.craftercms.core.xml.mergers.impl.strategies
-
Abstract
DescriptorMergeStrategy
that defines the base code for strategies that decide which descriptors to "inherit" from upper levels in the folder hierarchy. - AbstractInheritFromHierarchyMergeStrategy() - Constructor for class org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
- AbstractMergeCue - Class in org.craftercms.core.xml.mergers.impl.cues.impl
-
Class description goes HERE
- AbstractMergeCue() - Constructor for class org.craftercms.core.xml.mergers.impl.cues.impl.AbstractMergeCue
- AbstractTaggingProcessor - Class in org.craftercms.core.processors.impl
-
Base
ItemProcessor
to add a new field to documents. - AbstractTaggingProcessor() - Constructor for class org.craftercms.core.processors.impl.AbstractTaggingProcessor
- accepts(Item, List<Item>, List<Item>, boolean) - Method in class org.craftercms.core.service.impl.CompositeItemFilter
-
If
runningBeforeProcessing
is true, calls all filters that need to be run before processing. - accepts(Item, List<Item>, List<Item>, boolean) - Method in class org.craftercms.core.service.impl.ExcludeByUrlItemFilter
- accepts(Item, List<Item>, List<Item>, boolean) - Method in class org.craftercms.core.service.impl.IncludeByUrlItemFilter
- accepts(Item, List<Item>, List<Item>, boolean) - Method in interface org.craftercms.core.service.ItemFilter
-
Return true if the given item is accepted by the filter.
- add(int, T) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- add(T) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- addAll(int, Collection<? extends T>) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- addAll(Collection<? extends T>) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- addAttribute(Map.Entry<String, String>, Element) - Method in class org.craftercms.core.processors.impl.AttributeAddingProcessor
- addChild(Item) - Method in class org.craftercms.core.service.Tree
-
Adds a child.
- AddContextPathUrlTransformer - Class in org.craftercms.core.url.impl
-
Class description goes HERE
- AddContextPathUrlTransformer() - Constructor for class org.craftercms.core.url.impl.AddContextPathUrlTransformer
- AddDebugParamUrlTransformer - Class in org.craftercms.core.url.impl
-
Class description goes HERE
- AddDebugParamUrlTransformer() - Constructor for class org.craftercms.core.url.impl.AddDebugParamUrlTransformer
- addFilter(ItemFilter) - Method in class org.craftercms.core.service.impl.CompositeItemFilter
-
Adds the specified
ItemFilter
to the filter list, creating the list if necessary. - addInheritedDescriptorsInFolder(Context, CachingOptions, List<MergeableDescriptor>, String, String, Document) - Method in class org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
- addInheritedDescriptorsInFolder(Context, CachingOptions, List<MergeableDescriptor>, String, String, Document) - Method in class org.craftercms.core.xml.mergers.impl.strategies.CompositeInheritFromHierarchyMergeStrategy
- addInheritedDescriptorsInFolder(Context, CachingOptions, List<MergeableDescriptor>, String, String, Document) - Method in class org.craftercms.core.xml.mergers.impl.strategies.InheritLevelsMergeStrategy
- addInheritedDescriptorsInFolder(Context, CachingOptions, List<MergeableDescriptor>, String, String, Document) - Method in class org.craftercms.core.xml.mergers.impl.strategies.InheritVersionsMergeStrategy
- addNewField(Item, String) - Method in class org.craftercms.core.processors.impl.AbstractTaggingProcessor
-
Tags the item adding the new field with the specified values.
- AddPrefixAndSuffixUrlTransformer - Class in org.craftercms.core.url.impl
-
Class description goes HERE
- AddPrefixAndSuffixUrlTransformer() - Constructor for class org.craftercms.core.url.impl.AddPrefixAndSuffixUrlTransformer
- addProcessor(ItemProcessor) - Method in class org.craftercms.core.processors.impl.ItemProcessorPipeline
-
Adds a processor to the pipeline of processors.
- addProcessors(Collection<ItemProcessor>) - Method in class org.craftercms.core.processors.impl.ItemProcessorPipeline
-
Adds several processors to the pipeline of processors.
- AddSchemeAndDomainAndServerPortUrlTransformer - Class in org.craftercms.core.url.impl
-
Prepends to a context relative url the schema, domain and port (if different than 80 and 443 in case of https) to URL, normally to get a full url, e.g., /webapp/servlet/a => http://domain.com:8080/webapp/servlet/a
- AddSchemeAndDomainAndServerPortUrlTransformer() - Constructor for class org.craftercms.core.url.impl.AddSchemeAndDomainAndServerPortUrlTransformer
- addScope(String, int) - Method in interface org.craftercms.core.cache.Cache
-
Adds a new scope to the cache.
- addScope(String, int) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Adds a new scope to the cache.
- addScope(String, int) - Method in interface org.craftercms.core.cache.impl.CacheStoreAdapter
-
Adds a new scope to the underlying store.
- addScope(String, int) - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
-
Adds a new scope.
- addScope(String, int) - Method in class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Adds a new scope.
- addScope(String, int) - Method in class org.craftercms.core.cache.impl.store.NoopCacheStoreAdapter
- addScope(Context) - Method in interface org.craftercms.core.service.CacheService
-
Adds a new scope to the cache for the given context.
- addScope(Context) - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- AddServletPathUrlTransformer - Class in org.craftercms.core.url.impl
-
Class description goes HERE
- AddServletPathUrlTransformer() - Constructor for class org.craftercms.core.url.impl.AddServletPathUrlTransformer
- addSourceAttributes(Document, Element, String) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
- afterPropertiesSet() - Method in class org.craftercms.core.controller.rest.ContentStoreRestController
- afterPropertiesSet() - Method in class org.craftercms.core.util.template.impl.spel.SpELStringTemplateCompiler
- AttributeAddingProcessor - Class in org.craftercms.core.processors.impl
-
Created by alfonso on 2/21/17.
- AttributeAddingProcessor() - Constructor for class org.craftercms.core.processors.impl.AttributeAddingProcessor
- attributeMappings - Variable in class org.craftercms.core.processors.impl.AttributeAddingProcessor
- AuthenticationException - Exception in org.craftercms.core.exception
-
Thrown to indicate that authentication wasn't possible with the content store.
- AuthenticationException() - Constructor for exception org.craftercms.core.exception.AuthenticationException
- AuthenticationException(String) - Constructor for exception org.craftercms.core.exception.AuthenticationException
- AuthenticationException(String, Throwable) - Constructor for exception org.craftercms.core.exception.AuthenticationException
- AuthenticationException(Throwable) - Constructor for exception org.craftercms.core.exception.AuthenticationException
B
- baseFolders - Variable in class org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
- BeanFactoryModelFactory - Class in org.craftercms.core.processors.impl.template
-
NodeTemplateModelFactory
that always returns theBeanFactory
of the Spring application context where this factory is configured. - BeanFactoryModelFactory() - Constructor for class org.craftercms.core.processors.impl.template.BeanFactoryModelFactory
- blobStoreResolver - Variable in class org.craftercms.core.service.impl.ContentStoreServiceImpl
- blobUrlResolver - Variable in class org.craftercms.core.service.impl.ContentStoreServiceImpl
C
- cache - Variable in class org.craftercms.core.service.impl.CacheServiceImpl
- Cache - Interface in org.craftercms.core.cache
-
Crafter's Cache API.
- CACHE_CONTROL_HEADER_NAME - Static variable in class org.craftercms.core.controller.rest.ContentStoreRestController
- CACHE_OFF_CACHING_OPTIONS - Static variable in class org.craftercms.core.service.CachingOptions
- CACHE_SCOPE_FORMAT - Static variable in class org.craftercms.core.service.ContextImpl
- CacheException - Exception in org.craftercms.core.exception
-
Root exception for all cache related exceptions.
- CacheException() - Constructor for exception org.craftercms.core.exception.CacheException
- CacheException(String) - Constructor for exception org.craftercms.core.exception.CacheException
- CacheException(String, Throwable) - Constructor for exception org.craftercms.core.exception.CacheException
- CacheException(Throwable) - Constructor for exception org.craftercms.core.exception.CacheException
- CacheImpl - Class in org.craftercms.core.cache.impl
-
Cache
that implements common functionality, such as logging and expiration/refresh check every tick, and uses and underlyingCacheStoreAdapter
to store the items. - CacheImpl() - Constructor for class org.craftercms.core.cache.impl.CacheImpl
-
Default constructor.
- CacheItem - Interface in org.craftercms.core.cache
-
Provides information about an item residing in the cache.
- CacheItemImpl - Class in org.craftercms.core.cache.impl
-
Default implementation of
CacheItem
. - CacheItemImpl(String, long, Object, Object, long, long, CacheLoader, Object[]) - Constructor for class org.craftercms.core.cache.impl.CacheItemImpl
-
Value constructor.
- CacheLoader - Interface in org.craftercms.core.cache
-
Implementations of this interface are used by
Cache
s to refresh items that are already in the cache. - cacheOn - Variable in class org.craftercms.core.service.ContextImpl
- cacheRefresher - Variable in class org.craftercms.core.cache.impl.CacheImpl
-
Used to refresh a list of items.
- CacheRefresher - Interface in org.craftercms.core.cache.impl
- CacheRefresherImpl - Class in org.craftercms.core.cache.impl
-
Default implementation of
CacheRefresher
. - CacheRefresherImpl() - Constructor for class org.craftercms.core.cache.impl.CacheRefresherImpl
- CacheRestController - Class in org.craftercms.core.controller.rest
-
REST service that provides several methods to handle Crafter's cache engine.
- CacheRestController() - Constructor for class org.craftercms.core.controller.rest.CacheRestController
- caches - Variable in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
- CacheService - Interface in org.craftercms.core.service
- CacheServiceImpl - Class in org.craftercms.core.service.impl
-
Default implementation of
CacheService
. - CacheServiceImpl() - Constructor for class org.craftercms.core.service.impl.CacheServiceImpl
- CacheStatistics - Class in org.craftercms.core.cache
-
Base class for all cache implementations to provide statistics.
- CacheStatistics() - Constructor for class org.craftercms.core.cache.CacheStatistics
- CacheStatistics(long) - Constructor for class org.craftercms.core.cache.CacheStatistics
- cacheStoreAdapter - Variable in class org.craftercms.core.cache.impl.CacheImpl
-
Adapter for the cache data structure.
- CacheStoreAdapter - Interface in org.craftercms.core.cache.impl
-
Adapter to the real data structure used to store the items of a cache.
- cacheTemplate - Variable in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
-
Helper that uses an array of key elements (as the compound key) an a callback (when no cache object is found) for caching.
- cacheTemplate - Variable in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- cacheTemplate - Variable in class org.craftercms.core.url.impl.AbstractCachedUrlTransformationEngine
- CacheTemplate - Interface in org.craftercms.core.util.cache
-
Template patten that allows easy usage of the cache service.
- CacheUtils - Class in org.craftercms.core.util
-
Utility methods for caching.
- CacheUtils() - Constructor for class org.craftercms.core.util.CacheUtils
- cacheVersion - Variable in class org.craftercms.core.service.ContextImpl
- CachingAwareList<T> - Class in org.craftercms.core.util.cache.impl
-
Class description goes HERE
- CachingAwareList() - Constructor for class org.craftercms.core.util.cache.impl.CachingAwareList
- CachingAwareList(int) - Constructor for class org.craftercms.core.util.cache.impl.CachingAwareList
- CachingAwareList(List<T>) - Constructor for class org.craftercms.core.util.cache.impl.CachingAwareList
- CachingAwareObject - Interface in org.craftercms.core.util.cache
-
Objects that are generally cached implement this method so that they can provide information about their caching to methods higher in the stack trace.
- CachingOptions - Class in org.craftercms.core.service
-
Set of options that should be used when caching in a service call.
- CachingOptions() - Constructor for class org.craftercms.core.service.CachingOptions
- CachingOptions(boolean, long, long) - Constructor for class org.craftercms.core.service.CachingOptions
- cachingTime - Variable in class org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
- canConvert(Class) - Method in class org.craftercms.core.util.xml.marshalling.xstream.Dom4jDocumentConverter
- charset - Variable in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- checkForExpiration(CacheItem) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Checks if the given
CacheItem
has expired. - checkForRefresh(CacheItem, List<CacheItem>) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Checks if a given
CacheItem
needs to be refreshed. - childMergeCues - Variable in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeCueResolverImpl
- children - Variable in class org.craftercms.core.service.Tree
-
The folder's children.
- clear() - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- clearAll() - Method in interface org.craftercms.core.cache.Cache
-
Clears the contents of the entire cache.
- clearAll() - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Clears the contents of the entire cache.
- clearAll() - Method in interface org.craftercms.core.cache.impl.CacheStoreAdapter
-
Clears the contents of the entire store.
- clearAll() - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
-
Clears the contents of the entire store.
- clearAll() - Method in class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Clears the contents of the entire store.
- clearAll() - Method in class org.craftercms.core.cache.impl.store.NoopCacheStoreAdapter
- clearAll() - Method in interface org.craftercms.core.service.CacheService
-
Clears the contents of the entire cache.
- clearAll() - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- clearAllScopes(String) - Method in class org.craftercms.core.controller.rest.CacheRestController
- clearScope(String) - Method in interface org.craftercms.core.cache.Cache
-
Clears the contents of the specified scope in the cache.
- clearScope(String) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Clears the contents of the specified scope in the cache.
- clearScope(String) - Method in interface org.craftercms.core.cache.impl.CacheStoreAdapter
-
Clears the contents of the specified scope in the underlying store.
- clearScope(String) - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
-
Clears the contents of the specified scope in the underlying store.
- clearScope(String) - Method in class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Clears the contents of the specified scope in the underlying store.
- clearScope(String) - Method in class org.craftercms.core.cache.impl.store.NoopCacheStoreAdapter
- clearScope(String, String) - Method in class org.craftercms.core.controller.rest.CacheRestController
- clearScope(Context) - Method in interface org.craftercms.core.service.CacheService
-
Clears the contents of the scope of the given context.
- clearScope(Context) - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- clone() - Method in interface org.craftercms.core.service.Context
- clone() - Method in class org.craftercms.core.service.ContextImpl
- closeTemplateSource(Object) - Method in class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader
- CollectionUtils - Class in org.craftercms.core.util
-
Utility methods for collections.
- CollectionUtils() - Constructor for class org.craftercms.core.util.CollectionUtils
- compile(IdentifiableStringTemplateSource) - Method in class org.craftercms.core.util.template.impl.freemarker.FreeMarkerStringTemplateCompiler
- compile(IdentifiableStringTemplateSource) - Method in class org.craftercms.core.util.template.impl.spel.SpELStringTemplateCompiler
- compile(T) - Method in interface org.craftercms.core.util.template.TemplateCompiler
- CompiledTemplate - Interface in org.craftercms.core.util.template
-
Class description goes HERE
- CompositeInheritFromHierarchyMergeStrategy - Class in org.craftercms.core.xml.mergers.impl.strategies
-
Implementation of
AbstractInheritFromHierarchyMergeStrategy
that delegates to several otherAbstractInheritFromHierarchyMergeStrategy
s to determine the descriptors to "inherit" from upper levels in the folder hierarchy. - CompositeInheritFromHierarchyMergeStrategy(List<AbstractInheritFromHierarchyMergeStrategy>) - Constructor for class org.craftercms.core.xml.mergers.impl.strategies.CompositeInheritFromHierarchyMergeStrategy
- CompositeItemFilter - Class in org.craftercms.core.service.impl
-
Composite
ItemFilter
implementation. - CompositeItemFilter() - Constructor for class org.craftercms.core.service.impl.CompositeItemFilter
-
Creates a composite filter with a
null
list ofItemFilter
s. - CompositeItemFilter(List<ItemFilter>) - Constructor for class org.craftercms.core.service.impl.CompositeItemFilter
-
Creates a composite filter with the specified list of
ItemFilter
s. - CompositeItemFilter(ItemFilter...) - Constructor for class org.craftercms.core.service.impl.CompositeItemFilter
-
Creates a composite filter with the specified array of
ItemFilter
s. - ConcurrentStringTemplateLoader - Class in org.craftercms.core.util.template.impl.freemarker
-
Class description goes HERE
- ConcurrentStringTemplateLoader() - Constructor for class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader
- ConcurrentStringTemplateLoader.StringTemplateSource - Class in org.craftercms.core.util.template.impl.freemarker
- CONST_KEY_ELEM_CHILDREN - Static variable in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
-
A constant added to all
getChildren()
cache keys. - CONST_KEY_ELEM_CONTENT - Static variable in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- CONST_KEY_ELEM_EXISTS - Static variable in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
-
A constant added to all
exists()
cache keys. - CONST_KEY_ELEM_EXISTS - Static variable in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- CONST_KEY_ELEM_ITEM - Static variable in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
-
A constant added to all
getItem()
cache keys. - CONST_KEY_ELEM_ITEM - Static variable in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- CONST_KEY_ELEM_ITEMS - Static variable in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- CONST_KEY_ELEM_TREE - Static variable in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
-
A constant added to all
getTree()
cache keys. - contains(Object) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- containsAll(Collection<?>) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- Content - Interface in org.craftercms.core.service
-
Represents the content of a file in the content store.
- ContentBundleMergeStrategy - Class in org.craftercms.core.xml.mergers.impl.strategies
-
DescriptorMergeStrategy
that returns the level descriptors in the hierarchy and the base descriptors when some of the parent folders are part of a content bundle (which is similar to a resource bundle, but instead of simple properties, a content bundle is formed by XML content (descriptors)). - ContentBundleMergeStrategy() - Constructor for class org.craftercms.core.xml.mergers.impl.strategies.ContentBundleMergeStrategy
- ContentBundleShortToLongUrlTransformer - Class in org.craftercms.core.url.impl
-
This transformer is similar to
ShortToLongUrlTransformer
, but also looks in a content bundle for an item name (long name) that can be mapped to the short name. - ContentBundleShortToLongUrlTransformer() - Constructor for class org.craftercms.core.url.impl.ContentBundleShortToLongUrlTransformer
- ContentBundleUrl - Interface in org.craftercms.core.util.url
- ContentBundleUrlImpl - Class in org.craftercms.core.util.url.impl
- ContentBundleUrlImpl() - Constructor for class org.craftercms.core.util.url.impl.ContentBundleUrlImpl
- ContentBundleUrlParser - Interface in org.craftercms.core.util.url
- ContentStoreAdapter - Interface in org.craftercms.core.store
-
Adapter that provides path based access to a repository of some type.
- ContentStoreAdapterRegistry - Interface in org.craftercms.core.store
-
Registry for
ContentStoreAdapter
s. - ContentStoreAdapterRegistryImpl - Class in org.craftercms.core.store.impl
-
Default implementation of
ContentStoreAdapterRegistry
. - ContentStoreAdapterRegistryImpl() - Constructor for class org.craftercms.core.store.impl.ContentStoreAdapterRegistryImpl
- ContentStoreRestController - Class in org.craftercms.core.controller.rest
-
REST service that provides several methods to access the Crafter content store.
- ContentStoreRestController(ContentStoreService) - Constructor for class org.craftercms.core.controller.rest.ContentStoreRestController
- contentStoreService - Variable in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
-
The content store service, used to retrieve the descriptors to include.
- ContentStoreService - Interface in org.craftercms.core.service
-
Main Crafter content access API.
- ContentStoreServiceImpl - Class in org.craftercms.core.service.impl
-
Default implementation of
ContentStoreService
. - ContentStoreServiceImpl(CacheTemplate, ContentStoreAdapterRegistry, DescriptorMergeStrategyResolver, DescriptorMerger, ItemProcessorResolver, BlobUrlResolver, BlobStoreResolver, String, String, String) - Constructor for class org.craftercms.core.service.impl.ContentStoreServiceImpl
- ContentStoreUtils - Class in org.craftercms.core.util
-
Utility methods for content store.
- Context - Interface in org.craftercms.core.service
-
Contains information of the content store used by a particular tenant.
- ContextImpl - Class in org.craftercms.core.service
-
Default
Context
implementation. - ContextImpl(String, ContentStoreAdapter, String, boolean, boolean, int, boolean) - Constructor for class org.craftercms.core.service.ContextImpl
- contexts - Variable in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Map of open
Context
s - CrafterException - Exception in org.craftercms.core.exception
-
Root exception for all exceptions defined in Crafter.
- CrafterException() - Constructor for exception org.craftercms.core.exception.CrafterException
- CrafterException(String) - Constructor for exception org.craftercms.core.exception.CrafterException
- CrafterException(String, Throwable) - Constructor for exception org.craftercms.core.exception.CrafterException
- CrafterException(Throwable) - Constructor for exception org.craftercms.core.exception.CrafterException
- CrafterXStreamMarshaller - Class in org.craftercms.core.util.xml.marshalling.xstream
-
Extension of
XStreamMarshaller
that: - CrafterXStreamMarshaller() - Constructor for class org.craftercms.core.util.xml.marshalling.xstream.CrafterXStreamMarshaller
- createContext(String, String, boolean, boolean, int, boolean) - Method in interface org.craftercms.core.store.ContentStoreAdapter
- createContext(String, String, boolean, boolean, int, boolean) - Method in class org.craftercms.core.store.impl.filesystem.FileSystemContentStoreAdapter
- createContextId(String, String, String, boolean, int, boolean) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
- createResponseMessage(String) - Static method in class org.craftercms.core.controller.rest.RestControllerBase
- createSingletonModifiableMap(String, Object) - Static method in class org.craftercms.core.controller.rest.RestControllerBase
- createXmlReader() - Method in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
-
Creates and configures an XML SAX reader.
- customizeXStream(XStream) - Method in class org.craftercms.core.util.xml.marshalling.xstream.CrafterXStreamMarshaller
D
- DEFAULT_CACHE_ON - Static variable in interface org.craftercms.core.service.Context
- DEFAULT_CACHING_OPTIONS - Static variable in class org.craftercms.core.service.CachingOptions
- DEFAULT_CHARSET - Static variable in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- DEFAULT_DEBUG_URL_PARAM - Static variable in class org.craftercms.core.url.impl.AddDebugParamUrlTransformer
- DEFAULT_HTTP_PORT - Static variable in class org.craftercms.core.url.impl.AddSchemeAndDomainAndServerPortUrlTransformer
- DEFAULT_HTTPS_PORT - Static variable in class org.craftercms.core.url.impl.AddSchemeAndDomainAndServerPortUrlTransformer
- DEFAULT_IGNORE_HIDDEN_FILES - Static variable in interface org.craftercms.core.service.Context
- DEFAULT_MAX_ALLOWED_ITEMS_IN_CACHE - Static variable in interface org.craftercms.core.service.Context
- DEFAULT_MERGING_ON - Static variable in interface org.craftercms.core.service.Context
- DefaultCacheTemplate - Class in org.craftercms.core.util.cache.impl
-
Class description goes HERE
- DefaultCacheTemplate() - Constructor for class org.craftercms.core.util.cache.impl.DefaultCacheTemplate
- defaultCachingOptions - Variable in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
-
The default caching options to use when none are specified in the method.
- defaultCachingOptions - Variable in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- defaultChildMergeCue - Variable in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeCueResolverImpl
- defaultMergeOrder - Variable in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeParentAndChildMergeCue
- defaultParentMergeCue - Variable in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeCueResolverImpl
- defaultProcessor - Variable in class org.craftercms.core.processors.impl.resolvers.ItemProcessorResolverChain
-
The default processor to use if no resolver returns a processor.
- defaultValue - Variable in class org.craftercms.core.processors.impl.AbstractTaggingProcessor
-
Optional default value for the new field.
- descriptorDom - Variable in class org.craftercms.core.service.Item
-
The DOM (Document Object Model) of the item's descriptor.
- descriptorFileExtension - Variable in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- DescriptorMerger - Interface in org.craftercms.core.xml.mergers
-
Merges a set of XML DOM descriptors into a new DOM.
- DescriptorMergerImpl - Class in org.craftercms.core.xml.mergers.impl
-
Default implementation of
DescriptorMerger
. - DescriptorMergerImpl() - Constructor for class org.craftercms.core.xml.mergers.impl.DescriptorMergerImpl
- DescriptorMergeStrategy - Interface in org.craftercms.core.xml.mergers
-
Strategy for merging descriptor files.
- DescriptorMergeStrategyResolver - Interface in org.craftercms.core.xml.mergers
-
Resolves the
DescriptorMergeStrategy
to use for a given descriptor. - DescriptorMergeStrategyResolverChain - Class in org.craftercms.core.xml.mergers.impl.resolvers
-
Chain of
DescriptorMergeStrategyResolver
s. - DescriptorMergeStrategyResolverChain() - Constructor for class org.craftercms.core.xml.mergers.impl.resolvers.DescriptorMergeStrategyResolverChain
- descriptorUrl - Variable in class org.craftercms.core.service.Item
-
The url or path of the item's descriptor in the content store.
- destroy() - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
-
Destroy method, called by the Spring container.
- destroyContext(Context) - Method in interface org.craftercms.core.service.ContentStoreService
-
Destroys the specified context, login out of any remote repository (if a login was issued) and destroying the cache scope associated to the context.
- destroyContext(Context) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Destroys the specified context, login out of any remote repository (if a login was issued) and destroying the cache scope associated to the context.
- destroyContext(Context) - Method in interface org.craftercms.core.store.ContentStoreAdapter
- destroyContext(Context) - Method in class org.craftercms.core.store.impl.filesystem.FileSystemContentStoreAdapter
- disabledIncludeNodeXPathQuery - Variable in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
-
XPath query relative to include elements for nodes tha specify if the include is disabled or not.
- disablePageInclusion - Variable in class org.craftercms.core.processors.impl.PageAwareIncludeDescriptorsProcessor
- doCaching() - Method in class org.craftercms.core.service.CachingOptions
- doChecks(CacheItem, List<CacheItem>) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Checks if the given
CacheItem
has expired or needs to be refreshed. - DOCUMENT_CLASS_ALIAS - Static variable in class org.craftercms.core.util.xml.marshalling.xstream.CrafterXStreamMarshaller
- documentToPrettyString(Document) - Static method in class org.craftercms.core.util.XmlUtils
-
Returns the given document as a XML string in a "pretty" format.
- doExists(Context, CachingOptions, String) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- doExists(Context, CachingOptions, String) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
- doExists(Context, CachingOptions, String) - Method in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- doExists(Context, CachingOptions, String) - Method in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- doFilter(List<Item>, ItemFilter, boolean) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Filters the given list of items by using the specified filter.
- doFindChildren(Context, CachingOptions, String, Integer, ItemFilter, ItemProcessor, boolean) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Does the following:
- doFindChildren(Context, CachingOptions, String, ItemFilter, ItemProcessor, boolean) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- doFindChildren(Context, CachingOptions, String, ItemFilter, ItemProcessor, boolean) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
- doFindContent(Context, CachingOptions, String) - Method in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- doFindContent(Context, CachingOptions, String) - Method in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- doFindItem(Context, CachingOptions, String, boolean) - Method in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- doFindItem(Context, CachingOptions, String, boolean) - Method in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- doFindItem(Context, CachingOptions, String, ItemProcessor) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- doFindItem(Context, CachingOptions, String, ItemProcessor) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Returns the content store item for the given url, returning null if not found.
- doFindItems(Context, CachingOptions, String) - Method in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- doFindItems(Context, CachingOptions, String) - Method in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- doFindTree(Context, CachingOptions, String, int, ItemFilter, ItemProcessor, boolean) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- doFindTree(Context, CachingOptions, String, int, ItemFilter, ItemProcessor, boolean) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
- doGet(Context, Callback<T>, Object) - Method in class org.craftercms.core.util.cache.impl.DefaultCacheTemplate
- doInclude(Item, Element, Item) - Method in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
- Dom4jDocumentConverter - Class in org.craftercms.core.util.xml.marshalling.xstream
-
XStream converter to marshal Dom4j
Document
(unmarshalling is unsupported). - Dom4jDocumentJsonSerializer - Class in org.craftercms.core.util.json.jackson
-
Custom Jackson serializer for
Document
. - Dom4jDocumentJsonSerializer() - Constructor for class org.craftercms.core.util.json.jackson.Dom4jDocumentJsonSerializer
- doMerge() - Method in class org.craftercms.core.xml.mergers.impl.cues.MergeCueContext
- doMerging(Context, CachingOptions, Item) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Executes merging for the specified
Item
: - doProcessing(Context, CachingOptions, Item, ItemProcessor) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Executes processing for the specified
Item
: - doPut(Context, CachingOptions, Callback<T>, Object, T) - Method in class org.craftercms.core.util.cache.impl.DefaultCacheTemplate
- doReplacing(String) - Method in class org.craftercms.core.url.impl.ReplacePatternAllUrlTransformer
- doReplacing(String) - Method in class org.craftercms.core.url.impl.ReplacePatternFirstUrlTransformer
- doTransformUrl(Context, CachingOptions, String, String) - Method in class org.craftercms.core.url.impl.AbstractCachedUrlTransformationEngine
- doTransformUrl(Context, CachingOptions, String, String) - Method in class org.craftercms.core.url.impl.UrlTransformationEngineImpl
E
- elementMergeMatcher - Variable in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeParentAndChildMergeCue
- ElementMergeMatcher - Interface in org.craftercms.core.xml.mergers.impl.cues
-
Class description goes HERE
- ElementMergeMatcherImpl - Class in org.craftercms.core.xml.mergers.impl.cues.impl
-
Class description goes HERE
- ElementMergeMatcherImpl() - Constructor for class org.craftercms.core.xml.mergers.impl.cues.impl.ElementMergeMatcherImpl
- elementValueToProcessorMappings - Variable in class org.craftercms.core.processors.impl.resolvers.MetaDataProcessorResolver
-
Mappings of processor element values to processor names.
- EMPTY - Static variable in class org.craftercms.core.cache.CacheStatistics
- equals(Object) - Method in class org.craftercms.core.cache.impl.CacheItemImpl
-
Returns true if the specified
CacheItemImpl
's and this instance's key and scope are equal. - equals(Object) - Method in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
-
Returns true if the specified
IncludeDescriptorsProcessor
's and this instance's fields are equal. - equals(Object) - Method in class org.craftercms.core.processors.impl.ItemProcessorPipeline
-
Returns true if the specified
ItemProcessorPipeline
's and this instance's list of processors are equal. - equals(Object) - Method in class org.craftercms.core.processors.impl.TaggingByFieldValueProcessor
- equals(Object) - Method in class org.craftercms.core.processors.impl.TaggingByPathProcessor
- equals(Object) - Method in class org.craftercms.core.processors.impl.template.TemplateProcessor
-
Returns true if the specified
TemplateProcessor
's and this instance's fields are equal. - equals(Object) - Method in class org.craftercms.core.processors.impl.TextMetaDataCollectionExtractingProcessor
-
Returns true if the specified
TextMetaDataCollectionExtractingProcessor
's and this instance'smetaDataNodesXPathQueries
are equal. - equals(Object) - Method in class org.craftercms.core.processors.impl.TextMetaDataExtractingProcessor
-
Returns true if the specified
TextMetaDataExtractingProcessor
's and this instance'smetaDataNodesXPathQueries
are equal. - equals(Object) - Method in class org.craftercms.core.service.CachingOptions
- equals(Object) - Method in class org.craftercms.core.service.ContextImpl
- equals(Object) - Method in class org.craftercms.core.service.impl.CompositeItemFilter
- equals(Object) - Method in class org.craftercms.core.service.Item
-
Returns true if the specified
Item
's and this instance'sname
,url
,descriptorUrl
andisFolder
are equal. - equals(Object) - Method in class org.craftercms.core.service.Tree
-
Returns true if
Item.equals(Object)
returns true and if the specifiedTree
's and this instance'schildren
are equal. - equals(Object) - Method in class org.craftercms.core.store.impl.filesystem.FileSystemFile
- equals(Object) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- equals(Object) - Method in class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader.StringTemplateSource
- equals(Object) - Method in class org.craftercms.core.util.xml.impl.RegexNodeScanner
- equals(Object) - Method in class org.craftercms.core.util.xml.impl.XPathNodeScanner
- equals(Object) - Method in class org.craftercms.core.xml.mergers.MergeableDescriptor
- escapeXml - Variable in class org.craftercms.core.util.xml.marshalling.xstream.EscapingCompactWriter
- EscapingCompactWriter - Class in org.craftercms.core.util.xml.marshalling.xstream
-
Extension of
CompactWriter
that enables setting on/off XML escaping. - EscapingCompactWriter(Writer) - Constructor for class org.craftercms.core.util.xml.marshalling.xstream.EscapingCompactWriter
- EscapingCompactWriter(Writer, int) - Constructor for class org.craftercms.core.util.xml.marshalling.xstream.EscapingCompactWriter
- EscapingCompactWriter(Writer, int, NameCoder) - Constructor for class org.craftercms.core.util.xml.marshalling.xstream.EscapingCompactWriter
- EscapingCompactWriter(Writer, NameCoder) - Constructor for class org.craftercms.core.util.xml.marshalling.xstream.EscapingCompactWriter
- evictionCount - Variable in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStatistics
- ExceptionHandlers - Class in org.craftercms.core.controller.rest
-
Global exception handlers for Crafter REST services.
- ExceptionHandlers() - Constructor for class org.craftercms.core.controller.rest.ExceptionHandlers
- ExceptionUtils - Class in org.craftercms.core.util
-
Utility methods for exceptions.
- ExceptionUtils() - Constructor for class org.craftercms.core.util.ExceptionUtils
- ExcludeByUrlItemFilter - Class in org.craftercms.core.service.impl
-
ItemFilter
that rejects an item if its URL matches any one of a list of regexes. - ExcludeByUrlItemFilter(String[]) - Constructor for class org.craftercms.core.service.impl.ExcludeByUrlItemFilter
- exists(Context, String) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns true if the file or folder at the specified URL exists
- exists(Context, String) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- exists(Context, CachingOptions, String) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns true if the file or folder at the specified URL exists
- exists(Context, CachingOptions, String) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- exists(Context, CachingOptions, String) - Method in interface org.craftercms.core.store.ContentStoreAdapter
- exists(Context, CachingOptions, String) - Method in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- ExplicitParentMergeStrategy - Class in org.craftercms.core.xml.mergers.impl.strategies
-
Implementation of
DescriptorMergeStrategy
that merges the descriptor with an explicitly named parent. - ExplicitParentMergeStrategy() - Constructor for class org.craftercms.core.xml.mergers.impl.strategies.ExplicitParentMergeStrategy
- ExtractRequestAttributesUrlTransformer - Class in org.craftercms.core.url.impl
-
Extracts a request attribute from the URL, and finally removes it from the URL.
- ExtractRequestAttributesUrlTransformer() - Constructor for class org.craftercms.core.url.impl.ExtractRequestAttributesUrlTransformer
F
- FieldRenamingProcessor - Class in org.craftercms.core.processors.impl
-
Created by alfonso on 2/21/17.
- FieldRenamingProcessor() - Constructor for class org.craftercms.core.processors.impl.FieldRenamingProcessor
- File - Interface in org.craftercms.core.store.impl
-
Abstraction of a file in a content store.
- FileSystemContent - Class in org.craftercms.core.store.impl.filesystem
-
Gives access to the content of a file in the local filesystem
- FileSystemContent(File) - Constructor for class org.craftercms.core.store.impl.filesystem.FileSystemContent
- FileSystemContentStoreAdapter - Class in org.craftercms.core.store.impl.filesystem
-
Implementation of
ContentStoreAdapter
that enables access to a store in the filesystem. - FileSystemContentStoreAdapter() - Constructor for class org.craftercms.core.store.impl.filesystem.FileSystemContentStoreAdapter
- FileSystemContext - Class in org.craftercms.core.store.impl.filesystem
-
Extension of context that adds properties used by the
FileSystemContentStoreAdapter
. - FileSystemContext(String, FileSystemContentStoreAdapter, String, FileSystemFile, boolean, boolean, int, boolean) - Constructor for class org.craftercms.core.store.impl.filesystem.FileSystemContext
- FileSystemFile - Class in org.craftercms.core.store.impl.filesystem
-
Adapter to a filesystem
File
, used byContentStoreAdapter
s; - FileSystemFile(File) - Constructor for class org.craftercms.core.store.impl.filesystem.FileSystemFile
- FileSystemFile(String) - Constructor for class org.craftercms.core.store.impl.filesystem.FileSystemFile
- FileSystemFile(FileSystemFile, String) - Constructor for class org.craftercms.core.store.impl.filesystem.FileSystemFile
- findChildren(Context, String) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the children of the folder at the given url, returning null if the folder can't be found.
- findChildren(Context, CachingOptions, String, ItemFilter, ItemProcessor) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the children of the folder at the given url, returning null if the folder can't be found.
- findChildren(Context, CachingOptions, String, ItemFilter, ItemProcessor, boolean) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the children of the folder at the given url, returning null if the folder can't be found.
- findChildren(Context, CachingOptions, String, ItemFilter, ItemProcessor, boolean) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- findContent(Context, String) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the content of the file for the given url, returning null if not found.
- findContent(Context, CachingOptions, String) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the content of the file for the given url, returning null if not found.
- findContent(Context, CachingOptions, String) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
- findContent(Context, CachingOptions, String) - Method in interface org.craftercms.core.store.ContentStoreAdapter
- findContent(Context, CachingOptions, String) - Method in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- findFile(Context, CachingOptions, String) - Method in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
-
Returns the
File
at the given path, returning null if not found. - findFile(Context, CachingOptions, String) - Method in class org.craftercms.core.store.impl.filesystem.FileSystemContentStoreAdapter
- findItem(Context, String) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the content store item for the given url, returning null if not found.
- findItem(Context, CachingOptions, String, boolean) - Method in interface org.craftercms.core.store.ContentStoreAdapter
- findItem(Context, CachingOptions, String, boolean) - Method in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- findItem(Context, CachingOptions, String, ItemProcessor) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the content store item for the given url, returning null if not found.
- findItem(Context, CachingOptions, String, ItemProcessor, boolean) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the content store item for the given url, returning null if not found.
- findItem(Context, CachingOptions, String, ItemProcessor, boolean) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- findItems(Context, CachingOptions, String) - Method in interface org.craftercms.core.store.ContentStoreAdapter
- findItems(Context, CachingOptions, String) - Method in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- findTemplateSource(String) - Method in class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader
- findTree(Context, String) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the folder at the given url as a tree, or null if the folder wasn't found.
- findTree(Context, String, int) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the folder at the given url as a tree, or null if the folder wasn't found.
- findTree(Context, CachingOptions, String, int, ItemFilter, ItemProcessor) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the folder at the given url as a tree, or null if the folder wasn't found.
- findTree(Context, CachingOptions, String, int, ItemFilter, ItemProcessor, boolean) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the folder at the given url as a tree, or null if the folder wasn't found.
- findTree(Context, CachingOptions, String, int, ItemFilter, ItemProcessor, boolean) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- flatteningProcessor - Variable in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
-
Item processor used for flattening descriptors
- ForbiddenPathException - Exception in org.craftercms.core.exception
-
Thrown when a path that is restricted is being accessed.
- ForbiddenPathException(String) - Constructor for exception org.craftercms.core.exception.ForbiddenPathException
- forceHttps - Variable in class org.craftercms.core.url.impl.AddSchemeAndDomainAndServerPortUrlTransformer
- FreeMarkerCompiledTemplate - Class in org.craftercms.core.util.template.impl.freemarker
-
Class description goes HERE
- FreeMarkerCompiledTemplate(Template) - Constructor for class org.craftercms.core.util.template.impl.freemarker.FreeMarkerCompiledTemplate
- FreeMarkerStringTemplateCompiler - Class in org.craftercms.core.util.template.impl.freemarker
-
Class description goes HERE
- FreeMarkerStringTemplateCompiler() - Constructor for class org.craftercms.core.util.template.impl.freemarker.FreeMarkerStringTemplateCompiler
G
- generate() - Method in interface org.craftercms.core.util.generators.IdentifierGenerator
-
Generates a unique string identifier.
- generate() - Method in class org.craftercms.core.util.generators.impl.IncrementalTimestampGenerator
-
Returns increments of a counter as timestamps.
- generate() - Method in class org.craftercms.core.util.generators.impl.UuidIdentifierGenerator
-
Generates a UUID identifier.
- generate() - Method in interface org.craftercms.core.util.generators.TimestampGenerator
-
Generates a new timestamp.
- generateKey(Object...) - Static method in class org.craftercms.core.util.CacheUtils
-
Returns a cache key generated by appending the string representations of the specified key elements.
- get(int) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- get(String) - Method in interface org.craftercms.core.store.ContentStoreAdapterRegistry
- get(String) - Method in class org.craftercms.core.store.impl.ContentStoreAdapterRegistryImpl
- get(String, Object) - Method in interface org.craftercms.core.cache.Cache
-
Retrieves an item from a scope.
- get(String, Object) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Retrieves an item from a scope.
- get(String, Object) - Method in interface org.craftercms.core.cache.impl.CacheStoreAdapter
-
Retrieves an item from a scope.
- get(String, Object) - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
-
Retrieves an item from a scope.
- get(String, Object) - Method in class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Retrieves an item from a scope.
- get(String, Object) - Method in class org.craftercms.core.cache.impl.store.NoopCacheStoreAdapter
- get(Context, Object) - Method in interface org.craftercms.core.service.CacheService
-
Retrieves an item's value from the scope of the given context, or null if not found.
- get(Context, Object) - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- getActualList() - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- getBaseNameAndExtensionToken() - Method in interface org.craftercms.core.util.url.ContentBundleUrl
- getBaseNameAndExtensionToken() - Method in class org.craftercms.core.util.url.impl.ContentBundleUrlImpl
- getCacheLoader(Callback<T>, long) - Method in class org.craftercms.core.util.cache.impl.DefaultCacheTemplate
- getCacheScope() - Method in interface org.craftercms.core.service.Context
- getCacheScope() - Method in class org.craftercms.core.service.ContextImpl
- getCacheService() - Method in interface org.craftercms.core.util.cache.CacheTemplate
-
Returns the underlying cache service used.
- getCacheService() - Method in class org.craftercms.core.util.cache.impl.DefaultCacheTemplate
- getCacheVersion() - Method in interface org.craftercms.core.service.Context
- getCacheVersion() - Method in class org.craftercms.core.service.ContextImpl
- getCachingTime() - Method in interface org.craftercms.core.util.cache.CachingAwareObject
- getCachingTime() - Method in class org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
- getChild() - Method in class org.craftercms.core.xml.mergers.impl.cues.MergeCueContext
- getChildren() - Method in class org.craftercms.core.service.Tree
-
Returns the tree's children.
- getChildren(Context, String) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the children of the folder at the given url.
- getChildren(Context, CachingOptions, String, ItemFilter, ItemProcessor) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the children of the folder at the given url.
- getChildren(Context, CachingOptions, String, ItemFilter, ItemProcessor, boolean) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the children of the folder at the given url.
- getChildren(Context, CachingOptions, String, ItemFilter, ItemProcessor, boolean) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- getChildren(Context, CachingOptions, File) - Method in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
-
Returns the list of children of the given directory.
- getChildren(Context, CachingOptions, File) - Method in class org.craftercms.core.store.impl.filesystem.FileSystemContentStoreAdapter
- getChildren(WebRequest, HttpServletResponse, String, String, boolean) - Method in class org.craftercms.core.controller.rest.ContentStoreRestController
- getContent(Context, String) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the content of the file for the given url.
- getContent(Context, CachingOptions, String) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the content of the file for the given url.
- getContent(Context, CachingOptions, String) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Returns the content of the file for the given url.
- getContent(Context, CachingOptions, File) - Method in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
-
Returns the
Content
for the given file. - getContent(Context, CachingOptions, File) - Method in class org.craftercms.core.store.impl.filesystem.FileSystemContentStoreAdapter
- getContentBundleUrl(String) - Method in interface org.craftercms.core.util.url.ContentBundleUrlParser
- getContentBundleUrl(String) - Method in class org.craftercms.core.util.url.impl.RegexBasedContentBundleUrlParser
- getContext(String) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the open
Context
for the given ID, or null if no context found for the ID. - getContext(String) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Returns the open
Context
for the given ID, or null if no context found for the ID. - getContext(String, String, String, boolean, boolean, int, boolean) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns a context with the specified parameters, if the context doesn't exist it will be created.
- getContext(String, String, String, boolean, boolean, int, boolean) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Returns a context with the specified parameters, if the context doesn't exist it will be created.
- getDescriptor(WebRequest, HttpServletResponse, String, String, boolean) - Method in class org.craftercms.core.controller.rest.ContentStoreRestController
-
Deprecated.Will be removed in 4.1, use
getItem
instead - getDescriptorDom() - Method in class org.craftercms.core.service.Item
-
Returns the DOM (Document Object Model) of the item's descriptor.
- getDescriptorDom(Context, CachingOptions, String) - Method in class org.craftercms.core.xml.mergers.impl.strategies.ContentBundleMergeStrategy
- getDescriptorDom(Context, CachingOptions, String) - Method in class org.craftercms.core.xml.mergers.impl.strategies.ExplicitParentMergeStrategy
- getDescriptors(Context, CachingOptions, String, Document) - Method in interface org.craftercms.core.xml.mergers.DescriptorMergeStrategy
-
Returns the list of descriptors in the order they should be merged, given the URI of the primary descriptor.
- getDescriptors(Context, CachingOptions, String, Document) - Method in class org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
- getDescriptors(Context, CachingOptions, String, Document) - Method in class org.craftercms.core.xml.mergers.impl.strategies.ContentBundleMergeStrategy
- getDescriptors(Context, CachingOptions, String, Document) - Method in class org.craftercms.core.xml.mergers.impl.strategies.ExplicitParentMergeStrategy
- getDescriptors(Context, CachingOptions, String, Document) - Method in class org.craftercms.core.xml.mergers.impl.strategies.SingleFileMergeStrategy
- getDescriptors(Context, CachingOptions, String, Document, boolean) - Method in interface org.craftercms.core.xml.mergers.DescriptorMergeStrategy
-
Returns the list of descriptors in the order they should be merged, given the URI of the primary descriptor.
- getDescriptors(Context, CachingOptions, String, Document, boolean) - Method in class org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
- getDescriptors(Context, CachingOptions, String, Document, boolean) - Method in class org.craftercms.core.xml.mergers.impl.strategies.ContentBundleMergeStrategy
- getDescriptors(Context, CachingOptions, String, Document, boolean) - Method in class org.craftercms.core.xml.mergers.impl.strategies.ExplicitParentMergeStrategy
- getDescriptors(Context, CachingOptions, String, Document, boolean) - Method in class org.craftercms.core.xml.mergers.impl.strategies.SingleFileMergeStrategy
- getDescriptorUrl() - Method in class org.craftercms.core.service.Item
-
Returns the url or path of the item's descriptor in the content store.
- getEvictionCount() - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStatistics
- getExpireAfter() - Method in class org.craftercms.core.service.CachingOptions
- getField() - Method in class org.craftercms.core.controller.rest.ValidationFieldError
- getFile() - Method in class org.craftercms.core.store.impl.filesystem.FileSystemFile
- getHitCount() - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStatistics
- getId() - Method in interface org.craftercms.core.service.Context
- getId() - Method in class org.craftercms.core.service.ContextImpl
- getId() - Method in class org.craftercms.core.util.template.impl.IdentifiableStringTemplateSource
- getIndexAfterBaseFolder(String) - Method in class org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
- getInputStream() - Method in interface org.craftercms.core.service.Content
-
Returns a
InputStream
for the data. - getInputStream() - Method in class org.craftercms.core.service.impl.ResourceBasedContent
- getInputStream() - Method in class org.craftercms.core.store.impl.filesystem.FileSystemContent
- getItem(Context, Object) - Method in interface org.craftercms.core.service.CacheService
-
Retrieves an item from the scope of the given context, or null if not found.
- getItem(Context, Object) - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- getItem(Context, String) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the content store item for the given url.
- getItem(Context, CachingOptions, String, ItemProcessor) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the content store item for the given url.
- getItem(Context, CachingOptions, String, ItemProcessor, boolean) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the content store item for the given url.
- getItem(Context, CachingOptions, String, ItemProcessor, boolean) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- getItem(WebRequest, HttpServletResponse, String, String, boolean) - Method in class org.craftercms.core.controller.rest.ContentStoreRestController
- getItemToInclude(Context, CachingOptions, String) - Method in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
- getKey() - Method in interface org.craftercms.core.cache.CacheItem
-
Returns the item's key, used to identify the item within the cache.
- getKey() - Method in class org.craftercms.core.cache.impl.CacheItemImpl
-
Returns the item's key, used to identify the item within the cache.
- getKey() - Method in interface org.craftercms.core.util.cache.CachingAwareObject
- getKey() - Method in class org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
- getKey(Object...) - Method in interface org.craftercms.core.util.cache.CacheTemplate
-
Creates a key from the specified elements
- getKey(Object...) - Method in class org.craftercms.core.util.cache.impl.DefaultCacheTemplate
- getKeys(String) - Method in interface org.craftercms.core.cache.Cache
-
Returns a list of the keys of the items present in the specified scope.
- getKeys(String) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Returns a list of the keys of the items present in the specified scope.
- getKeys(String) - Method in interface org.craftercms.core.cache.impl.CacheStoreAdapter
-
Returns a list of the keys of the items present in the specified scope.
- getKeys(String) - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
-
Returns a list of the keys of the items present in the specified scope.
- getKeys(String) - Method in class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Returns a list of the keys of the items present in the specified scope.
- getKeys(String) - Method in class org.craftercms.core.cache.impl.store.NoopCacheStoreAdapter
- getKeys(Context) - Method in interface org.craftercms.core.service.CacheService
-
Returns a list of the keys of the items present in the scope of the given context.
- getKeys(Context) - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- getLastModified() - Method in interface org.craftercms.core.service.Content
-
Returns the last modified date of the content.
- getLastModified() - Method in class org.craftercms.core.service.impl.ResourceBasedContent
- getLastModified() - Method in class org.craftercms.core.store.impl.filesystem.FileSystemContent
- getLastModified() - Method in class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader.StringTemplateSource
- getLastModified(Object) - Method in class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader
- getLength() - Method in interface org.craftercms.core.service.Content
-
Returns the content length.
- getLength() - Method in class org.craftercms.core.service.impl.ResourceBasedContent
- getLength() - Method in class org.craftercms.core.store.impl.filesystem.FileSystemContent
- getLoader() - Method in interface org.craftercms.core.cache.CacheItem
-
Returns the
CacheLoader
used to refresh this item. - getLoader() - Method in class org.craftercms.core.cache.impl.CacheItemImpl
-
Returns the
CacheLoader
used to refresh this item. - getLoaderParams() - Method in interface org.craftercms.core.cache.CacheItem
-
Returns the additional parameters required by the
CacheLoader.load(Object...)
method. - getLoaderParams() - Method in class org.craftercms.core.cache.impl.CacheItemImpl
-
Returns the additional parameters required by the
CacheLoader.load(Object...)
method. - getLoadExceptionCount() - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStatistics
- getLoadSuccessCount() - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStatistics
- getLongName(Context, CachingOptions, String, String) - Method in class org.craftercms.core.url.impl.ShortToLongUrlTransformer
- getLongUrl(Context, CachingOptions, String, boolean) - Method in class org.craftercms.core.url.impl.ShortToLongUrlTransformer
- getMaxAllowedItemsInCache() - Method in interface org.craftercms.core.service.Context
- getMaxAllowedItemsInCache() - Method in class org.craftercms.core.service.ContextImpl
- getMergeCue() - Method in class org.craftercms.core.xml.mergers.impl.cues.MergeCueContext
- getMergeCue(Element, Element) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeCueResolverImpl
- getMergeCue(Element, Element) - Method in interface org.craftercms.core.xml.mergers.impl.cues.MergeCueResolver
- getMergeCueAttribute(Element, Map<QName, MergeCue>) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeCueResolverImpl
- getMergeCueParams() - Method in class org.craftercms.core.xml.mergers.impl.cues.MergeCueContext
- getMergeCueParams(Element, Attribute) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeCueResolverImpl
- getMergeOrder(Map<String, String>) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeParentAndChildMergeCue
- getMessage() - Method in class org.craftercms.core.controller.rest.ValidationFieldError
- getMissCount() - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStatistics
- getModel(Item, Node, String) - Method in class org.craftercms.core.processors.impl.template.BeanFactoryModelFactory
-
Returns always the
BeanFactory
of the current Spring application context as the model. - getModel(Item, Node, String) - Method in interface org.craftercms.core.processors.impl.template.NodeTemplateModelFactory
-
Returns the model for a given template of a given node.
- getName() - Method in class org.craftercms.core.service.Item
-
Returns name of the item (basically the file name).
- getName() - Method in interface org.craftercms.core.store.impl.File
- getName() - Method in class org.craftercms.core.store.impl.filesystem.FileSystemFile
- getName() - Method in class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader.StringTemplateSource
- getObject() - Method in class org.craftercms.core.cache.impl.store.SwitchableCacheStoreAdapterFactoryBean
- getObject(Context, Callback<T>, Object...) - Method in interface org.craftercms.core.util.cache.CacheTemplate
-
Executes the template, using the specified callback to load the object to cache, if it's not already in the cache.
- getObject(Context, Callback<T>, Object...) - Method in class org.craftercms.core.util.cache.impl.DefaultCacheTemplate
- getObject(Context, CachingOptions, Callback<T>, Object...) - Method in interface org.craftercms.core.util.cache.CacheTemplate
-
Executes the template, using the specified callback to load the object to cache, if it's not already in the cache.
- getObject(Context, CachingOptions, Callback<T>, Object...) - Method in class org.craftercms.core.util.cache.impl.DefaultCacheTemplate
- getObject(Context, CachingOptions, Callback<T>, Object...) - Method in class org.craftercms.core.util.cache.impl.NoopCacheTemplate
- getObjectType() - Method in class org.craftercms.core.cache.impl.store.SwitchableCacheStoreAdapterFactoryBean
- getParent() - Method in class org.craftercms.core.xml.mergers.impl.cues.MergeCueContext
- getPath() - Method in interface org.craftercms.core.store.impl.File
- getPath() - Method in class org.craftercms.core.store.impl.filesystem.FileSystemFile
- getPrefix() - Method in interface org.craftercms.core.util.url.ContentBundleUrl
- getPrefix() - Method in class org.craftercms.core.util.url.impl.ContentBundleUrlImpl
- getPriority() - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.AbstractMergeCue
- getPriority() - Method in interface org.craftercms.core.xml.mergers.impl.cues.MergeCue
- getProcessor(ItemProcessor, boolean) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- getProcessor(Item) - Method in class org.craftercms.core.processors.impl.resolvers.ItemProcessorResolverChain
-
Returns the
ItemProcessor
to use for the given item. - getProcessor(Item) - Method in class org.craftercms.core.processors.impl.resolvers.MetaDataProcessorResolver
-
Looks for the processor element (by querying it with the
processorElementXPathQuery
) in the item's descriptor. - getProcessor(Item) - Method in class org.craftercms.core.processors.impl.resolvers.SingleProcessorResolver
-
Returns the same processor for any item.
- getProcessor(Item) - Method in class org.craftercms.core.processors.impl.resolvers.UrlPatternProcessorResolver
-
If the item url matches one of the patterns defined in
patternToProcessorMappings
, the processor mapped to that pattern is returned. - getProcessor(Item) - Method in interface org.craftercms.core.processors.ItemProcessorResolver
-
Returns a
ItemProcessor
for a givenItem
. - getProperties() - Method in class org.craftercms.core.service.Item
-
Returns the properties of the item, which most of the time are metadata information on the item.
- getProperty(String) - Method in class org.craftercms.core.service.Item
-
Returns the property value for the specified key.
- getReader(Object, String) - Method in class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader
- getRefreshFrequency() - Method in class org.craftercms.core.service.CachingOptions
- getRootFolder() - Method in class org.craftercms.core.store.impl.filesystem.FileSystemContext
- getScope() - Method in interface org.craftercms.core.cache.CacheItem
-
Returns the item's scope.
- getScope() - Method in class org.craftercms.core.cache.impl.CacheItemImpl
-
Returns the item's scope.
- getScope() - Method in interface org.craftercms.core.util.cache.CachingAwareObject
- getScope() - Method in class org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
- getScopeAndKeyString(CacheItem) - Method in class org.craftercms.core.cache.impl.CacheRefresherImpl
- getScopes() - Method in interface org.craftercms.core.cache.Cache
-
Returns the list of scopes this cache manages.
- getScopes() - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Returns the list of scopes this cache manages.
- getScopes() - Method in interface org.craftercms.core.cache.impl.CacheStoreAdapter
-
Returns the scopes managed by the underlying store.
- getScopes() - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
-
Returns the scopes managed by the underlying store.
- getScopes() - Method in class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Returns the scopes managed by the underlying store.
- getScopes() - Method in class org.craftercms.core.cache.impl.store.NoopCacheStoreAdapter
- getScopes() - Method in interface org.craftercms.core.service.CacheService
-
Returns the list of scopes this cache manages.
- getScopes() - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- getShortName(String, String, int) - Static method in class org.craftercms.core.util.UrlUtils
-
Returns the short name representation of a long name.
- getShortUrl(String) - Method in class org.craftercms.core.url.impl.LongToShortUrlTransformer
- getSize() - Method in class org.craftercms.core.cache.CacheStatistics
- getSize(String) - Method in interface org.craftercms.core.cache.Cache
-
Returns the quantity of items present in the specified scope.
- getSize(String) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Returns the quantity of items present in the specified scope.
- getSize(String) - Method in interface org.craftercms.core.cache.impl.CacheStoreAdapter
-
Returns the quantity of items present in the specified scope.
- getSize(String) - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
-
Returns the quantity of items present in the specified scope.
- getSize(String) - Method in class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Returns the quantity of items present in the specified scope.
- getSize(String) - Method in class org.craftercms.core.cache.impl.store.NoopCacheStoreAdapter
- getSize(Context) - Method in interface org.craftercms.core.service.CacheService
-
Returns the quantity of items present in scope of the given context.
- getSize(Context) - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- getSource() - Method in class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader.StringTemplateSource
- getSource() - Method in class org.craftercms.core.util.template.impl.IdentifiableStringTemplateSource
- getStatistics(String) - Method in interface org.craftercms.core.cache.Cache
-
Returns the statistics of the specified scope in the cache.
- getStatistics(String) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Returns the statistics of the specified scope in the cache.
- getStatistics(String) - Method in interface org.craftercms.core.cache.impl.CacheStoreAdapter
-
Returns the statistics of the specified scope from the underlying store.
- getStatistics(String) - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
-
Returns the statistics of the specified scope from the underlying store.
- getStatistics(String) - Method in class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Returns the statistics of the specified scope from the underlying store.
- getStatistics(String) - Method in class org.craftercms.core.cache.impl.store.NoopCacheStoreAdapter
- getStatistics(Context) - Method in interface org.craftercms.core.service.CacheService
-
Returns the statistics for the scope of the given context.
- getStatistics(Context) - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- getStoreAdapter() - Method in interface org.craftercms.core.service.Context
- getStoreAdapter() - Method in class org.craftercms.core.service.ContextImpl
- getStrategy(String, Document) - Method in interface org.craftercms.core.xml.mergers.DescriptorMergeStrategyResolver
-
Returns a
DescriptorMergeStrategy
for a given descriptor. - getStrategy(String, Document) - Method in class org.craftercms.core.xml.mergers.impl.resolvers.DescriptorMergeStrategyResolverChain
-
Returns the first non-null strategy returned by a
DescriptorMergeStrategyResolver
of the chain. - getStrategy(String, Document) - Method in class org.craftercms.core.xml.mergers.impl.resolvers.MetaDataMergeStrategyResolver
-
Returns a
DescriptorMergeStrategy
for a given descriptor. - getStrategy(String, Document) - Method in class org.craftercms.core.xml.mergers.impl.resolvers.SingleMergeStrategyResolver
-
Returns always the same
DescriptorMergeStrategy
, defined in thestrategy
property. - getStrategy(String, Document) - Method in class org.craftercms.core.xml.mergers.impl.resolvers.UrlPatternMergeStrategyResolver
-
Returns a
DescriptorMergeStrategy
for a given descriptor, picked by matching the descriptor URL to a pattern associated to the strategy. - getSuffix() - Method in interface org.craftercms.core.util.url.ContentBundleUrl
- getSuffix() - Method in class org.craftercms.core.util.url.impl.ContentBundleUrlImpl
- getTagValues(Item) - Method in class org.craftercms.core.processors.impl.AbstractTaggingProcessor
-
If this method returns null or an empty string the item will not be tagged.
- getTagValues(Item) - Method in class org.craftercms.core.processors.impl.TaggingByFieldValueProcessor
- getTagValues(Item) - Method in class org.craftercms.core.processors.impl.TaggingByPathProcessor
- getThrowableOfType(Throwable, Class<T>) - Static method in class org.craftercms.core.util.ExceptionUtils
- getTicksAtCreation() - Method in interface org.craftercms.core.cache.CacheItem
-
Returns the number of ticks that had passed at the moment the item was created.
- getTicksAtCreation() - Method in class org.craftercms.core.cache.impl.CacheItemImpl
-
Returns the number of ticks that had passed at the moment the item was created.
- getTicksToExpire() - Method in interface org.craftercms.core.cache.CacheItem
-
Returns the number of ticks that are required for the item to expire.
- getTicksToExpire() - Method in class org.craftercms.core.cache.impl.CacheItemImpl
-
Returns the number of ticks that are required for the item to expire.
- getTicksToRefresh() - Method in interface org.craftercms.core.cache.CacheItem
-
Returns the number of ticks the are required for the item to be refreshed.
- getTicksToRefresh() - Method in class org.craftercms.core.cache.impl.CacheItemImpl
-
Returns the number of ticks the are required for the item to be refreshed.
- getTotalLoadTime() - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStatistics
- getTree(Context, String) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the folder at the given url as a tree.
- getTree(Context, String, int) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the folder at the given url as a tree.
- getTree(Context, CachingOptions, String, int, ItemFilter, ItemProcessor) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the folder at the given url as a tree.
- getTree(Context, CachingOptions, String, int, ItemFilter, ItemProcessor, boolean) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns the folder at the given url as a tree.
- getTree(Context, CachingOptions, String, int, ItemFilter, ItemProcessor, boolean) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- getTree(WebRequest, HttpServletResponse, String, String, Integer, boolean) - Method in class org.craftercms.core.controller.rest.ContentStoreRestController
- getUrl() - Method in class org.craftercms.core.service.Item
-
Returns the url or path of the item in the content store.
- getUrl() - Method in class org.craftercms.core.xml.mergers.MergeableDescriptor
- getValue() - Method in interface org.craftercms.core.cache.CacheItem
-
Returns the item's value.
- getValue() - Method in class org.craftercms.core.cache.impl.CacheItemImpl
-
Returns the item's value.
- GuavaCacheStatistics - Class in org.craftercms.core.cache.impl.store.guava
- GuavaCacheStatistics(Cache<K, V>) - Constructor for class org.craftercms.core.cache.impl.store.guava.GuavaCacheStatistics
- GuavaCacheStoreAdapter - Class in org.craftercms.core.cache.impl.store.guava
-
Implementation of a
CacheStoreAdapter
using GuavaCache
s. - GuavaCacheStoreAdapter() - Constructor for class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
H
- handleAuthenticationException(HttpServletRequest, AuthenticationException) - Method in class org.craftercms.core.controller.rest.ExceptionHandlers
- handleConstraintValidationException(ConstraintViolationException) - Method in class org.craftercms.core.controller.rest.ExceptionHandlers
- handledType() - Method in class org.craftercms.core.util.json.jackson.Dom4jDocumentJsonSerializer
- handleException(HttpServletRequest, Exception) - Method in class org.craftercms.core.controller.rest.ExceptionHandlers
- handleForbiddenPathException(HttpServletRequest, ForbiddenPathException) - Method in class org.craftercms.core.controller.rest.ExceptionHandlers
- handleInvalidContextException(HttpServletRequest, InvalidManagementTokenException) - Method in class org.craftercms.core.controller.rest.ExceptionHandlers
- handleInvalidContextException(HttpServletRequest, InvalidContextException) - Method in class org.craftercms.core.controller.rest.ExceptionHandlers
- handleInvalidContextException(HttpServletRequest, MissingServletRequestParameterException) - Method in class org.craftercms.core.controller.rest.ExceptionHandlers
- handleMethodArgumentTypeMismatchException(MethodArgumentTypeMismatchException) - Method in class org.craftercms.core.controller.rest.ExceptionHandlers
- handlePathNotFoundException(HttpServletRequest, PathNotFoundException) - Method in class org.craftercms.core.controller.rest.ExceptionHandlers
- handleValidationException(HttpServletRequest, ValidationException) - Method in class org.craftercms.core.controller.rest.ExceptionHandlers
- handleValidationRuntimeException(HttpServletRequest, ValidationRuntimeException) - Method in class org.craftercms.core.controller.rest.ExceptionHandlers
- hashCode() - Method in class org.craftercms.core.cache.impl.CacheItemImpl
- hashCode() - Method in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
-
Returns the hash code for this instance, which is basically the combination of the hash code of each field.
- hashCode() - Method in class org.craftercms.core.processors.impl.ItemProcessorPipeline
-
Returns the hash code for this instance, which is basically the hash code of the list of processors.
- hashCode() - Method in class org.craftercms.core.processors.impl.TaggingByFieldValueProcessor
- hashCode() - Method in class org.craftercms.core.processors.impl.TaggingByPathProcessor
- hashCode() - Method in class org.craftercms.core.processors.impl.template.TemplateProcessor
-
Returns the hash code for this instance, which is basically the combination of the hash code of each field.
- hashCode() - Method in class org.craftercms.core.processors.impl.TextMetaDataCollectionExtractingProcessor
-
Returns the hash code for this instance, which is basically hash code of the list of XPath queries.
- hashCode() - Method in class org.craftercms.core.processors.impl.TextMetaDataExtractingProcessor
-
Returns the hash code for this instance, which is basically hash code of the list of XPath queries.
- hashCode() - Method in class org.craftercms.core.service.CachingOptions
- hashCode() - Method in class org.craftercms.core.service.ContextImpl
- hashCode() - Method in class org.craftercms.core.service.impl.CompositeItemFilter
- hashCode() - Method in class org.craftercms.core.service.Item
-
Returns the hash code, which is the combination of the hash code of
name
,url
,descriptorUrl
andfolder
. - hashCode() - Method in class org.craftercms.core.service.Tree
-
Returns the hash code, which is a combination of
Item.hashCode()
and the list of children's hash code. - hashCode() - Method in class org.craftercms.core.store.impl.filesystem.FileSystemFile
- hashCode() - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- hashCode() - Method in class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader.StringTemplateSource
- hashCode() - Method in class org.craftercms.core.util.xml.impl.RegexNodeScanner
- hashCode() - Method in class org.craftercms.core.util.xml.impl.XPathNodeScanner
- hashCode() - Method in class org.craftercms.core.xml.mergers.MergeableDescriptor
- hasKey(String, Object) - Method in interface org.craftercms.core.cache.Cache
-
Returns true if there's and item with the specified key in the specified scope.
- hasKey(String, Object) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Returns true if there's and item with the specified key in the specified scope.
- hasKey(String, Object) - Method in interface org.craftercms.core.cache.impl.CacheStoreAdapter
-
Returns true if there's and item with the specified key in the specified scope.
- hasKey(String, Object) - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
-
Returns true if there's and item with the specified key in the specified scope.
- hasKey(String, Object) - Method in class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Returns true if there's and item with the specified key in the specified scope.
- hasKey(String, Object) - Method in class org.craftercms.core.cache.impl.store.NoopCacheStoreAdapter
- hasKey(Context, Object) - Method in interface org.craftercms.core.service.CacheService
-
Returns true if there's and item with the specified key in the scope of the given context.
- hasKey(Context, Object) - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- hasObject(Context, Object...) - Method in interface org.craftercms.core.util.cache.CacheTemplate
-
Returns true if the cache contains an object for the specified key elements
- hasObject(Context, Object...) - Method in class org.craftercms.core.util.cache.impl.DefaultCacheTemplate
- hasScope(String) - Method in interface org.craftercms.core.cache.Cache
-
Returns true if the specified scope exists in the cache.
- hasScope(String) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Returns true if the specified scope exists in the cache.
- hasScope(String) - Method in interface org.craftercms.core.cache.impl.CacheStoreAdapter
-
Returns true if the specified scope exists in the cache.
- hasScope(String) - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
- hasScope(String) - Method in class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Returns true if the specified scope exists in the cache.
- hasScope(String) - Method in class org.craftercms.core.cache.impl.store.NoopCacheStoreAdapter
- hasScope(Context) - Method in interface org.craftercms.core.service.CacheService
-
Returns true if the scope of the given context exists.
- hasScope(Context) - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- hasTemplateSource(String) - Method in class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader
- hitCount - Variable in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStatistics
- HTTP_SCHEME - Static variable in class org.craftercms.core.url.impl.AddSchemeAndDomainAndServerPortUrlTransformer
- HTTPS_SCHEME - Static variable in class org.craftercms.core.url.impl.AddSchemeAndDomainAndServerPortUrlTransformer
- httpsPort - Variable in class org.craftercms.core.url.impl.AddSchemeAndDomainAndServerPortUrlTransformer
I
- id - Variable in class org.craftercms.core.service.ContextImpl
- idAttributeName - Variable in class org.craftercms.core.xml.mergers.impl.cues.impl.ElementMergeMatcherImpl
- IdentifiableStringTemplateSource - Class in org.craftercms.core.util.template.impl
-
Class description goes HERE
- IdentifiableStringTemplateSource(String, String) - Constructor for class org.craftercms.core.util.template.impl.IdentifiableStringTemplateSource
- IdentifierGenerator - Interface in org.craftercms.core.util.generators
-
Generator for unique string identifiers.
- IGNORABLE_ATTRIBUTES - Static variable in class org.craftercms.core.util.json.jackson.Dom4jDocumentJsonSerializer
- ignoreHiddenFiles - Variable in class org.craftercms.core.service.ContextImpl
- ignoreHiddenFiles() - Method in interface org.craftercms.core.service.Context
- ignoreHiddenFiles() - Method in class org.craftercms.core.service.ContextImpl
- IncludeByUrlItemFilter - Class in org.craftercms.core.service.impl
-
ItemFilter
that rejects an item if its URL doesn't match any one of a list of regexes. - IncludeByUrlItemFilter(String[]) - Constructor for class org.craftercms.core.service.impl.IncludeByUrlItemFilter
- includeDescriptors(Context, CachingOptions, Item) - Method in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
- IncludeDescriptorsProcessor - Class in org.craftercms.core.processors.impl
-
ItemProcessor
that finds special "include" tags found in a descriptor document and inserts there the document tree of descriptors specified in these "include" tags. - IncludeDescriptorsProcessor() - Constructor for class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
- includedItemsProcessor - Variable in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
-
Processor to use for included items.
- includedItemsStack - Static variable in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
- includeElementXPathQuery - Variable in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
-
XPath query for the include element.
- IncrementalTimestampGenerator - Class in org.craftercms.core.util.generators.impl
-
Implementation of
TimestampGenerator
that returns increments of a counter as timestamps. - IncrementalTimestampGenerator() - Constructor for class org.craftercms.core.util.generators.impl.IncrementalTimestampGenerator
- indexOf(Object) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- InheritLevelsMergeStrategy - Class in org.craftercms.core.xml.mergers.impl.strategies
-
Implementation of
AbstractInheritFromHierarchyMergeStrategy
. - InheritLevelsMergeStrategy() - Constructor for class org.craftercms.core.xml.mergers.impl.strategies.InheritLevelsMergeStrategy
- InheritVersionsMergeStrategy - Class in org.craftercms.core.xml.mergers.impl.strategies
-
Implementation of
AbstractInheritFromHierarchyMergeStrategy
. - InheritVersionsMergeStrategy() - Constructor for class org.craftercms.core.xml.mergers.impl.strategies.InheritVersionsMergeStrategy
- INSTANCE - Static variable in class org.craftercms.core.util.xml.marshalling.xstream.Dom4jDocumentConverter
- InternalCacheEngineException - Exception in org.craftercms.core.exception
-
Thrown when an error occurs in the underlying cache implementation used.
- InternalCacheEngineException() - Constructor for exception org.craftercms.core.exception.InternalCacheEngineException
- InternalCacheEngineException(String) - Constructor for exception org.craftercms.core.exception.InternalCacheEngineException
- InternalCacheEngineException(String, Throwable) - Constructor for exception org.craftercms.core.exception.InternalCacheEngineException
- InternalCacheEngineException(Throwable) - Constructor for exception org.craftercms.core.exception.InternalCacheEngineException
- InvalidContextException - Exception in org.craftercms.core.exception
-
Thrown to indicate that a specified
Context
is not a valid open context - InvalidContextException() - Constructor for exception org.craftercms.core.exception.InvalidContextException
- InvalidContextException(String) - Constructor for exception org.craftercms.core.exception.InvalidContextException
- InvalidContextException(String, Throwable) - Constructor for exception org.craftercms.core.exception.InvalidContextException
- InvalidContextException(Throwable) - Constructor for exception org.craftercms.core.exception.InvalidContextException
- InvalidScopeException - Exception in org.craftercms.core.exception
-
Thrown to indicate that a specified scope is not valid, that is, it is not registered in the cache.
- InvalidScopeException() - Constructor for exception org.craftercms.core.exception.InvalidScopeException
- InvalidScopeException(String) - Constructor for exception org.craftercms.core.exception.InvalidScopeException
- InvalidScopeException(String, Throwable) - Constructor for exception org.craftercms.core.exception.InvalidScopeException
- InvalidScopeException(Throwable) - Constructor for exception org.craftercms.core.exception.InvalidScopeException
- InvalidStoreTypeException - Exception in org.craftercms.core.exception
-
Thrown to indicate that a specified store type is invalid.
- InvalidStoreTypeException() - Constructor for exception org.craftercms.core.exception.InvalidStoreTypeException
- InvalidStoreTypeException(String) - Constructor for exception org.craftercms.core.exception.InvalidStoreTypeException
- InvalidStoreTypeException(String, Throwable) - Constructor for exception org.craftercms.core.exception.InvalidStoreTypeException
- InvalidStoreTypeException(Throwable) - Constructor for exception org.craftercms.core.exception.InvalidStoreTypeException
- isCacheOn() - Method in interface org.craftercms.core.service.Context
- isCacheOn() - Method in class org.craftercms.core.service.ContextImpl
- isDirectory() - Method in interface org.craftercms.core.store.impl.File
- isDirectory() - Method in class org.craftercms.core.store.impl.filesystem.FileSystemFile
- isEmpty() - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- isExpired(long) - Method in interface org.craftercms.core.cache.CacheItem
-
Returns true if the item has expired according to the number of ticks specified.
- isExpired(long) - Method in class org.craftercms.core.cache.impl.CacheItemImpl
-
Returns true if the item has expired according to the number of ticks specified.
- isFile() - Method in interface org.craftercms.core.store.impl.File
- isFile() - Method in class org.craftercms.core.store.impl.filesystem.FileSystemFile
- isFolder - Variable in class org.craftercms.core.service.Item
-
Flag that indicates if the item is a folder or not.
- isFolder() - Method in class org.craftercms.core.service.Item
-
Returns true if the item is a folder.
- isIncludeDisabled(Element) - Method in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
- isIncludeDisabled(Element) - Method in class org.craftercms.core.processors.impl.PageAwareIncludeDescriptorsProcessor
- isMergingOn() - Method in interface org.craftercms.core.service.Context
- isMergingOn() - Method in class org.craftercms.core.service.ContextImpl
- isOptional() - Method in class org.craftercms.core.xml.mergers.MergeableDescriptor
- isSingleton() - Method in class org.craftercms.core.cache.impl.store.SwitchableCacheStoreAdapterFactoryBean
- Item - Class in org.craftercms.core.service
-
Represents an item of a content store.
- Item() - Constructor for class org.craftercms.core.service.Item
-
Default no-arg constructor.
- Item(Item) - Constructor for class org.craftercms.core.service.Item
-
Copy constructor.
- Item(Item, boolean) - Constructor for class org.craftercms.core.service.Item
-
Copy constructor.
- ITEM_CLASS_ALIAS - Static variable in class org.craftercms.core.util.xml.marshalling.xstream.CrafterXStreamMarshaller
- ITEM_LIST_ATTRIBUTE_NAME - Static variable in class org.craftercms.core.util.json.jackson.Dom4jDocumentJsonSerializer
- ItemFilter - Interface in org.craftercms.core.service
-
Interface for item filters.
- ItemProcessingException - Exception in org.craftercms.core.exception
-
Thrown when an error occurred while a
ItemProcessor
was processing anItem
. - ItemProcessingException() - Constructor for exception org.craftercms.core.exception.ItemProcessingException
- ItemProcessingException(String) - Constructor for exception org.craftercms.core.exception.ItemProcessingException
- ItemProcessingException(String, Throwable) - Constructor for exception org.craftercms.core.exception.ItemProcessingException
- ItemProcessingException(Throwable) - Constructor for exception org.craftercms.core.exception.ItemProcessingException
- ItemProcessor - Interface in org.craftercms.core.processors
-
Processes an
Item
, by applying any needed modification to it. - ItemProcessorPipeline - Class in org.craftercms.core.processors.impl
-
Pipeline of
ItemProcessor
s. - ItemProcessorPipeline() - Constructor for class org.craftercms.core.processors.impl.ItemProcessorPipeline
-
Default no-args constructor.
- ItemProcessorPipeline(List<ItemProcessor>) - Constructor for class org.craftercms.core.processors.impl.ItemProcessorPipeline
-
Constructor that receives the list of processors which conform the pipeline.
- ItemProcessorPipeline(ItemProcessor...) - Constructor for class org.craftercms.core.processors.impl.ItemProcessorPipeline
-
Constructor that receives the list of processors (as an array) which conform the pipeline.
- ItemProcessorResolver - Interface in org.craftercms.core.processors
-
Resolves the
ItemProcessor
to use for a givenItem
. - ItemProcessorResolverChain - Class in org.craftercms.core.processors.impl.resolvers
-
Composite
ItemProcessorResolver
, that iterates through a list of resolvers until one of them provides a non-nullItemProcessor
. - ItemProcessorResolverChain() - Constructor for class org.craftercms.core.processors.impl.resolvers.ItemProcessorResolverChain
- ItemUrlTransformingProcessor - Class in org.craftercms.core.processors.impl
-
ItemProcessor
that takes the item url, transforms it by calling the transformation engine, and places the transformed url in the properties. - ItemUrlTransformingProcessor() - Constructor for class org.craftercms.core.processors.impl.ItemUrlTransformingProcessor
- iterator() - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
K
- key - Variable in class org.craftercms.core.cache.impl.CacheItemImpl
- key - Variable in class org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
L
- lastIndexOf(Object) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- levelDescriptorFileName - Variable in class org.craftercms.core.xml.mergers.impl.strategies.InheritLevelsMergeStrategy
- listIterator() - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- listIterator(int) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- load(Object...) - Method in interface org.craftercms.core.cache.CacheLoader
-
Loads a new value for an item.
- loadAndPutInCache(Context, CachingOptions, Callback<T>, Object) - Method in class org.craftercms.core.util.cache.impl.DefaultCacheTemplate
- loadAndPutInCache(Context, CachingOptions, Callback<T>, Object) - Method in class org.craftercms.core.util.cache.impl.NonLockingCacheTemplate
- loader - Variable in class org.craftercms.core.cache.impl.CacheItemImpl
- loaderParams - Variable in class org.craftercms.core.cache.impl.CacheItemImpl
- loadExceptionCount - Variable in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStatistics
- loadSuccessCount - Variable in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStatistics
- localeCodeXPathQuery - Variable in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
-
XPath query for the locale code element
- logGetFailure(Context, Callback<?>, Object, Exception) - Method in class org.craftercms.core.util.cache.impl.DefaultCacheTemplate
- logPutFailure(Context, Callback<?>, Object, Object, Exception) - Method in class org.craftercms.core.util.cache.impl.DefaultCacheTemplate
- LongToShortUrlTransformer - Class in org.craftercms.core.url.impl
-
Class description goes HERE
- LongToShortUrlTransformer() - Constructor for class org.craftercms.core.url.impl.LongToShortUrlTransformer
M
- MapCacheStoreAdapter - Class in org.craftercms.core.cache.impl.store
-
Implementation of a
CacheStoreAdapter
using an underlyingMap
. - MapCacheStoreAdapter() - Constructor for class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Default constructor.
- MapCacheStoreAdapter(List<String>) - Constructor for class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Constructor that receives a list of scopes that need to created.
- mapper - Variable in class org.craftercms.core.service.impl.ContentStoreServiceImpl
- marshal(Object, HierarchicalStreamWriter, MarshallingContext) - Method in class org.craftercms.core.util.xml.marshalling.xstream.Dom4jDocumentConverter
- marshalWriter(Object, Writer, DataHolder) - Method in class org.craftercms.core.util.xml.marshalling.xstream.CrafterXStreamMarshaller
-
Just as super(), but instead of a
CompactWriter
creates aEscapingCompactWriter
. - matchEntireNodeText - Variable in class org.craftercms.core.util.xml.impl.RegexNodeScanner
- matchForMerge(Element, Element) - Method in interface org.craftercms.core.xml.mergers.impl.cues.ElementMergeMatcher
- matchForMerge(Element, Element) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.ElementMergeMatcherImpl
- matchingNodes - Variable in class org.craftercms.core.util.xml.impl.RegexNodeScanner.RegexMatcherVisitor
- matchNodeText(Node) - Method in class org.craftercms.core.util.xml.impl.RegexNodeScanner.RegexMatcherVisitor
- maxAllowedItemsInCache - Variable in class org.craftercms.core.service.ContextImpl
- merge(List<Document>) - Method in interface org.craftercms.core.xml.mergers.DescriptorMerger
-
Merges a set of XML DOM descriptors into a new DOM.
- merge(List<Document>) - Method in class org.craftercms.core.xml.mergers.impl.DescriptorMergerImpl
- merge(Element, Element, Map<String, String>) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeParentAndChildMergeCue
- merge(Element, Element, Map<String, String>) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.UseChildIfNotEmptyMergeCue
- merge(Element, Element, Map<String, String>) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.UseChildMergeCue
- merge(Element, Element, Map<String, String>) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.UseParentIfNotEmptyMergeCue
- merge(Element, Element, Map<String, String>) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.UseParentMergeCue
- merge(Element, Element, Map<String, String>) - Method in interface org.craftercms.core.xml.mergers.impl.cues.MergeCue
- MergeableDescriptor - Class in org.craftercms.core.xml.mergers
-
Class description goes HERE
- MergeableDescriptor(String, boolean) - Constructor for class org.craftercms.core.xml.mergers.MergeableDescriptor
- MergeCue - Interface in org.craftercms.core.xml.mergers.impl.cues
-
Class description goes HERE
- MergeCueContext - Class in org.craftercms.core.xml.mergers.impl.cues
-
Class description goes HERE
- MergeCueContext(MergeCue, Element, Element, Map<String, String>) - Constructor for class org.craftercms.core.xml.mergers.impl.cues.MergeCueContext
- mergeCueResolver - Variable in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeParentAndChildMergeCue
- MergeCueResolver - Interface in org.craftercms.core.xml.mergers.impl.cues
-
Class description goes HERE
- MergeCueResolverImpl - Class in org.craftercms.core.xml.mergers.impl.cues.impl
-
Class description goes HERE
- MergeCueResolverImpl() - Constructor for class org.craftercms.core.xml.mergers.impl.cues.impl.MergeCueResolverImpl
- mergeOrderParamName - Variable in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeParentAndChildMergeCue
- MergeParentAndChildMergeCue - Class in org.craftercms.core.xml.mergers.impl.cues.impl
-
Class description goes HERE
- MergeParentAndChildMergeCue() - Constructor for class org.craftercms.core.xml.mergers.impl.cues.impl.MergeParentAndChildMergeCue
- merger - Variable in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Merges a bunch of descriptors
- mergeStrategyResolver - Variable in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Resolves the
DescriptorMergeStrategy
to use for a particular descriptor. - mergingOn - Variable in class org.craftercms.core.service.ContextImpl
- MESSAGE_MODEL_ATTRIBUTE_NAME - Static variable in class org.craftercms.core.controller.rest.RestControllerBase
- metadataFileExtension - Variable in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- MetaDataMergeStrategyResolver - Class in org.craftercms.core.xml.mergers.impl.resolvers
-
Resolves the
DescriptorMergeStrategy
to use for a given descriptor, based on the value of an element in the descriptor document. - MetaDataMergeStrategyResolver() - Constructor for class org.craftercms.core.xml.mergers.impl.resolvers.MetaDataMergeStrategyResolver
- metaDataNodesXPathQueries - Variable in class org.craftercms.core.processors.impl.TextMetaDataCollectionExtractingProcessor
-
Array of XPath queries for the nodes whose values should be extracted.
- metaDataNodesXPathQueries - Variable in class org.craftercms.core.processors.impl.TextMetaDataExtractingProcessor
-
Array of XPath queries for the nodes whose values should be extracted.
- MetaDataProcessorResolver - Class in org.craftercms.core.processors.impl.resolvers
-
ItemProcessorResolver
that searches the item's descriptor for a processor element that defines the name of the processor - MetaDataProcessorResolver() - Constructor for class org.craftercms.core.processors.impl.resolvers.MetaDataProcessorResolver
- missCount - Variable in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStatistics
- modelFactory - Variable in class org.craftercms.core.processors.impl.template.TemplateProcessor
-
Factory that provides the models for the templates.
- move(Collection<T>, Collection<T>) - Static method in class org.craftercms.core.util.CollectionUtils
- MUST_REVALIDATE_HEADER_VALUE - Static variable in class org.craftercms.core.controller.rest.ContentStoreRestController
N
- name - Variable in class org.craftercms.core.service.Item
-
The name of the item (basically the file name).
- needsRefresh(long) - Method in interface org.craftercms.core.cache.CacheItem
-
Returns true if the item needs to be refreshed according to the number of ticks specified.
- needsRefresh(long) - Method in class org.craftercms.core.cache.impl.CacheItemImpl
-
Returns true if the item needs to be refreshed according to the number of ticks specified.
- NEVER_EXPIRE - Static variable in interface org.craftercms.core.cache.CacheItem
-
Indicates that an item should never expire.
- NEVER_REFRESH - Static variable in interface org.craftercms.core.cache.CacheItem
-
Indicates that an item should never refresh.
- newField - Variable in class org.craftercms.core.processors.impl.AbstractTaggingProcessor
-
Name of the new field to add.
- NodeScanner - Interface in org.craftercms.core.util.xml
-
Scans an XML DOM for nodes that fit a certain condition.
- NodeTemplateModelFactory - Interface in org.craftercms.core.processors.impl.template
-
Factory that returns models for DOM node templates.
- NonLockingCacheTemplate - Class in org.craftercms.core.util.cache.impl
-
Extension of
DefaultCacheTemplate
that skips locking when loading items into the cache. - NonLockingCacheTemplate() - Constructor for class org.craftercms.core.util.cache.impl.NonLockingCacheTemplate
- NoopCacheStoreAdapter - Class in org.craftercms.core.cache.impl.store
-
Implementation of a
CacheStoreAdapter
that uses no data structure and whose operations do nothing. - NoopCacheStoreAdapter() - Constructor for class org.craftercms.core.cache.impl.store.NoopCacheStoreAdapter
- NoopCacheTemplate - Class in org.craftercms.core.util.cache.impl
-
Extension of
DefaultCacheTemplate
that executes the givenCallback
without additional checks. - NoopCacheTemplate() - Constructor for class org.craftercms.core.util.cache.impl.NoopCacheTemplate
- normalizePath(String) - Static method in class org.craftercms.core.util.ContentStoreUtils
-
Normalize the path: this means, append a leading '/' at the beginning and remove any trailing '/' (unless the path is root).
O
- org.craftercms.core.cache - package org.craftercms.core.cache
- org.craftercms.core.cache.impl - package org.craftercms.core.cache.impl
- org.craftercms.core.cache.impl.store - package org.craftercms.core.cache.impl.store
- org.craftercms.core.cache.impl.store.guava - package org.craftercms.core.cache.impl.store.guava
- org.craftercms.core.controller.rest - package org.craftercms.core.controller.rest
- org.craftercms.core.exception - package org.craftercms.core.exception
- org.craftercms.core.processors - package org.craftercms.core.processors
- org.craftercms.core.processors.impl - package org.craftercms.core.processors.impl
- org.craftercms.core.processors.impl.resolvers - package org.craftercms.core.processors.impl.resolvers
- org.craftercms.core.processors.impl.template - package org.craftercms.core.processors.impl.template
- org.craftercms.core.service - package org.craftercms.core.service
- org.craftercms.core.service.impl - package org.craftercms.core.service.impl
- org.craftercms.core.store - package org.craftercms.core.store
- org.craftercms.core.store.impl - package org.craftercms.core.store.impl
- org.craftercms.core.store.impl.filesystem - package org.craftercms.core.store.impl.filesystem
- org.craftercms.core.url - package org.craftercms.core.url
- org.craftercms.core.url.impl - package org.craftercms.core.url.impl
- org.craftercms.core.util - package org.craftercms.core.util
- org.craftercms.core.util.cache - package org.craftercms.core.util.cache
- org.craftercms.core.util.cache.impl - package org.craftercms.core.util.cache.impl
- org.craftercms.core.util.generators - package org.craftercms.core.util.generators
- org.craftercms.core.util.generators.impl - package org.craftercms.core.util.generators.impl
- org.craftercms.core.util.json.jackson - package org.craftercms.core.util.json.jackson
- org.craftercms.core.util.template - package org.craftercms.core.util.template
- org.craftercms.core.util.template.impl - package org.craftercms.core.util.template.impl
- org.craftercms.core.util.template.impl.freemarker - package org.craftercms.core.util.template.impl.freemarker
- org.craftercms.core.util.template.impl.spel - package org.craftercms.core.util.template.impl.spel
- org.craftercms.core.util.url - package org.craftercms.core.util.url
- org.craftercms.core.util.url.impl - package org.craftercms.core.util.url.impl
- org.craftercms.core.util.xml - package org.craftercms.core.util.xml
- org.craftercms.core.util.xml.impl - package org.craftercms.core.util.xml.impl
- org.craftercms.core.util.xml.marshalling.xstream - package org.craftercms.core.util.xml.marshalling.xstream
- org.craftercms.core.xml.mergers - package org.craftercms.core.xml.mergers
- org.craftercms.core.xml.mergers.impl - package org.craftercms.core.xml.mergers.impl
- org.craftercms.core.xml.mergers.impl.cues - package org.craftercms.core.xml.mergers.impl.cues
- org.craftercms.core.xml.mergers.impl.cues.impl - package org.craftercms.core.xml.mergers.impl.cues.impl
- org.craftercms.core.xml.mergers.impl.resolvers - package org.craftercms.core.xml.mergers.impl.resolvers
- org.craftercms.core.xml.mergers.impl.strategies - package org.craftercms.core.xml.mergers.impl.strategies
P
- PageAwareIncludeDescriptorsProcessor - Class in org.craftercms.core.processors.impl
-
Extension of
IncludeDescriptorsProcessor
that prevents pages from being included whendisablePageInclusion
is true. - PageAwareIncludeDescriptorsProcessor() - Constructor for class org.craftercms.core.processors.impl.PageAwareIncludeDescriptorsProcessor
- pagesPathPattern - Variable in class org.craftercms.core.processors.impl.PageAwareIncludeDescriptorsProcessor
- parentMergeCues - Variable in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeCueResolverImpl
- pathMapping - Variable in class org.craftercms.core.processors.impl.TaggingByPathProcessor
-
Map of paths & values, values can be multiple (separated by commas).
- PathNotFoundException - Exception in org.craftercms.core.exception
-
Thrown to indicate that a resource in a content store couldn't be reached (its path was not found).
- PathNotFoundException() - Constructor for exception org.craftercms.core.exception.PathNotFoundException
- PathNotFoundException(String) - Constructor for exception org.craftercms.core.exception.PathNotFoundException
- PathNotFoundException(String, Throwable) - Constructor for exception org.craftercms.core.exception.PathNotFoundException
- PathNotFoundException(Throwable) - Constructor for exception org.craftercms.core.exception.PathNotFoundException
- pathValidator - Variable in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- pattern - Variable in class org.craftercms.core.util.xml.impl.RegexNodeScanner.RegexMatcherVisitor
- patterns - Variable in class org.craftercms.core.util.xml.impl.RegexNodeScanner
- patternToProcessorMappings - Variable in class org.craftercms.core.processors.impl.resolvers.UrlPatternProcessorResolver
-
Mappings of url patterns to processor names.
- patternToReplace - Variable in class org.craftercms.core.url.impl.ReplacePatternAllUrlTransformer
- priority - Variable in class org.craftercms.core.xml.mergers.impl.cues.impl.AbstractMergeCue
- process(Object, Writer) - Method in interface org.craftercms.core.util.template.CompiledTemplate
- process(Object, Writer) - Method in class org.craftercms.core.util.template.impl.freemarker.FreeMarkerCompiledTemplate
- process(Object, Writer) - Method in class org.craftercms.core.util.template.impl.spel.SpElCompiledTemplate
- process(Context, CachingOptions, Item) - Method in class org.craftercms.core.processors.impl.AbstractTaggingProcessor
- process(Context, CachingOptions, Item) - Method in class org.craftercms.core.processors.impl.AttributeAddingProcessor
- process(Context, CachingOptions, Item) - Method in class org.craftercms.core.processors.impl.FieldRenamingProcessor
- process(Context, CachingOptions, Item) - Method in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
-
Replaces special include tags found in a descriptor document with the document tree of descriptors specified in these include tags.
- process(Context, CachingOptions, Item) - Method in class org.craftercms.core.processors.impl.ItemProcessorPipeline
-
Processes the given
Item
, by calling a pipeline of processors. - process(Context, CachingOptions, Item) - Method in class org.craftercms.core.processors.impl.ItemUrlTransformingProcessor
- process(Context, CachingOptions, Item) - Method in class org.craftercms.core.processors.impl.template.TemplateProcessor
-
Processes the content of certain nodes (found by the
NodeScanner
in the item's descriptor as templates, by compiling the node text templates through thetemplateCompiler
and then processing the compiled template with a model returned bymodelFactory
. - process(Context, CachingOptions, Item) - Method in class org.craftercms.core.processors.impl.TextMetaDataCollectionExtractingProcessor
-
For every XPath query provided in
metaDataNodesXPathQueries
, 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. - process(Context, CachingOptions, Item) - Method in class org.craftercms.core.processors.impl.TextMetaDataExtractingProcessor
-
For every XPath query provided in
metaDataNodesXPathQueries
, a single node is selected and its text value is extracted and put in the item's properties. - process(Context, CachingOptions, Item) - Method in interface org.craftercms.core.processors.ItemProcessor
-
Processes an
Item
. - processorElementXPathQuery - Variable in class org.craftercms.core.processors.impl.resolvers.MetaDataProcessorResolver
-
The XPath query for the processor element that defines the processor to use.
- processorResolver - Variable in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Resolves the
ItemProcessor
to use for a particularItem
. - processors - Variable in class org.craftercms.core.processors.impl.ItemProcessorPipeline
-
List of processors which conforms the pipeline
- properties - Variable in class org.craftercms.core.service.Item
-
The properties of the item, which most of the time are metadata information on the item.
- put(String, Object, Object) - Method in interface org.craftercms.core.cache.Cache
-
Puts an item in a scope.
- put(String, Object, Object) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Puts an item in a scope.
- put(String, Object, Object, long, long, CacheLoader, Object...) - Method in interface org.craftercms.core.cache.Cache
-
Puts and item in a scope.
- put(String, Object, Object, long, long, CacheLoader, Object...) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Puts and item in a scope.
- put(CacheItem) - Method in interface org.craftercms.core.cache.impl.CacheStoreAdapter
-
Puts an item in a scope.
- put(CacheItem) - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
-
Puts an item in a scope.
- put(CacheItem) - Method in class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Puts an item in a scope.
- put(CacheItem) - Method in class org.craftercms.core.cache.impl.store.NoopCacheStoreAdapter
- put(Context, Object, Object) - Method in interface org.craftercms.core.service.CacheService
-
Puts an item in the scope of the given context.
- put(Context, Object, Object) - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- put(Context, Object, Object, CachingOptions, CacheLoader, Object...) - Method in interface org.craftercms.core.service.CacheService
-
Puts and item in the scope of the given context.
- put(Context, Object, Object, CachingOptions, CacheLoader, Object...) - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- putTemplateSource(String, String) - Method in class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader
- putTemplateSource(String, String, long) - Method in class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader
Q
- queryDescriptorValue(String) - Method in class org.craftercms.core.service.Item
-
Queries a single descriptor node text value.
- queryDescriptorValues(String) - Method in class org.craftercms.core.service.Item
-
Queries multiple descriptor node text values.
R
- refreshItem(CacheItem, Cache) - Method in class org.craftercms.core.cache.impl.CacheRefresherImpl
-
Refreshes only one item.
- refreshItems(List<CacheItem>, Cache) - Method in interface org.craftercms.core.cache.impl.CacheRefresher
-
Refreshes the specified list of
CacheItem
s. - refreshItems(List<CacheItem>, Cache) - Method in class org.craftercms.core.cache.impl.CacheRefresherImpl
-
Refreshes the specified list of
CacheItem
s. - RegexBasedContentBundleUrlParser - Class in org.craftercms.core.util.url.impl
- RegexBasedContentBundleUrlParser() - Constructor for class org.craftercms.core.util.url.impl.RegexBasedContentBundleUrlParser
- RegexMatcherVisitor(List<Node>, Pattern) - Constructor for class org.craftercms.core.util.xml.impl.RegexNodeScanner.RegexMatcherVisitor
- RegexNodeScanner - Class in org.craftercms.core.util.xml.impl
-
NodeScanner
implementation that scans the document to find nodes that match certain regex patterns. - RegexNodeScanner() - Constructor for class org.craftercms.core.util.xml.impl.RegexNodeScanner
- RegexNodeScanner.RegexMatcherVisitor - Class in org.craftercms.core.util.xml.impl
- remove(int) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- remove(Object) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- remove(String, Object) - Method in interface org.craftercms.core.cache.Cache
-
Removes an item from a scope.
- remove(String, Object) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Removes an item from a scope.
- remove(String, Object) - Method in interface org.craftercms.core.cache.impl.CacheStoreAdapter
-
Removes an item from a scope.
- remove(String, Object) - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
-
Removes an item from a scope.
- remove(String, Object) - Method in class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Removes an item from a scope.
- remove(String, Object) - Method in class org.craftercms.core.cache.impl.store.NoopCacheStoreAdapter
- remove(Context, Object) - Method in interface org.craftercms.core.service.CacheService
-
Removes an item from the scope of the given context.
- remove(Context, Object) - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- removeAll(Collection<?>) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- removeChild(Item) - Method in class org.craftercms.core.service.Tree
-
Removes a child.
- removeFilter(ItemFilter) - Method in class org.craftercms.core.service.impl.CompositeItemFilter
-
Removes the specified
ItemFilter
from the filter list, only if the list is notnull
. - removeIncludeElement - Variable in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
-
Flag to indicate if the include element should be removed (false by default).
- RemovePrefixAndSuffixUrlTransformer - Class in org.craftercms.core.url.impl
-
Class description goes HERE
- RemovePrefixAndSuffixUrlTransformer() - Constructor for class org.craftercms.core.url.impl.RemovePrefixAndSuffixUrlTransformer
- removeProcessor(ItemProcessor) - Method in class org.craftercms.core.processors.impl.ItemProcessorPipeline
-
Removes a processor from the pipeline of processors.
- removeScope(String) - Method in interface org.craftercms.core.cache.Cache
-
Removes an existing scope and all the items that are in it.
- removeScope(String) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Removes an existing scope and all the items that are in it.
- removeScope(String) - Method in interface org.craftercms.core.cache.impl.CacheStoreAdapter
-
Removes an existing scope and all the items that are in it.
- removeScope(String) - Method in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStoreAdapter
-
Removes an existing scope and all the items that are in it.
- removeScope(String) - Method in class org.craftercms.core.cache.impl.store.MapCacheStoreAdapter
-
Removes an existing scope and all the items that are in it.
- removeScope(String) - Method in class org.craftercms.core.cache.impl.store.NoopCacheStoreAdapter
- removeScope(Context) - Method in interface org.craftercms.core.service.CacheService
-
Removes the scope associated to the given context
- removeScope(Context) - Method in class org.craftercms.core.service.impl.CacheServiceImpl
- removeTemplateSource(String) - Method in class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader
- replacement - Variable in class org.craftercms.core.url.impl.ReplacePatternAllUrlTransformer
- replacement - Variable in class org.craftercms.core.url.impl.ReplaceSubstringUrlTransformer
- ReplacePatternAllUrlTransformer - Class in org.craftercms.core.url.impl
-
Class description goes HERE
- ReplacePatternAllUrlTransformer() - Constructor for class org.craftercms.core.url.impl.ReplacePatternAllUrlTransformer
- ReplacePatternFirstUrlTransformer - Class in org.craftercms.core.url.impl
-
Class description goes HERE
- ReplacePatternFirstUrlTransformer() - Constructor for class org.craftercms.core.url.impl.ReplacePatternFirstUrlTransformer
- ReplaceSubstringUrlTransformer - Class in org.craftercms.core.url.impl
-
Class description goes HERE
- ReplaceSubstringUrlTransformer() - Constructor for class org.craftercms.core.url.impl.ReplaceSubstringUrlTransformer
- REQUEST_PARAM_CONTEXT_ID - Static variable in class org.craftercms.core.controller.rest.CacheRestController
- REQUEST_PARAM_CONTEXT_ID - Static variable in class org.craftercms.core.controller.rest.ContentStoreRestController
- REQUEST_PARAM_TREE_DEPTH - Static variable in class org.craftercms.core.controller.rest.ContentStoreRestController
- REQUEST_PARAM_URL - Static variable in class org.craftercms.core.controller.rest.ContentStoreRestController
- resolvers - Variable in class org.craftercms.core.processors.impl.resolvers.ItemProcessorResolverChain
-
The chain of resolvers.
- resource - Variable in class org.craftercms.core.service.impl.ResourceBasedContent
-
The resource
- ResourceBasedContent - Class in org.craftercms.core.service.impl
-
Implementation of
Content
that relies on aResource
- ResourceBasedContent(Resource) - Constructor for class org.craftercms.core.service.impl.ResourceBasedContent
- REST_BASE_URI - Static variable in class org.craftercms.core.controller.rest.RestControllerBase
- RestControllerBase - Class in org.craftercms.core.controller.rest
-
Base class for Crafter REST services
- RestControllerBase() - Constructor for class org.craftercms.core.controller.rest.RestControllerBase
- RESULT_KEY_VALIDATION_ERRORS - Static variable in class org.craftercms.core.controller.rest.ExceptionHandlers
- retainAll(Collection<?>) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- RootFolderNotFoundException - Exception in org.craftercms.core.exception
-
Exception thrown when creating a content store context an no root folder was found for the specified path.
- RootFolderNotFoundException(String) - Constructor for exception org.craftercms.core.exception.RootFolderNotFoundException
- rootFolderPath - Variable in class org.craftercms.core.service.ContextImpl
- runAfterProcessing() - Method in class org.craftercms.core.service.impl.CompositeItemFilter
-
Always returns true so that filters that need to run after processing are called.
- runAfterProcessing() - Method in class org.craftercms.core.service.impl.ExcludeByUrlItemFilter
- runAfterProcessing() - Method in class org.craftercms.core.service.impl.IncludeByUrlItemFilter
- runAfterProcessing() - Method in interface org.craftercms.core.service.ItemFilter
-
Returns true if the filter should be executed after all items are processed (basically, after all
ItemProcessor
are called). - runBeforeProcessing() - Method in class org.craftercms.core.service.impl.CompositeItemFilter
-
Always returns true so that filters that need to run before processing are called.
- runBeforeProcessing() - Method in class org.craftercms.core.service.impl.ExcludeByUrlItemFilter
- runBeforeProcessing() - Method in class org.craftercms.core.service.impl.IncludeByUrlItemFilter
- runBeforeProcessing() - Method in interface org.craftercms.core.service.ItemFilter
-
Returns true if the filter should be executed before any item is processed (basically, before any
ItemProcessor
is called).
S
- scan(Document) - Method in class org.craftercms.core.util.xml.impl.RegexNodeScanner
- scan(Document) - Method in class org.craftercms.core.util.xml.impl.XPathNodeScanner
- scan(Document) - Method in interface org.craftercms.core.util.xml.NodeScanner
-
Scans the specified document for nodes that fit a certain condition.
- scope - Variable in class org.craftercms.core.cache.impl.CacheItemImpl
- scope - Variable in class org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
- selectNodes(Node, String, Map<String, String>) - Static method in class org.craftercms.core.util.XmlUtils
-
Executes the specified namespace aware XPath query as a multiple node query, returning the resulting list of nodes.
- selectNodeValues(Node, String) - Static method in class org.craftercms.core.util.XmlUtils
-
Executes the specified XPath query as a multiple node query, returning the text values of the resulting list of nodes.
- selectNodeValues(Node, String, Map<String, String>) - Static method in class org.craftercms.core.util.XmlUtils
-
Executes the specified namespace aware XPath query as a multiple node query, returning the text values of the resulting list of nodes.
- selectObject(Node, String) - Static method in class org.craftercms.core.util.XmlUtils
-
Executes an XPath query to retrieve an object.
- selectSingleNode(Node, String, Map<String, String>) - Static method in class org.craftercms.core.util.XmlUtils
-
Executes the specified namespace aware XPath query as a single node query, returning the resulting single node.
- selectSingleNodeValue(Node, String) - Static method in class org.craftercms.core.util.XmlUtils
-
Executes the specified XPath query as a single node query, returning the text value of the resulting single node.
- selectSingleNodeValue(Node, String, Map<String, String>) - Static method in class org.craftercms.core.util.XmlUtils
-
Executes the specified namespace aware XPath query as a single node query, returning the text value of the resulting single node.
- serialize(Document, JsonGenerator, SerializerProvider) - Method in class org.craftercms.core.util.json.jackson.Dom4jDocumentJsonSerializer
- set(int, T) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- setActualList(List<T>) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- setAdapters(Map<String, ContentStoreAdapter>) - Method in class org.craftercms.core.store.impl.ContentStoreAdapterRegistryImpl
- setAddPrefixPathSeparator(boolean) - Method in class org.craftercms.core.url.impl.AddPrefixAndSuffixUrlTransformer
- setAddSuffixPathSeparator(boolean) - Method in class org.craftercms.core.url.impl.AddPrefixAndSuffixUrlTransformer
- setAllowedUrlPatterns(String[]) - Method in class org.craftercms.core.controller.rest.ContentStoreRestController
- setAttributeMappings(Map<String, Map<String, String>>) - Method in class org.craftercms.core.processors.impl.AttributeAddingProcessor
- setAuthorizationToken(String) - Method in class org.craftercms.core.controller.rest.CacheRestController
- setBaseDelimiter(String) - Method in class org.craftercms.core.url.impl.ContentBundleShortToLongUrlTransformer
- setBaseDelimiter(String) - Method in class org.craftercms.core.xml.mergers.impl.strategies.ContentBundleMergeStrategy
- setBaseFolders(String[]) - Method in class org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
- setBaseMergeStrategyResolver(DescriptorMergeStrategyResolver) - Method in class org.craftercms.core.xml.mergers.impl.strategies.ContentBundleMergeStrategy
- setBaseNameAndExtensionToken(String) - Method in class org.craftercms.core.util.url.impl.ContentBundleUrlImpl
- setBaseNameAndExtensionTokenGroup(int) - Method in class org.craftercms.core.util.url.impl.RegexBasedContentBundleUrlParser
- setBeanFactory(BeanFactory) - Method in class org.craftercms.core.processors.impl.template.BeanFactoryModelFactory
-
Sets the
BeanFactory
of the current Spring application context. - setBeanFactory(BeanFactory) - Method in class org.craftercms.core.util.template.impl.spel.SpELStringTemplateCompiler
- setCache(Cache) - Method in class org.craftercms.core.service.impl.CacheServiceImpl
-
Sets the cache engine.
- setCacheOn(boolean) - Method in class org.craftercms.core.cache.impl.store.SwitchableCacheStoreAdapterFactoryBean
- setCacheRefresher(CacheRefresher) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Sets the
CacheRefresher
, used to refresh the items of the cache. - setCacheService(CacheService) - Method in class org.craftercms.core.util.cache.impl.DefaultCacheTemplate
- setCacheStoreAdapter(CacheStoreAdapter) - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Sets the underlying
CacheStoreAdapter
- setCacheTemplate(CacheTemplate) - Method in class org.craftercms.core.controller.rest.CacheRestController
- setCacheTemplate(CacheTemplate) - Method in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- setCacheTemplate(CacheTemplate) - Method in class org.craftercms.core.url.impl.AbstractCachedUrlTransformationEngine
- setCacheVersion(long) - Method in interface org.craftercms.core.service.Context
- setCacheVersion(long) - Method in class org.craftercms.core.service.ContextImpl
- setCachingTime(Long) - Method in interface org.craftercms.core.util.cache.CachingAwareObject
- setCachingTime(Long) - Method in class org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
- setCharset(String) - Method in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- setChildMergeCues(Map<QName, MergeCue>) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeCueResolverImpl
- setChildren(List<Item>) - Method in class org.craftercms.core.service.Tree
-
Sets the tree's children.
- setContainsShortNameRegex(String) - Method in class org.craftercms.core.url.impl.LongToShortUrlTransformer
- setContainsShortNameRegex(String) - Method in class org.craftercms.core.url.impl.ShortToLongUrlTransformer
- setContentStoreService(ContentStoreService) - Method in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
-
Sets the content store service, used to retrieve the descriptors to include.
- setDebugParam(String) - Method in class org.craftercms.core.url.impl.AddDebugParamUrlTransformer
- setDefaultCachingOptions(CachingOptions) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
-
Sets the default caching options to use when none are specified in the method.
- setDefaultCachingOptions(CachingOptions) - Method in class org.craftercms.core.store.impl.AbstractCachedContentStoreAdapter
- setDefaultChildMergeCue(MergeCue) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeCueResolverImpl
- setDefaultMergeOrder(String) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeParentAndChildMergeCue
- setDefaultParentMergeCue(MergeCue) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeCueResolverImpl
- setDefaultProcessor(ItemProcessor) - Method in class org.craftercms.core.processors.impl.resolvers.ItemProcessorResolverChain
-
Sets the default to use if no resolver returns a processor.
- setDefaultStrategy(DescriptorMergeStrategy) - Method in class org.craftercms.core.xml.mergers.impl.resolvers.DescriptorMergeStrategyResolverChain
- setDefaultValue(String) - Method in class org.craftercms.core.processors.impl.AbstractTaggingProcessor
- setDefaultValue(String) - Method in class org.craftercms.core.processors.impl.TaggingByFieldValueProcessor
- setDescriptorDom(Document) - Method in class org.craftercms.core.service.Item
-
Sets the DOM (Document Object Model) of the item's descriptor.
- setDescriptorFileExtension(String) - Method in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- setDescriptorUrl(String) - Method in class org.craftercms.core.service.Item
-
Sets the url or path of the item's descriptor in the content store.
- setDisabledIncludeNodeXPathQuery(String) - Method in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
-
Sets the XPath query relative to include elements for nodes tha specify if the include is disabled or not.
- setDisablePageInclusion(boolean) - Method in class org.craftercms.core.processors.impl.PageAwareIncludeDescriptorsProcessor
- setDoCaching(boolean) - Method in class org.craftercms.core.service.CachingOptions
- setElementMergeMatcher(ElementMergeMatcher) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeParentAndChildMergeCue
- setElementValueToProcessorMappings(Map<String, ItemProcessor>) - Method in class org.craftercms.core.processors.impl.resolvers.MetaDataProcessorResolver
-
Sets the mappings of processor element values to processor names.
- setElementValueToStrategyMappings(Map<String, DescriptorMergeStrategy>) - Method in class org.craftercms.core.xml.mergers.impl.resolvers.MetaDataMergeStrategyResolver
- setEscapeXml(boolean) - Method in class org.craftercms.core.util.xml.marshalling.xstream.EscapingCompactWriter
- setEvalContext(EvaluationContext) - Method in class org.craftercms.core.util.template.impl.spel.SpELStringTemplateCompiler
- setExpireAfter(long) - Method in class org.craftercms.core.service.CachingOptions
- setFieldMappings(Map<String, String>) - Method in class org.craftercms.core.processors.impl.FieldRenamingProcessor
- setFilters(List<ItemFilter>) - Method in class org.craftercms.core.service.impl.CompositeItemFilter
-
Sets the list of filters.
- setFlatteningProcessor(ItemProcessor) - Method in class org.craftercms.core.service.impl.AbstractCachedContentStoreService
- setFolder(boolean) - Method in class org.craftercms.core.service.Item
-
Sets whether the item is a folder or not.
- setFolder(boolean) - Method in class org.craftercms.core.service.Tree
-
Overrides
Item.setFolder(boolean)
, by checking that the flag is never set to false, since a tree is always a folder. - setForbiddenUrlPatterns(String[]) - Method in class org.craftercms.core.controller.rest.ContentStoreRestController
- setForceHttps(boolean) - Method in class org.craftercms.core.url.impl.AddSchemeAndDomainAndServerPortUrlTransformer
- setHttpsPort(int) - Method in class org.craftercms.core.url.impl.AddSchemeAndDomainAndServerPortUrlTransformer
- setId(String) - Method in class org.craftercms.core.util.template.impl.IdentifiableStringTemplateSource
- setIdAttributeName(QName) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.ElementMergeMatcherImpl
- setIncludedItemsProcessor(ItemProcessor) - Method in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
-
Sets the processor to use for included items.
- setIncludeElementXPathQuery(String) - Method in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
-
Sets the XPath query used to retrieve the include elements.
- setInitialMergeCue(MergeCue) - Method in class org.craftercms.core.xml.mergers.impl.DescriptorMergerImpl
- setInitialMergeCueParams(Map<String, String>) - Method in class org.craftercms.core.xml.mergers.impl.DescriptorMergerImpl
- setKey(Object) - Method in interface org.craftercms.core.util.cache.CachingAwareObject
- setKey(Object) - Method in class org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
- setLevelDescriptorFileName(String) - Method in class org.craftercms.core.xml.mergers.impl.strategies.InheritLevelsMergeStrategy
- setLocaleCodeXPathQuery(String) - Method in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
- setMatchEntireNodeText(boolean) - Method in class org.craftercms.core.util.xml.impl.RegexNodeScanner
- setMergeCueResolver(MergeCueResolver) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeParentAndChildMergeCue
- setMergeOrderParamName(String) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeParentAndChildMergeCue
- setMergeStrategyElementXPathQuery(String) - Method in class org.craftercms.core.xml.mergers.impl.resolvers.MetaDataMergeStrategyResolver
- setMergeStrategyResolver(DescriptorMergeStrategyResolver) - Method in class org.craftercms.core.xml.mergers.impl.strategies.ExplicitParentMergeStrategy
- setMetadataFileExtension(String) - Method in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- setModelFactory(NodeTemplateModelFactory) - Method in class org.craftercms.core.processors.impl.template.TemplateProcessor
-
Sets the factory that provides the models for the templates.
- setName(String) - Method in class org.craftercms.core.service.Item
-
Sets the name of the item (basically the file name).
- setNewField(String) - Method in class org.craftercms.core.processors.impl.AbstractTaggingProcessor
- setOffCacheStoreAdapter(CacheStoreAdapter) - Method in class org.craftercms.core.cache.impl.store.SwitchableCacheStoreAdapterFactoryBean
- setOnCacheStoreAdapter(CacheStoreAdapter) - Method in class org.craftercms.core.cache.impl.store.SwitchableCacheStoreAdapterFactoryBean
- setOptional(boolean) - Method in class org.craftercms.core.xml.mergers.MergeableDescriptor
- setPagesPathPattern(String) - Method in class org.craftercms.core.processors.impl.PageAwareIncludeDescriptorsProcessor
- setParentDescriptorElementXPathQuery(String) - Method in class org.craftercms.core.xml.mergers.impl.strategies.ExplicitParentMergeStrategy
- setParentMergeCues(Map<QName, MergeCue>) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.MergeCueResolverImpl
- setParserContext(ParserContext) - Method in class org.craftercms.core.util.template.impl.spel.SpELStringTemplateCompiler
- setPathMapping(Map<String, String>) - Method in class org.craftercms.core.processors.impl.TaggingByPathProcessor
- setPathValidator(Validator) - Method in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- setPattern(Pattern) - Method in class org.craftercms.core.util.url.impl.RegexBasedContentBundleUrlParser
- setPatterns(Pattern...) - Method in class org.craftercms.core.util.xml.impl.RegexNodeScanner
- setPatternToProcessorMappings(Map<String, ItemProcessor>) - Method in class org.craftercms.core.processors.impl.resolvers.UrlPatternProcessorResolver
-
Sets the mappings of url patterns to processor names.
- setPatternToReplace(String) - Method in class org.craftercms.core.url.impl.ReplacePatternAllUrlTransformer
- setPrefix(String) - Method in class org.craftercms.core.url.impl.AddPrefixAndSuffixUrlTransformer
- setPrefix(String) - Method in class org.craftercms.core.url.impl.RemovePrefixAndSuffixUrlTransformer
- setPrefix(String) - Method in class org.craftercms.core.util.url.impl.ContentBundleUrlImpl
- setPrefixGroup(int) - Method in class org.craftercms.core.util.url.impl.RegexBasedContentBundleUrlParser
- setPrefixPathSeparator(boolean) - Method in class org.craftercms.core.url.impl.AddPrefixAndSuffixUrlTransformer
- setPriority(int) - Method in class org.craftercms.core.xml.mergers.impl.cues.impl.AbstractMergeCue
- setProcessor(ItemProcessor) - Method in class org.craftercms.core.processors.impl.resolvers.SingleProcessorResolver
-
Sets the processor to always return.
- setProcessorElementXPathQuery(String) - Method in class org.craftercms.core.processors.impl.resolvers.MetaDataProcessorResolver
-
Sets the XPath query for the processor element that defines the processor to use.
- setProcessors(List<ItemProcessor>) - Method in class org.craftercms.core.processors.impl.ItemProcessorPipeline
-
Sets the list of processors.
- setProperties(Map<String, Object>) - Method in class org.craftercms.core.service.Item
-
Sets properties of the item, which most of the time are metadata information on the item.
- setProperty(String, Object) - Method in class org.craftercms.core.service.Item
-
Adds the specified property value, associated to the specified key.
- setRefreshFrequency(long) - Method in class org.craftercms.core.service.CachingOptions
- setRegularMergeStrategy(DescriptorMergeStrategy) - Method in class org.craftercms.core.xml.mergers.impl.strategies.ContentBundleMergeStrategy
- setRemoveIncludeElement(boolean) - Method in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
-
Sets the flag to indicate if the include element should be removed (false by default).
- setReplacement(String) - Method in class org.craftercms.core.url.impl.ReplacePatternAllUrlTransformer
- setReplacement(String) - Method in class org.craftercms.core.url.impl.ReplaceSubstringUrlTransformer
- setResolvers(List<ItemProcessorResolver>) - Method in class org.craftercms.core.processors.impl.resolvers.ItemProcessorResolverChain
-
Sets the chain of resolvers.
- setResolvers(List<DescriptorMergeStrategyResolver>) - Method in class org.craftercms.core.xml.mergers.impl.resolvers.DescriptorMergeStrategyResolverChain
- setResourceLoader(ResourceLoader) - Method in class org.craftercms.core.store.impl.filesystem.FileSystemContentStoreAdapter
- setScope(String) - Method in interface org.craftercms.core.util.cache.CachingAwareObject
- setScope(String) - Method in class org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
- setServletContext(ServletContext) - Method in class org.craftercms.core.url.impl.AddContextPathUrlTransformer
- setShortNameRegexGroup(int) - Method in class org.craftercms.core.url.impl.LongToShortUrlTransformer
- setShortNameRegexGroup(int) - Method in class org.craftercms.core.url.impl.ShortToLongUrlTransformer
- setSource(String) - Method in class org.craftercms.core.util.template.impl.IdentifiableStringTemplateSource
- setSourceAttributeEnabled(boolean) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
- setSourceField(String) - Method in class org.craftercms.core.processors.impl.TaggingByFieldValueProcessor
- setStoreService(ContentStoreService) - Method in class org.craftercms.core.controller.rest.CacheRestController
- setStrategy(DescriptorMergeStrategy) - Method in class org.craftercms.core.xml.mergers.impl.resolvers.SingleMergeStrategyResolver
- setSubstringToReplace(String) - Method in class org.craftercms.core.url.impl.ReplaceSubstringUrlTransformer
- setSuffix(String) - Method in class org.craftercms.core.url.impl.AddPrefixAndSuffixUrlTransformer
- setSuffix(String) - Method in class org.craftercms.core.url.impl.RemovePrefixAndSuffixUrlTransformer
- setSuffix(String) - Method in class org.craftercms.core.util.url.impl.ContentBundleUrlImpl
- setSuffixGroup(int) - Method in class org.craftercms.core.util.url.impl.RegexBasedContentBundleUrlParser
- setSuffixPathSeparator(boolean) - Method in class org.craftercms.core.url.impl.AddPrefixAndSuffixUrlTransformer
- setSuppressXmlDeclaration(boolean) - Method in class org.craftercms.core.util.xml.marshalling.xstream.CrafterXStreamMarshaller
- setTemplateCompiler(TemplateCompiler<IdentifiableStringTemplateSource>) - Method in class org.craftercms.core.processors.impl.template.TemplateProcessor
-
Sets the template compiler.
- setTemplateConfiguration(Configuration) - Method in class org.craftercms.core.util.template.impl.freemarker.FreeMarkerStringTemplateCompiler
- setTemplateLoader(ConcurrentStringTemplateLoader) - Method in class org.craftercms.core.util.template.impl.freemarker.FreeMarkerStringTemplateCompiler
- setTemplateNodeScanner(NodeScanner) - Method in class org.craftercms.core.processors.impl.template.TemplateProcessor
-
Sets the
NodeScanner
for template nodes. - setTransformedUrlPropName(String) - Method in class org.craftercms.core.processors.impl.ItemUrlTransformingProcessor
- setTransformerName(String) - Method in class org.craftercms.core.processors.impl.ItemUrlTransformingProcessor
- setTransformers(Map<String, UrlTransformer>) - Method in class org.craftercms.core.url.impl.UrlTransformationEngineImpl
- setUnsupportedClasses(Class[]) - Method in class org.craftercms.core.util.xml.marshalling.xstream.CrafterXStreamMarshaller
- setUriTemplate(String) - Method in class org.craftercms.core.url.impl.ExtractRequestAttributesUrlTransformer
- setUrl(String) - Method in class org.craftercms.core.service.Item
-
Sets the url or path of the item in the content store.
- setUrl(String) - Method in class org.craftercms.core.xml.mergers.MergeableDescriptor
- setUrlParser(ContentBundleUrlParser) - Method in class org.craftercms.core.url.impl.ContentBundleShortToLongUrlTransformer
- setUrlParser(ContentBundleUrlParser) - Method in class org.craftercms.core.xml.mergers.impl.strategies.ContentBundleMergeStrategy
- setUrlPatternToStrategyMappings(Map<String, DescriptorMergeStrategy>) - Method in class org.craftercms.core.xml.mergers.impl.resolvers.UrlPatternMergeStrategyResolver
- setUrlTransformationEngine(UrlTransformationEngine) - Method in class org.craftercms.core.processors.impl.ItemUrlTransformingProcessor
- setValueMapping(Map<String, String>) - Method in class org.craftercms.core.processors.impl.TaggingByFieldValueProcessor
- setXPathQueries(String...) - Method in class org.craftercms.core.util.xml.impl.XPathNodeScanner
- ShortToLongUrlTransformer - Class in org.craftercms.core.url.impl
-
Class description goes HERE
- ShortToLongUrlTransformer() - Constructor for class org.craftercms.core.url.impl.ShortToLongUrlTransformer
- SingleFileMergeStrategy - Class in org.craftercms.core.xml.mergers.impl.strategies
-
DescriptorMergeStrategy
that returns the same specified descriptor URL. - SingleFileMergeStrategy() - Constructor for class org.craftercms.core.xml.mergers.impl.strategies.SingleFileMergeStrategy
- SingleMergeStrategyResolver - Class in org.craftercms.core.xml.mergers.impl.resolvers
-
DescriptorMergeStrategyResolver
that always returns the sameDescriptorMergeStrategy
for all descriptors - SingleMergeStrategyResolver() - Constructor for class org.craftercms.core.xml.mergers.impl.resolvers.SingleMergeStrategyResolver
- SingleProcessorResolver - Class in org.craftercms.core.processors.impl.resolvers
-
ItemProcessorResolver
that returns a fixedItemProcessor
- SingleProcessorResolver() - Constructor for class org.craftercms.core.processors.impl.resolvers.SingleProcessorResolver
- size - Variable in class org.craftercms.core.cache.CacheStatistics
- size() - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- sourceAttributeEnabled - Variable in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Indicates if the source attribute should be added when merging XML documents
- sourceAttributeName - Variable in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
The name of the attribute used to identify the source of an XML element
- sourceField - Variable in class org.craftercms.core.processors.impl.TaggingByFieldValueProcessor
-
The name of the existing field to query.
- sourceTypeAttributeName - Variable in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
The name of the attribute used to identify the type of the source of an XML element
- sourceTypeXPath - Variable in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
The XPath selector to extract the content-type from descriptors
- SpElCompiledTemplate - Class in org.craftercms.core.util.template.impl.spel
-
Class description goes HERE
- SpElCompiledTemplate(Expression, EvaluationContext) - Constructor for class org.craftercms.core.util.template.impl.spel.SpElCompiledTemplate
- SpELStringTemplateCompiler - Class in org.craftercms.core.util.template.impl.spel
-
Class description goes HERE
- SpELStringTemplateCompiler() - Constructor for class org.craftercms.core.util.template.impl.spel.SpELStringTemplateCompiler
- STORE_TYPE - Static variable in class org.craftercms.core.store.impl.filesystem.FileSystemContentStoreAdapter
- storeAdapter - Variable in class org.craftercms.core.service.ContextImpl
- storeAdapterRegistry - Variable in class org.craftercms.core.service.impl.ContentStoreServiceImpl
-
Registry of
ContentStoreAdapter
s. - StoreException - Exception in org.craftercms.core.exception
-
Thrown when an error occurred in the content store.
- StoreException() - Constructor for exception org.craftercms.core.exception.StoreException
- StoreException(String) - Constructor for exception org.craftercms.core.exception.StoreException
- StoreException(String, Throwable) - Constructor for exception org.craftercms.core.exception.StoreException
- StoreException(Throwable) - Constructor for exception org.craftercms.core.exception.StoreException
- StringTemplateSource(String, String, long) - Constructor for class org.craftercms.core.util.template.impl.freemarker.ConcurrentStringTemplateLoader.StringTemplateSource
- subList(int, int) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- substringToReplace - Variable in class org.craftercms.core.url.impl.ReplaceSubstringUrlTransformer
- supports(Class) - Method in class org.craftercms.core.util.xml.marshalling.xstream.CrafterXStreamMarshaller
-
Returns true if the specified class:
- suppressXmlDeclaration - Variable in class org.craftercms.core.util.xml.marshalling.xstream.CrafterXStreamMarshaller
- SwitchableCacheStoreAdapterFactoryBean - Class in org.craftercms.core.cache.impl.store
-
FactoryBean
that returns a differentCacheStoreAdapter
depending on the value of a flag property that indicates if caching should be turned on or off. - SwitchableCacheStoreAdapterFactoryBean() - Constructor for class org.craftercms.core.cache.impl.store.SwitchableCacheStoreAdapterFactoryBean
T
- TaggingByFieldValueProcessor - Class in org.craftercms.core.processors.impl
-
ItemProcessor
that adds a new tag or field to items that have a certain tag/field and value. - TaggingByFieldValueProcessor() - Constructor for class org.craftercms.core.processors.impl.TaggingByFieldValueProcessor
- TaggingByPathProcessor - Class in org.craftercms.core.processors.impl
-
ItemProcessor
that adds a new tag or field to items on specific paths. - TaggingByPathProcessor() - Constructor for class org.craftercms.core.processors.impl.TaggingByPathProcessor
- templateCompiler - Variable in class org.craftercms.core.processors.impl.template.TemplateProcessor
-
Template compiler.
- TemplateCompiler<T> - Interface in org.craftercms.core.util.template
-
Class description goes HERE
- TemplateException - Exception in org.craftercms.core.exception
-
Thrown when a template related error occurs.
- TemplateException() - Constructor for exception org.craftercms.core.exception.TemplateException
- TemplateException(String) - Constructor for exception org.craftercms.core.exception.TemplateException
- TemplateException(String, Throwable) - Constructor for exception org.craftercms.core.exception.TemplateException
- TemplateException(Throwable) - Constructor for exception org.craftercms.core.exception.TemplateException
- templateNodeScanner - Variable in class org.craftercms.core.processors.impl.template.TemplateProcessor
-
NodeScanner
for template nodes. - TemplateProcessor - Class in org.craftercms.core.processors.impl.template
-
ItemProcessor
that processes the content of certain XML nodes in item descriptors as templates. - TemplateProcessor() - Constructor for class org.craftercms.core.processors.impl.template.TemplateProcessor
- TEXT_JSON_KEY - Static variable in class org.craftercms.core.util.json.jackson.Dom4jDocumentJsonSerializer
- TextMetaDataCollectionExtractingProcessor - Class in org.craftercms.core.processors.impl
-
ItemProcessor
that extracts a list of text values from descriptor XPath-selected nodes and sets them as the properties of the item. - TextMetaDataCollectionExtractingProcessor(String...) - Constructor for class org.craftercms.core.processors.impl.TextMetaDataCollectionExtractingProcessor
-
Default constructor.
- TextMetaDataExtractingProcessor - Class in org.craftercms.core.processors.impl
-
ItemProcessor
that extracts single text values from descriptor XPath-selected nodes and sets them as the properties of the item. - TextMetaDataExtractingProcessor(String...) - Constructor for class org.craftercms.core.processors.impl.TextMetaDataExtractingProcessor
-
Default constructor.
- tick() - Method in class org.craftercms.core.cache.impl.CacheImpl
-
Called when a tick occurs.
- ticks - Variable in class org.craftercms.core.cache.impl.CacheImpl
-
Holds the current number of ticks.
- ticksAtCreation - Variable in class org.craftercms.core.cache.impl.CacheItemImpl
- ticksToExpire - Variable in class org.craftercms.core.cache.impl.CacheItemImpl
- ticksToRefresh - Variable in class org.craftercms.core.cache.impl.CacheItemImpl
- TimestampGenerator - Interface in org.craftercms.core.util.generators
-
Generator for timestamps.
- toArray() - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- toArray(T[]) - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- toString() - Method in class org.craftercms.core.cache.impl.CacheItemImpl
- toString() - Method in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
- toString() - Method in class org.craftercms.core.processors.impl.ItemProcessorPipeline
- toString() - Method in class org.craftercms.core.processors.impl.ItemUrlTransformingProcessor
- toString() - Method in class org.craftercms.core.processors.impl.TaggingByFieldValueProcessor
- toString() - Method in class org.craftercms.core.processors.impl.TaggingByPathProcessor
- toString() - Method in class org.craftercms.core.processors.impl.template.TemplateProcessor
- toString() - Method in class org.craftercms.core.processors.impl.TextMetaDataCollectionExtractingProcessor
- toString() - Method in class org.craftercms.core.processors.impl.TextMetaDataExtractingProcessor
- toString() - Method in class org.craftercms.core.service.ContextImpl
- toString() - Method in class org.craftercms.core.service.impl.CompositeItemFilter
- toString() - Method in class org.craftercms.core.service.impl.ExcludeByUrlItemFilter
- toString() - Method in class org.craftercms.core.service.impl.IncludeByUrlItemFilter
- toString() - Method in class org.craftercms.core.service.Item
- toString() - Method in class org.craftercms.core.service.Tree
- toString() - Method in class org.craftercms.core.store.impl.filesystem.FileSystemFile
- toString() - Method in class org.craftercms.core.util.cache.impl.CachingAwareList
- toString() - Method in class org.craftercms.core.xml.mergers.MergeableDescriptor
- totalLoadTime - Variable in class org.craftercms.core.cache.impl.store.guava.GuavaCacheStatistics
- TRANSFORMED_URL_CONST_KEY_ELEM - Static variable in class org.craftercms.core.url.impl.AbstractCachedUrlTransformationEngine
- transformedUrlPropName - Variable in class org.craftercms.core.processors.impl.ItemUrlTransformingProcessor
- transformerName - Variable in class org.craftercms.core.processors.impl.ItemUrlTransformingProcessor
- transformUrl(Context, String, String) - Method in class org.craftercms.core.url.impl.AbstractCachedUrlTransformationEngine
- transformUrl(Context, String, String) - Method in interface org.craftercms.core.url.UrlTransformationEngine
- transformUrl(Context, CachingOptions, String) - Method in class org.craftercms.core.url.impl.AddContextPathUrlTransformer
- transformUrl(Context, CachingOptions, String) - Method in class org.craftercms.core.url.impl.AddDebugParamUrlTransformer
- transformUrl(Context, CachingOptions, String) - Method in class org.craftercms.core.url.impl.AddPrefixAndSuffixUrlTransformer
- transformUrl(Context, CachingOptions, String) - Method in class org.craftercms.core.url.impl.AddSchemeAndDomainAndServerPortUrlTransformer
- transformUrl(Context, CachingOptions, String) - Method in class org.craftercms.core.url.impl.AddServletPathUrlTransformer
- transformUrl(Context, CachingOptions, String) - Method in class org.craftercms.core.url.impl.ContentBundleShortToLongUrlTransformer
- transformUrl(Context, CachingOptions, String) - Method in class org.craftercms.core.url.impl.ExtractRequestAttributesUrlTransformer
- transformUrl(Context, CachingOptions, String) - Method in class org.craftercms.core.url.impl.LongToShortUrlTransformer
- transformUrl(Context, CachingOptions, String) - Method in class org.craftercms.core.url.impl.RemovePrefixAndSuffixUrlTransformer
- transformUrl(Context, CachingOptions, String) - Method in class org.craftercms.core.url.impl.ReplacePatternAllUrlTransformer
- transformUrl(Context, CachingOptions, String) - Method in class org.craftercms.core.url.impl.ReplaceSubstringUrlTransformer
- transformUrl(Context, CachingOptions, String) - Method in class org.craftercms.core.url.impl.ShortToLongUrlTransformer
- transformUrl(Context, CachingOptions, String) - Method in class org.craftercms.core.url.impl.UrlTransformerPipeline
- transformUrl(Context, CachingOptions, String) - Method in interface org.craftercms.core.url.UrlTransformer
- transformUrl(Context, CachingOptions, String, String) - Method in class org.craftercms.core.url.impl.AbstractCachedUrlTransformationEngine
- transformUrl(Context, CachingOptions, String, String) - Method in interface org.craftercms.core.url.UrlTransformationEngine
- Tree - Class in org.craftercms.core.service
-
Folder
Item
that also contains it's children. - Tree() - Constructor for class org.craftercms.core.service.Tree
-
Default no-arg constructor.
- Tree(Item) - Constructor for class org.craftercms.core.service.Tree
-
Copy constructor that takes an item and calls the
Item(Item)
. - Tree(Item, boolean) - Constructor for class org.craftercms.core.service.Tree
-
Copy constructor that takes an item and calls the
Item(Item, boolean)
. - Tree(Tree) - Constructor for class org.craftercms.core.service.Tree
-
Copy constructor that takes another tree.
- Tree(Tree, boolean) - Constructor for class org.craftercms.core.service.Tree
-
Copy constructor that takes another tree.
- TREE_CLASS_ALIAS - Static variable in class org.craftercms.core.util.xml.marshalling.xstream.CrafterXStreamMarshaller
U
- UNLIMITED_TREE_DEPTH - Static variable in interface org.craftercms.core.service.ContentStoreService
-
Constant used to indicate that the depth of the tree should be unlimited.
- unmarshal(HierarchicalStreamReader, UnmarshallingContext) - Method in class org.craftercms.core.util.xml.marshalling.xstream.Dom4jDocumentConverter
- unsupportedClasses - Variable in class org.craftercms.core.util.xml.marshalling.xstream.CrafterXStreamMarshaller
- url - Variable in class org.craftercms.core.service.Item
-
The url or path of the item in the content store.
- URL_CHILDREN - Static variable in class org.craftercms.core.controller.rest.ContentStoreRestController
- URL_CLEAR_ALL_SCOPES - Static variable in class org.craftercms.core.controller.rest.CacheRestController
- URL_CLEAR_SCOPE - Static variable in class org.craftercms.core.controller.rest.CacheRestController
- URL_DESCRIPTOR - Static variable in class org.craftercms.core.controller.rest.ContentStoreRestController
- URL_ITEM - Static variable in class org.craftercms.core.controller.rest.ContentStoreRestController
- URL_NUMBERED_NAME_REGEX - Static variable in class org.craftercms.core.url.impl.LongToShortUrlTransformer
- URL_NUMBERED_NAME_REGEX_SHORT_NAME_GROUP - Static variable in class org.craftercms.core.url.impl.LongToShortUrlTransformer
- URL_PARAM_DELIM - Static variable in class org.craftercms.core.util.UrlUtils
- URL_PARAM_SEPARATOR - Static variable in class org.craftercms.core.util.UrlUtils
- URL_ROOT - Static variable in class org.craftercms.core.controller.rest.CacheRestController
-
rest URLs *
- URL_ROOT - Static variable in class org.craftercms.core.controller.rest.ContentStoreRestController
- URL_TREE - Static variable in class org.craftercms.core.controller.rest.ContentStoreRestController
- UrlPatternMergeStrategyResolver - Class in org.craftercms.core.xml.mergers.impl.resolvers
-
Resolves the
DescriptorMergeStrategy
to use for a given descriptor by matching the descriptor URL to a pattern. - UrlPatternMergeStrategyResolver() - Constructor for class org.craftercms.core.xml.mergers.impl.resolvers.UrlPatternMergeStrategyResolver
- UrlPatternProcessorResolver - Class in org.craftercms.core.processors.impl.resolvers
-
ItemProcessorResolver
that returns certainItemProcessor
s for certain url patterns. - UrlPatternProcessorResolver() - Constructor for class org.craftercms.core.processors.impl.resolvers.UrlPatternProcessorResolver
- urlTransformationEngine - Variable in class org.craftercms.core.processors.impl.ItemUrlTransformingProcessor
- UrlTransformationEngine - Interface in org.craftercms.core.url
- UrlTransformationEngineImpl - Class in org.craftercms.core.url.impl
-
Class description goes HERE
- UrlTransformationEngineImpl() - Constructor for class org.craftercms.core.url.impl.UrlTransformationEngineImpl
- UrlTransformationException - Exception in org.craftercms.core.exception
-
Thrown when a URL can't be correctly transformed to a different URL.
- UrlTransformationException() - Constructor for exception org.craftercms.core.exception.UrlTransformationException
- UrlTransformationException(String) - Constructor for exception org.craftercms.core.exception.UrlTransformationException
- UrlTransformationException(String, Throwable) - Constructor for exception org.craftercms.core.exception.UrlTransformationException
- UrlTransformationException(Throwable) - Constructor for exception org.craftercms.core.exception.UrlTransformationException
- UrlTransformer - Interface in org.craftercms.core.url
- UrlTransformerPipeline - Class in org.craftercms.core.url.impl
-
UrlTransformer
implementation that basically is a collection of other transformers. - UrlTransformerPipeline() - Constructor for class org.craftercms.core.url.impl.UrlTransformerPipeline
- UrlTransformerPipeline(List<UrlTransformer>) - Constructor for class org.craftercms.core.url.impl.UrlTransformerPipeline
- UrlTransformerPipeline(UrlTransformer...) - Constructor for class org.craftercms.core.url.impl.UrlTransformerPipeline
- UrlUtils - Class in org.craftercms.core.util
- UrlUtils() - Constructor for class org.craftercms.core.util.UrlUtils
- UseChildIfNotEmptyMergeCue - Class in org.craftercms.core.xml.mergers.impl.cues.impl
-
Class description goes HERE
- UseChildIfNotEmptyMergeCue() - Constructor for class org.craftercms.core.xml.mergers.impl.cues.impl.UseChildIfNotEmptyMergeCue
- UseChildMergeCue - Class in org.craftercms.core.xml.mergers.impl.cues.impl
-
Class description goes HERE
- UseChildMergeCue() - Constructor for class org.craftercms.core.xml.mergers.impl.cues.impl.UseChildMergeCue
- UseParentIfNotEmptyMergeCue - Class in org.craftercms.core.xml.mergers.impl.cues.impl
-
Class description goes HERE
- UseParentIfNotEmptyMergeCue() - Constructor for class org.craftercms.core.xml.mergers.impl.cues.impl.UseParentIfNotEmptyMergeCue
- UseParentMergeCue - Class in org.craftercms.core.xml.mergers.impl.cues.impl
-
Class description goes HERE
- UseParentMergeCue() - Constructor for class org.craftercms.core.xml.mergers.impl.cues.impl.UseParentMergeCue
- UuidIdentifierGenerator - Class in org.craftercms.core.util.generators.impl
-
Generator for UUID identifiers.
- UuidIdentifierGenerator() - Constructor for class org.craftercms.core.util.generators.impl.UuidIdentifierGenerator
V
- validate(Context) - Method in interface org.craftercms.core.service.ContentStoreService
-
Returns true if the specified context is still valid and usable.
- validate(Context) - Method in class org.craftercms.core.service.impl.ContentStoreServiceImpl
- validate(Context) - Method in interface org.craftercms.core.store.ContentStoreAdapter
- validate(Context) - Method in class org.craftercms.core.store.impl.filesystem.FileSystemContentStoreAdapter
- validatePath(String) - Method in class org.craftercms.core.store.impl.AbstractFileBasedContentStoreAdapter
- validateToken(String) - Method in class org.craftercms.core.controller.rest.CacheRestController
- ValidationFieldError - Class in org.craftercms.core.controller.rest
-
Holds the result of a field validation error.
- ValidationFieldError(String, String) - Constructor for class org.craftercms.core.controller.rest.ValidationFieldError
- value - Variable in class org.craftercms.core.cache.impl.CacheItemImpl
- valueMapping - Variable in class org.craftercms.core.processors.impl.TaggingByFieldValueProcessor
-
Map of values, the keys can be regular expressions.
- visit(Attribute) - Method in class org.craftercms.core.util.xml.impl.RegexNodeScanner.RegexMatcherVisitor
- visit(CDATA) - Method in class org.craftercms.core.util.xml.impl.RegexNodeScanner.RegexMatcherVisitor
- visit(Text) - Method in class org.craftercms.core.util.xml.impl.RegexNodeScanner.RegexMatcherVisitor
W
- writeAttributeValue(QuickWriter, String) - Method in class org.craftercms.core.util.xml.marshalling.xstream.EscapingCompactWriter
- writeText(QuickWriter, String) - Method in class org.craftercms.core.util.xml.marshalling.xstream.EscapingCompactWriter
X
- XML_DECLARATION - Static variable in class org.craftercms.core.util.xml.marshalling.xstream.CrafterXStreamMarshaller
- XmlException - Exception in org.craftercms.core.exception
-
Thrown for XML related errors
- XmlException() - Constructor for exception org.craftercms.core.exception.XmlException
- XmlException(String) - Constructor for exception org.craftercms.core.exception.XmlException
- XmlException(String, Throwable) - Constructor for exception org.craftercms.core.exception.XmlException
- XmlException(Throwable) - Constructor for exception org.craftercms.core.exception.XmlException
- XmlFileParseException - Exception in org.craftercms.core.exception
-
Thrown to indicate that an error occurred while parsing an XML file.
- XmlFileParseException() - Constructor for exception org.craftercms.core.exception.XmlFileParseException
- XmlFileParseException(String) - Constructor for exception org.craftercms.core.exception.XmlFileParseException
- XmlFileParseException(String, Throwable) - Constructor for exception org.craftercms.core.exception.XmlFileParseException
- XmlFileParseException(Throwable) - Constructor for exception org.craftercms.core.exception.XmlFileParseException
- XmlMergeException - Exception in org.craftercms.core.exception
-
Thrown when two descriptor DOMs can't be merged correctly into a single DOM.
- XmlMergeException() - Constructor for exception org.craftercms.core.exception.XmlMergeException
- XmlMergeException(String) - Constructor for exception org.craftercms.core.exception.XmlMergeException
- XmlMergeException(String, Throwable) - Constructor for exception org.craftercms.core.exception.XmlMergeException
- XmlMergeException(Throwable) - Constructor for exception org.craftercms.core.exception.XmlMergeException
- XmlUtils - Class in org.craftercms.core.util
- XmlUtils() - Constructor for class org.craftercms.core.util.XmlUtils
- XPathNodeScanner - Class in org.craftercms.core.util.xml.impl
-
NodeScanner
implementation that scans the document by executing XPath queries. - XPathNodeScanner() - Constructor for class org.craftercms.core.util.xml.impl.XPathNodeScanner
- xpathQueries - Variable in class org.craftercms.core.util.xml.impl.XPathNodeScanner
All Classes All Packages