Uses of Class
org.craftercms.core.exception.StoreException
Packages that use StoreException
Package
Description
-
Uses of StoreException in org.craftercms.core.controller.rest
Methods in org.craftercms.core.controller.rest that throw StoreExceptionModifier and TypeMethodDescriptionContentStoreRestController.getChildren(org.springframework.web.context.request.WebRequest request, javax.servlet.http.HttpServletResponse response, String contextId, String url, boolean flatten) org.dom4j.DocumentContentStoreRestController.getDescriptor(org.springframework.web.context.request.WebRequest request, javax.servlet.http.HttpServletResponse response, String contextId, String url, boolean flatten) Deprecated.ContentStoreRestController.getItem(org.springframework.web.context.request.WebRequest request, javax.servlet.http.HttpServletResponse response, String contextId, String url, boolean flatten) ContentStoreRestController.getTree(org.springframework.web.context.request.WebRequest request, javax.servlet.http.HttpServletResponse response, String contextId, String url, Integer depth, boolean flatten) -
Uses of StoreException in org.craftercms.core.exception
Subclasses of StoreException in org.craftercms.core.exceptionModifier and TypeClassDescriptionclassThrown when access is denied to a resource in the content store. -
Uses of StoreException in org.craftercms.core.service
Methods in org.craftercms.core.service that throw StoreExceptionModifier and TypeMethodDescriptionbooleanContentStoreService.destroyContext(Context context) Destroys the specified context, login out of any remote repository (if a login was issued) and destroying the cache scope associated to the context.booleanReturns true if the file or folder at the specified URL existsbooleanContentStoreService.exists(Context context, CachingOptions cachingOptions, String url) Returns true if the file or folder at the specified URL existsContentStoreService.findChildren(Context context, String url) Returns the children of the folder at the given url, returning null if the folder can't be found.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.ContentStoreService.findChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten) Returns the children of the folder at the given url, returning null if the folder can't be found.default ContentContentStoreService.findContent(Context context, String url) Returns the content of the file for the given url, returning null if not found.ContentStoreService.findContent(Context context, CachingOptions cachingOptions, String url) Returns the content of the file for the given url, returning null if not found.default ItemReturns the content store item for the given url, returning null if not found.default ItemContentStoreService.findItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor) Returns the content store item for the given url, returning null if not found.ContentStoreService.findItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor, boolean flatten) Returns the content store item for the given url, returning null if not found.default TreeReturns the folder at the given url as a tree, or null if the folder wasn't found.default TreeReturns the folder at the given url as a tree, or null if the folder wasn't found.default TreeContentStoreService.findTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor) Returns the folder at the given url as a tree, or null if the folder wasn't found.ContentStoreService.findTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten) Returns the folder at the given url as a tree, or null if the folder wasn't found.ContentStoreService.getChildren(Context context, String url) Returns the children of the folder at the given url.ContentStoreService.getChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor) Returns the children of the folder at the given url.ContentStoreService.getChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten) Returns the children of the folder at the given url.default ContentContentStoreService.getContent(Context context, String url) Returns the content of the file for the given url.ContentStoreService.getContent(Context context, CachingOptions cachingOptions, String url) Returns the content of the file for the given url.ContentStoreService.getContext(String tag, String storeType, String rootFolderPath, boolean mergingOn, boolean cacheOn, int maxAllowedItemsInCache, boolean ignoreHiddenFiles) Returns a context with the specified parameters, if the context doesn't exist it will be created.default ItemReturns the content store item for the given url.default ItemContentStoreService.getItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor) Returns the content store item for the given url.ContentStoreService.getItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor, boolean flatten) Returns the content store item for the given url.default TreeReturns the folder at the given url as a tree.default TreeReturns the folder at the given url as a tree.default TreeContentStoreService.getTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor) Returns the folder at the given url as a tree.ContentStoreService.getTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten) Returns the folder at the given url as a tree.booleanReturns true if the specified context is still valid and usable. -
Uses of StoreException in org.craftercms.core.service.impl
Methods in org.craftercms.core.service.impl that throw StoreExceptionModifier and TypeMethodDescriptionbooleanContentStoreServiceImpl.destroyContext(Context context) Destroys the specified context, login out of any remote repository (if a login was issued) and destroying the cache scope associated to the context.protected abstract booleanAbstractCachedContentStoreService.doExists(Context context, CachingOptions cachingOptions, String url) booleanContentStoreServiceImpl.doExists(Context context, CachingOptions cachingOptions, String url) AbstractCachedContentStoreService.doFindChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten) ContentStoreServiceImpl.doFindChildren(Context context, CachingOptions cachingOptions, String url, Integer depth, ItemFilter filter, ItemProcessor processor, boolean flatten) Does the following: Retrieves the children from the underlying repository (without their descriptors). Filters the returned list ifItemFilter.runBeforeProcessing()returnstrue. CallsContentStoreService.getTree(Context, String)orContentStoreService.getItem(Context, String)for each item in the list (depending on whether the item is a folder or not, and ifdepthis not null), to obtain the merged and processed version of each item. Filters the processed list ifItemFilter.runAfterProcessing()returnstrue. Returns the final list of processed items.ContentStoreServiceImpl.doFindChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten) protected abstract ItemAbstractCachedContentStoreService.doFindItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor) protected ItemContentStoreServiceImpl.doFindItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor) Returns the content store item for the given url, returning null if not found.protected abstract TreeAbstractCachedContentStoreService.doFindTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten) protected TreeContentStoreServiceImpl.doFindTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten) booleanbooleanAbstractCachedContentStoreService.exists(Context context, CachingOptions cachingOptions, String url) AbstractCachedContentStoreService.findChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten) ContentStoreServiceImpl.findContent(Context context, CachingOptions cachingOptions, String url) AbstractCachedContentStoreService.findItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor, boolean flatten) AbstractCachedContentStoreService.findTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten) AbstractCachedContentStoreService.getChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten) ContentStoreServiceImpl.getContent(Context context, CachingOptions cachingOptions, String url) Returns the content of the file for the given url.ContentStoreServiceImpl.getContext(String tag, String storeType, String rootFolderPath, boolean mergingOn, boolean cacheOn, int maxAllowedItemsInCache, boolean ignoreHiddenFiles) Returns a context with the specified parameters, if the context doesn't exist it will be created.AbstractCachedContentStoreService.getItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor, boolean flatten) AbstractCachedContentStoreService.getTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten) boolean -
Uses of StoreException in org.craftercms.core.store
Methods in org.craftercms.core.store that throw StoreExceptionModifier and TypeMethodDescriptionContentStoreAdapter.createContext(String id, String rootFolderPath, boolean mergingOn, boolean cacheOn, int maxAllowedItemsInCache, boolean ignoreHiddenFiles) voidContentStoreAdapter.destroyContext(Context context) booleanContentStoreAdapter.exists(Context context, CachingOptions cachingOptions, String path) ContentStoreAdapter.findContent(Context context, CachingOptions cachingOptions, String path) ContentStoreAdapter.findItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor) ContentStoreAdapter.findItems(Context context, CachingOptions cachingOptions, String path) boolean -
Uses of StoreException in org.craftercms.core.store.impl
Methods in org.craftercms.core.store.impl that throw StoreExceptionModifier and TypeMethodDescriptionprotected abstract booleanAbstractCachedContentStoreAdapter.doExists(Context context, CachingOptions cachingOptions, String path) booleanAbstractFileBasedContentStoreAdapter.doExists(Context context, CachingOptions cachingOptions, String path) protected abstract ContentAbstractCachedContentStoreAdapter.doFindContent(Context context, CachingOptions cachingOptions, String path) protected ContentAbstractFileBasedContentStoreAdapter.doFindContent(Context context, CachingOptions cachingOptions, String path) protected abstract ItemAbstractCachedContentStoreAdapter.doFindItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor) protected ItemAbstractFileBasedContentStoreAdapter.doFindItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor) AbstractCachedContentStoreAdapter.doFindItems(Context context, CachingOptions cachingOptions, String path) AbstractFileBasedContentStoreAdapter.doFindItems(Context context, CachingOptions cachingOptions, String path) booleanAbstractCachedContentStoreAdapter.exists(Context context, CachingOptions cachingOptions, String path) AbstractCachedContentStoreAdapter.findContent(Context context, CachingOptions cachingOptions, String path) protected abstract FileAbstractFileBasedContentStoreAdapter.findFile(Context context, CachingOptions cachingOptions, String path) Returns theFileat the given path, returning null if not found.AbstractCachedContentStoreAdapter.findItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor) AbstractCachedContentStoreAdapter.findItems(Context context, CachingOptions cachingOptions, String path) AbstractFileBasedContentStoreAdapter.getChildren(Context context, CachingOptions cachingOptions, File dir) Returns the list of children of the given directory.protected abstract ContentAbstractFileBasedContentStoreAdapter.getContent(Context context, CachingOptions cachingOptions, File file) Returns theContentfor the given file.protected voidAbstractFileBasedContentStoreAdapter.validatePath(String path) -
Uses of StoreException in org.craftercms.core.store.impl.filesystem
Methods in org.craftercms.core.store.impl.filesystem that throw StoreExceptionModifier and TypeMethodDescriptionFileSystemContentStoreAdapter.createContext(String id, String rootFolderPath, boolean mergingOn, boolean cacheOn, int maxAllowedItemsInCache, boolean ignoreHiddenFiles) voidFileSystemContentStoreAdapter.destroyContext(Context context) protected ContentFileSystemContentStoreAdapter.getContent(Context context, CachingOptions cachingOptions, File file) boolean
getIteminstead