Uses of Class
org.craftercms.core.exception.StoreException
-
-
Uses of StoreException in org.craftercms.core.controller.rest
Methods in org.craftercms.core.controller.rest that throw StoreException Modifier and Type Method Description List<Item>ContentStoreRestController. 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.Will be removed in 4.1, usegetIteminsteadItemContentStoreRestController. getItem(org.springframework.web.context.request.WebRequest request, javax.servlet.http.HttpServletResponse response, String contextId, String url, boolean flatten)TreeContentStoreRestController. 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.service
Methods in org.craftercms.core.service that throw StoreException Modifier and Type Method Description booleanContentStoreService. 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.booleanContentStoreService. exists(Context context, String url)Returns 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 existsdefault 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.default List<Item>ContentStoreService. findChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor)Returns the children of the folder at the given url, returning null if the folder can't be found.List<Item>ContentStoreService. findChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten)Returns the children of the folder at the given url, returning null if the folder can't be found.default ContentContentStoreService. findContent(Context context, String url)Returns the content of the file for the given url, returning null if not found.ContentContentStoreService. findContent(Context context, CachingOptions cachingOptions, String url)Returns the content of the file for the given url, returning null if not found.default ItemContentStoreService. findItem(Context context, String url)Returns 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.ItemContentStoreService. findItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor, boolean flatten)Returns the content store item for the given url, returning null if not found.default TreeContentStoreService. findTree(Context context, String url)Returns the folder at the given url as a tree, or null if the folder wasn't found.default TreeContentStoreService. 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.default TreeContentStoreService. findTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor)Returns the folder at the given url as a tree, or null if the folder wasn't found.TreeContentStoreService. findTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten)Returns the folder at the given url as a tree, or null if the folder wasn't found.default List<Item>ContentStoreService. getChildren(Context context, String url)Returns the children of the folder at the given url.default List<Item>ContentStoreService. getChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor)Returns the children of the folder at the given url.List<Item>ContentStoreService. getChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten)Returns the children of the folder at the given url.default ContentContentStoreService. getContent(Context context, String url)Returns the content of the file for the given url.ContentContentStoreService. getContent(Context context, CachingOptions cachingOptions, String url)Returns the content of the file for the given url.ContextContentStoreService. 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 ItemContentStoreService. getItem(Context context, String url)Returns 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.ItemContentStoreService. getItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor, boolean flatten)Returns the content store item for the given url.default TreeContentStoreService. getTree(Context context, String url)Returns the folder at the given url as a tree.default TreeContentStoreService. getTree(Context context, String url, int depth)Returns 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.TreeContentStoreService. getTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten)Returns the folder at the given url as a tree.booleanContentStoreService. validate(Context context)Returns 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 StoreException Modifier and Type Method Description booleanContentStoreServiceImpl. 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)protected abstract List<Item>AbstractCachedContentStoreService. doFindChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten)protected List<Item>ContentStoreServiceImpl. doFindChildren(Context context, CachingOptions cachingOptions, String url, Integer depth, ItemFilter filter, ItemProcessor processor, boolean flatten)Does the following:protected List<Item>ContentStoreServiceImpl. doFindChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten)protected abstract ItemAbstractCachedContentStoreService. doFindItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor)protected ItemContentStoreServiceImpl. doFindItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor)Returns the content store item for the given url, returning null if not found.protected abstract TreeAbstractCachedContentStoreService. doFindTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten)protected TreeContentStoreServiceImpl. doFindTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten)booleanAbstractCachedContentStoreService. exists(Context context, String url)booleanAbstractCachedContentStoreService. exists(Context context, CachingOptions cachingOptions, String url)List<Item>AbstractCachedContentStoreService. findChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten)ContentContentStoreServiceImpl. findContent(Context context, CachingOptions cachingOptions, String url)ItemAbstractCachedContentStoreService. findItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor, boolean flatten)TreeAbstractCachedContentStoreService. findTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten)List<Item>AbstractCachedContentStoreService. getChildren(Context context, CachingOptions cachingOptions, String url, ItemFilter filter, ItemProcessor processor, boolean flatten)ContentContentStoreServiceImpl. getContent(Context context, CachingOptions cachingOptions, String url)Returns the content of the file for the given url.ContextContentStoreServiceImpl. 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.ItemAbstractCachedContentStoreService. getItem(Context context, CachingOptions cachingOptions, String url, ItemProcessor processor, boolean flatten)TreeAbstractCachedContentStoreService. getTree(Context context, CachingOptions cachingOptions, String url, int depth, ItemFilter filter, ItemProcessor processor, boolean flatten)booleanContentStoreServiceImpl. validate(Context context) -
Uses of StoreException in org.craftercms.core.store
Methods in org.craftercms.core.store that throw StoreException Modifier and Type Method Description ContextContentStoreAdapter. 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)ContentContentStoreAdapter. findContent(Context context, CachingOptions cachingOptions, String path)ItemContentStoreAdapter. findItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor)List<Item>ContentStoreAdapter. findItems(Context context, CachingOptions cachingOptions, String path)booleanContentStoreAdapter. validate(Context context) -
Uses of StoreException in org.craftercms.core.store.impl
Methods in org.craftercms.core.store.impl that throw StoreException Modifier and Type Method Description protected abstract booleanAbstractCachedContentStoreAdapter. doExists(Context context, CachingOptions cachingOptions, String path)booleanAbstractFileBasedContentStoreAdapter. doExists(Context context, CachingOptions cachingOptions, String path)protected abstract ContentAbstractCachedContentStoreAdapter. doFindContent(Context context, CachingOptions cachingOptions, String path)protected ContentAbstractFileBasedContentStoreAdapter. doFindContent(Context context, CachingOptions cachingOptions, String path)protected abstract ItemAbstractCachedContentStoreAdapter. doFindItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor)protected ItemAbstractFileBasedContentStoreAdapter. doFindItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor)protected abstract List<Item>AbstractCachedContentStoreAdapter. doFindItems(Context context, CachingOptions cachingOptions, String path)protected List<Item>AbstractFileBasedContentStoreAdapter. doFindItems(Context context, CachingOptions cachingOptions, String path)booleanAbstractCachedContentStoreAdapter. exists(Context context, CachingOptions cachingOptions, String path)ContentAbstractCachedContentStoreAdapter. findContent(Context context, CachingOptions cachingOptions, String path)protected abstract FileAbstractFileBasedContentStoreAdapter. findFile(Context context, CachingOptions cachingOptions, String path)Returns theFileat the given path, returning null if not found.ItemAbstractCachedContentStoreAdapter. findItem(Context context, CachingOptions cachingOptions, String path, boolean withDescriptor)List<Item>AbstractCachedContentStoreAdapter. findItems(Context context, CachingOptions cachingOptions, String path)protected abstract List<File>AbstractFileBasedContentStoreAdapter. getChildren(Context context, CachingOptions cachingOptions, File dir)Returns the list of children of the given directory.protected abstract ContentAbstractFileBasedContentStoreAdapter. getContent(Context context, CachingOptions cachingOptions, File file)Returns theContentfor the given file.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 StoreException Modifier and Type Method Description ContextFileSystemContentStoreAdapter. 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)booleanFileSystemContentStoreAdapter. validate(Context context)
-