public class WebApplicationStore extends ResourceStore implements org.springframework.web.context.ServletContextAware
ResourceStore.WebApplicationStoreScriptLoaderresolver| Constructor and Description |
|---|
WebApplicationStore() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.io.support.PathMatchingResourcePatternResolver |
getResourceResolver()
Returns the resource resolver to be used in resolving resource references by this
resources tore.
|
protected javax.servlet.ServletContext |
getServletContext()
Retrieves the servlet context
|
protected boolean |
isForbidden(String documentPath)
Determines whether the given document is a forbidden path (i.e.
|
boolean |
isReadOnly() |
boolean |
isSecure() |
protected List<String> |
matchDocumentPaths(String documentPathPattern)
Returns a list of document paths for a given document pattern
|
void |
setServletContext(javax.servlet.ServletContext servletContext) |
String |
toString() |
createDocument, exists, getAllDocumentPaths, getBasePath, getDescriptionDocumentPaths, getDocument, getDocumentPaths, getDocumentResources, getPath, getRoot, getRootResource, getScriptDocumentPaths, getScriptLoader, getTemplateLoader, hasDocument, init, lastModified, removeDocument, setPath, toDocumentPath, toResourcePath, updateDocumentpublic void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext in interface org.springframework.web.context.ServletContextAwareprotected javax.servlet.ServletContext getServletContext()
public org.springframework.core.io.support.PathMatchingResourcePatternResolver getResourceResolver()
ResourceStoregetResourceResolver in class ResourceStoreprotected boolean isForbidden(String documentPath)
ResourceStoreisForbidden in class ResourceStoredocumentPath - Stringpublic boolean isSecure()
isSecure in interface org.springframework.extensions.webscripts.StoreisSecure in class ResourceStorepublic boolean isReadOnly()
isReadOnly in interface org.springframework.extensions.webscripts.StoreisReadOnly in class org.springframework.extensions.webscripts.AbstractStoreprotected List<String> matchDocumentPaths(String documentPathPattern) throws IOException
ResourceStorematchDocumentPaths in class ResourceStoredocumentPathPattern - StringIOExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.