| Package | Description |
|---|---|
| org.craftercms.core.controller.rest | |
| org.craftercms.core.service | |
| org.craftercms.core.service.impl | |
| org.craftercms.core.store | |
| org.craftercms.core.store.impl |
| 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 |
|---|---|
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) |
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) |
| Modifier and Type | Method and Description |
|---|---|
Item |
ContentStoreAdapter.findItem(Context context,
CachingOptions cachingOptions,
String path,
boolean withDescriptor) |
List<Item> |
ContentStoreAdapter.findItems(Context context,
CachingOptions cachingOptions,
String path,
boolean withDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
protected Item |
AbstractFileBasedContentStoreAdapter.doFindItem(Context context,
CachingOptions cachingOptions,
String path,
boolean withDescriptor) |
protected abstract Item |
AbstractCachedContentStoreAdapter.doFindItem(Context context,
CachingOptions cachingOptions,
String path,
boolean withDescriptor) |
protected List<Item> |
AbstractFileBasedContentStoreAdapter.doFindItems(Context context,
CachingOptions cachingOptions,
String path,
boolean withDescriptor) |
protected abstract List<Item> |
AbstractCachedContentStoreAdapter.doFindItems(Context context,
CachingOptions cachingOptions,
String path,
boolean withDescriptor) |
Item |
AbstractCachedContentStoreAdapter.findItem(Context context,
CachingOptions cachingOptions,
String path,
boolean withDescriptor) |
List<Item> |
AbstractCachedContentStoreAdapter.findItems(Context context,
CachingOptions cachingOptions,
String path,
boolean withDescriptor) |
Copyright © 2018 CrafterCMS. All rights reserved.