|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.extensions.webscripts.AbstractWebScript
org.alfresco.repo.web.scripts.bean.BaseRemoteStore
org.alfresco.repo.web.scripts.bean.AVMRemoteStore
public class AVMRemoteStore
AVM Remote Store service.
for the available API methods.| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript |
|---|
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails |
| Field Summary |
|---|
| Fields inherited from class org.alfresco.repo.web.scripts.bean.BaseRemoteStore |
|---|
contentService, defaultStore, mimetypeService, REQUEST_PARAM_STORE, REQUEST_PARAM_WEBAPP, TOKEN_STORE, TOKEN_WEBAPP |
| Constructor Summary | |
|---|---|
AVMRemoteStore()
|
|
| Method Summary | |
|---|---|
protected void |
createDocument(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path,
java.io.InputStream content)
Creates a document. |
protected void |
deleteDocument(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path)
Deletes an existing document. |
protected void |
getDocument(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path)
Gets a document. |
protected void |
hasDocument(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path)
Determines if the document exists. |
protected void |
lastModified(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path)
Gets the last modified timestamp for the document. |
protected void |
listDocuments(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path,
boolean recurse)
Lists the document paths under a given path. |
protected void |
listDocuments(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path,
java.lang.String pattern)
Lists the document paths matching a file pattern under a given path. |
void |
setAvmService(org.alfresco.service.cmr.avm.AVMService avmService)
|
void |
setRootPath(java.lang.String rootPath)
|
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
|
protected void |
updateDocument(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path,
java.io.InputStream content)
Updates an existing document. |
| Methods inherited from class org.alfresco.repo.web.scripts.bean.BaseRemoteStore |
|---|
execute, getPathParts, setContentService, setMimetypeService, setStore |
| Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript |
|---|
createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AVMRemoteStore()
| Method Detail |
|---|
public void setRootPath(java.lang.String rootPath)
rootPath - the root path under which to process store requestspublic void setAvmService(org.alfresco.service.cmr.avm.AVMService avmService)
avmService - the AVMService to setpublic void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
searchService - the SearchService to set
protected void lastModified(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path)
throws java.io.IOException
lastModified in class BaseRemoteStorestore - the store idpath - document path to an existing document
java.io.IOException
protected void getDocument(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path)
throws java.io.IOException
BaseRemoteStore
getDocument in class BaseRemoteStorestore - the store idpath - document path
java.io.IOException - if an error occurs retrieving the document
protected void hasDocument(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path)
throws java.io.IOException
BaseRemoteStore
hasDocument in class BaseRemoteStorestore - the store idpath - document path
java.io.IOException
protected void createDocument(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path,
java.io.InputStream content)
BaseRemoteStore
createDocument in class BaseRemoteStorestore - the store idpath - document pathcontent - content of the document to write
protected void updateDocument(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path,
java.io.InputStream content)
BaseRemoteStore
updateDocument in class BaseRemoteStorestore - the store idpath - document pathcontent - content to update the document with
protected void deleteDocument(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path)
BaseRemoteStore
deleteDocument in class BaseRemoteStorestore - the store idpath - document path
protected void listDocuments(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path,
boolean recurse)
throws java.io.IOException
BaseRemoteStore
listDocuments in class BaseRemoteStorestore - the store idpath - document pathrecurse - true to peform a recursive list, false for direct children only.
java.io.IOException - if an error occurs listing the documents
protected void listDocuments(org.springframework.extensions.webscripts.WebScriptResponse res,
java.lang.String store,
java.lang.String path,
java.lang.String pattern)
throws java.io.IOException
BaseRemoteStore
listDocuments in class BaseRemoteStorestore - the store idpath - document pathpattern - file pattern to match - allows wildcards e.g. *.xml or site*.xml
java.io.IOException - if an error occurs listing the documents
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||