| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
ContentStoreRestController.getChildren(org.springframework.web.context.request.WebRequest request,
javax.servlet.http.HttpServletResponse response,
String contextId,
String url) |
Map<String,Object> |
ContentStoreRestController.getDescriptor(org.springframework.web.context.request.WebRequest request,
javax.servlet.http.HttpServletResponse response,
String contextId,
String url) |
Map<String,Object> |
ContentStoreRestController.getItem(org.springframework.web.context.request.WebRequest request,
javax.servlet.http.HttpServletResponse response,
String contextId,
String url) |
Map<String,Object> |
ContentStoreRestController.getTree(org.springframework.web.context.request.WebRequest request,
javax.servlet.http.HttpServletResponse response,
String contextId,
String url,
Integer depth) |
| Modifier and Type | Method and Description |
|---|---|
Item |
ItemProcessor.process(Context context,
CachingOptions cachingOptions,
Item item)
Processes an
Item. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
IncludeDescriptorsProcessor.doInclude(Item item,
org.dom4j.Element includeElement,
Item itemToInclude) |
protected Item |
IncludeDescriptorsProcessor.getItemToInclude(Context context,
CachingOptions cachingOptions,
String includeSrcPath) |
protected void |
IncludeDescriptorsProcessor.includeDescriptors(Context context,
CachingOptions cachingOptions,
Item item) |
Item |
ItemProcessorPipeline.process(Context context,
CachingOptions cachingOptions,
Item item)
Processes the given
Item, by calling a pipeline of processors. |
Item |
TextMetaDataCollectionExtractingProcessor.process(Context context,
CachingOptions cachingOptions,
Item item)
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. |
Item |
AbstractTaggingProcessor.process(Context context,
CachingOptions cachingOptions,
Item item) |
Item |
AttributeAddingProcessor.process(Context context,
CachingOptions cachingOptions,
Item item) |
Item |
ItemUrlTransformingProcessor.process(Context context,
CachingOptions cachingOptions,
Item item) |
Item |
FieldRenamingProcessor.process(Context context,
CachingOptions cachingOptions,
Item item) |
Item |
IncludeDescriptorsProcessor.process(Context context,
CachingOptions cachingOptions,
Item item)
Replaces special include tags found in a descriptor document with the document tree of descriptors specified in
these include tags.
|
| Modifier and Type | Method and Description |
|---|---|
Item |
TemplateProcessor.process(Context context,
CachingOptions cachingOptions,
Item item)
Processes the content of certain nodes (found by the
NodeScanner in the item's descriptor as templates,
by compiling the node text templates through the templateCompiler and then processing the compiled
template with a model returned by modelFactory. |
| Modifier and Type | Method and Description |
|---|---|
List<Item> |
ContentStoreService.findChildren(Context context,
CachingOptions cachingOptions,
String url,
ItemFilter filter,
ItemProcessor processor)
Returns the children of the folder at the given url, returning null if the folder can't be found.
|
List<Item> |
ContentStoreService.findChildren(Context context,
String url)
Returns the children of the folder at the given url, returning null if the folder can't be found.
|
Item |
ContentStoreService.findItem(Context context,
CachingOptions cachingOptions,
String url,
ItemProcessor processor)
Returns the content store item for the given url, returning null if not found.
|
Item |
ContentStoreService.findItem(Context context,
String url)
Returns the content store item for the given url, returning null if not found.
|
Tree |
ContentStoreService.findTree(Context context,
CachingOptions cachingOptions,
String url,
int depth,
ItemFilter filter,
ItemProcessor processor)
Returns the folder at the given url as a tree, or null if the folder wasn't found.
|
Tree |
ContentStoreService.findTree(Context context,
String url)
Returns the folder at the given url as a tree, or null if the folder wasn't found.
|
Tree |
ContentStoreService.findTree(Context context,
String url,
int depth)
Returns the folder at the given url as a tree, or null if the folder wasn't found.
|
List<Item> |
ContentStoreService.getChildren(Context context,
CachingOptions cachingOptions,
String url,
ItemFilter filter,
ItemProcessor processor)
Returns the children of the folder at the given url.
|
List<Item> |
ContentStoreService.getChildren(Context context,
String url)
Returns the children of the folder at the given url.
|
Item |
ContentStoreService.getItem(Context context,
CachingOptions cachingOptions,
String url,
ItemProcessor processor)
Returns the content store item for the given url.
|
Item |
ContentStoreService.getItem(Context context,
String url)
Returns the content store item for the given url.
|
Tree |
ContentStoreService.getTree(Context context,
CachingOptions cachingOptions,
String url,
int depth,
ItemFilter filter,
ItemProcessor processor)
Returns the folder at the given url as a tree.
|
Tree |
ContentStoreService.getTree(Context context,
String url)
Returns the folder at the given url as a tree.
|
Tree |
ContentStoreService.getTree(Context context,
String url,
int depth)
Returns the folder at the given url as a tree.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Item> |
ContentStoreServiceImpl.doFindChildren(Context context,
CachingOptions cachingOptions,
String url,
Integer depth,
ItemFilter filter,
ItemProcessor processor)
Does the following:
Retrieves the children from the underlying repository (without their descriptors).
Filters the returned list if
ItemFilter.runBeforeProcessing() returns true.
Calls AbstractCachedContentStoreService.getTree(Context, String) or AbstractCachedContentStoreService.getItem(Context, String) for each item in the list
(depending on whether the item is a folder or not, and if depth is not null), to obtain the
merged and processed version of each item.
Filters the processed list if ItemFilter.runAfterProcessing() returns true.
Returns the final list of processed items.
|
protected List<Item> |
ContentStoreServiceImpl.doFindChildren(Context context,
CachingOptions cachingOptions,
String url,
ItemFilter filter,
ItemProcessor processor) |
protected abstract List<Item> |
AbstractCachedContentStoreService.doFindChildren(Context context,
CachingOptions cachingOptions,
String url,
ItemFilter filter,
ItemProcessor processor) |
protected Item |
ContentStoreServiceImpl.doFindItem(Context context,
CachingOptions cachingOptions,
String url,
ItemProcessor processor)
Returns the content store item for the given url, returning null if not found.
|
protected abstract Item |
AbstractCachedContentStoreService.doFindItem(Context context,
CachingOptions cachingOptions,
String url,
ItemProcessor processor) |
protected Tree |
ContentStoreServiceImpl.doFindTree(Context context,
CachingOptions cachingOptions,
String url,
int depth,
ItemFilter filter,
ItemProcessor processor) |
protected abstract Tree |
AbstractCachedContentStoreService.doFindTree(Context context,
CachingOptions cachingOptions,
String url,
int depth,
ItemFilter filter,
ItemProcessor processor) |
protected Item |
ContentStoreServiceImpl.doProcessing(Context context,
CachingOptions cachingOptions,
Item item,
ItemProcessor additionalProcessor)
Executes processing for the specified
Item:
Gets the main ItemProcessor for the item from the ItemProcessorResolver.
Calls the main processor's process method to process the item.
If an additional processor was passed to this method, the additional processor is also called.
Returns the processed item.
|
List<Item> |
AbstractCachedContentStoreService.findChildren(Context context,
CachingOptions cachingOptions,
String url,
ItemFilter filter,
ItemProcessor processor) |
List<Item> |
AbstractCachedContentStoreService.findChildren(Context context,
String url) |
Item |
AbstractCachedContentStoreService.findItem(Context context,
CachingOptions cachingOptions,
String url,
ItemProcessor processor) |
Item |
AbstractCachedContentStoreService.findItem(Context context,
String url) |
Tree |
AbstractCachedContentStoreService.findTree(Context context,
CachingOptions cachingOptions,
String url,
int depth,
ItemFilter filter,
ItemProcessor processor) |
Tree |
AbstractCachedContentStoreService.findTree(Context context,
String url) |
Tree |
AbstractCachedContentStoreService.findTree(Context context,
String url,
int depth) |
List<Item> |
AbstractCachedContentStoreService.getChildren(Context context,
CachingOptions cachingOptions,
String url,
ItemFilter filter,
ItemProcessor processor) |
List<Item> |
AbstractCachedContentStoreService.getChildren(Context context,
String url) |
Item |
AbstractCachedContentStoreService.getItem(Context context,
CachingOptions cachingOptions,
String url,
ItemProcessor processor) |
Item |
AbstractCachedContentStoreService.getItem(Context context,
String url) |
Tree |
AbstractCachedContentStoreService.getTree(Context context,
CachingOptions cachingOptions,
String url,
int depth,
ItemFilter filter,
ItemProcessor processor) |
Tree |
AbstractCachedContentStoreService.getTree(Context context,
String url) |
Tree |
AbstractCachedContentStoreService.getTree(Context context,
String url,
int depth) |
Copyright © 2018 CrafterCMS. All rights reserved.