org.apache.chemistry.opencmis.server.impl.webservices
Class ObjectService
java.lang.Object
org.apache.chemistry.opencmis.server.impl.webservices.AbstractService
org.apache.chemistry.opencmis.server.impl.webservices.ObjectService
- All Implemented Interfaces:
- ObjectServicePort
@StreamingAttachment(parseEagerly=true,
memoryThreshold=4931584L)
public class ObjectService
- extends AbstractService
- implements ObjectServicePort
CMIS Object Service.
Method Summary |
void |
createDocument(String repositoryId,
CmisPropertiesType properties,
String folderId,
CmisContentStreamType contentStream,
EnumVersioningState versioningState,
List<String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<String> objectId)
|
void |
createDocumentFromSource(String repositoryId,
String sourceId,
CmisPropertiesType properties,
String folderId,
EnumVersioningState versioningState,
List<String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<String> objectId)
|
void |
createFolder(String repositoryId,
CmisPropertiesType properties,
String folderId,
List<String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<String> objectId)
|
void |
createPolicy(String repositoryId,
CmisPropertiesType properties,
String folderId,
List<String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<String> objectId)
|
void |
createRelationship(String repositoryId,
CmisPropertiesType properties,
List<String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<String> objectId)
|
void |
deleteContentStream(String repositoryId,
javax.xml.ws.Holder<String> objectId,
javax.xml.ws.Holder<String> changeToken,
javax.xml.ws.Holder<CmisExtensionType> extension)
|
void |
deleteObject(String repositoryId,
String objectId,
Boolean allVersions,
javax.xml.ws.Holder<CmisExtensionType> extension)
|
DeleteTreeResponse.FailedToDelete |
deleteTree(String repositoryId,
String folderId,
Boolean allVersions,
EnumUnfileObject unfileObjects,
Boolean continueOnFailure,
CmisExtensionType extension)
|
CmisAllowableActionsType |
getAllowableActions(String repositoryId,
String objectId,
CmisExtensionType extension)
|
CmisContentStreamType |
getContentStream(String repositoryId,
String objectId,
String streamId,
BigInteger offset,
BigInteger length,
CmisExtensionType extension)
|
CmisObjectType |
getObject(String repositoryId,
String objectId,
String filter,
Boolean includeAllowableActions,
EnumIncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
CmisExtensionType extension)
|
CmisObjectType |
getObjectByPath(String repositoryId,
String path,
String filter,
Boolean includeAllowableActions,
EnumIncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
CmisExtensionType extension)
|
CmisPropertiesType |
getProperties(String repositoryId,
String objectId,
String filter,
CmisExtensionType extension)
|
List<CmisRenditionType> |
getRenditions(String repositoryId,
String objectId,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount,
CmisExtensionType extension)
|
void |
moveObject(String repositoryId,
javax.xml.ws.Holder<String> objectId,
String targetFolderId,
String sourceFolderId,
javax.xml.ws.Holder<CmisExtensionType> extension)
|
void |
setContentStream(String repositoryId,
javax.xml.ws.Holder<String> objectId,
Boolean overwriteFlag,
javax.xml.ws.Holder<String> changeToken,
CmisContentStreamType contentStream,
javax.xml.ws.Holder<CmisExtensionType> extension)
|
void |
updateProperties(String repositoryId,
javax.xml.ws.Holder<String> objectId,
javax.xml.ws.Holder<String> changeToken,
CmisPropertiesType properties,
javax.xml.ws.Holder<CmisExtensionType> extension)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectService
public ObjectService()
createDocument
public void createDocument(String repositoryId,
CmisPropertiesType properties,
String folderId,
CmisContentStreamType contentStream,
EnumVersioningState versioningState,
List<String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<String> objectId)
throws CmisException
- Specified by:
createDocument
in interface ObjectServicePort
- Throws:
CmisException
createDocumentFromSource
public void createDocumentFromSource(String repositoryId,
String sourceId,
CmisPropertiesType properties,
String folderId,
EnumVersioningState versioningState,
List<String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<String> objectId)
throws CmisException
- Specified by:
createDocumentFromSource
in interface ObjectServicePort
- Throws:
CmisException
createFolder
public void createFolder(String repositoryId,
CmisPropertiesType properties,
String folderId,
List<String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<String> objectId)
throws CmisException
- Specified by:
createFolder
in interface ObjectServicePort
- Throws:
CmisException
createPolicy
public void createPolicy(String repositoryId,
CmisPropertiesType properties,
String folderId,
List<String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<String> objectId)
throws CmisException
- Specified by:
createPolicy
in interface ObjectServicePort
- Throws:
CmisException
createRelationship
public void createRelationship(String repositoryId,
CmisPropertiesType properties,
List<String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<String> objectId)
throws CmisException
- Specified by:
createRelationship
in interface ObjectServicePort
- Throws:
CmisException
deleteContentStream
public void deleteContentStream(String repositoryId,
javax.xml.ws.Holder<String> objectId,
javax.xml.ws.Holder<String> changeToken,
javax.xml.ws.Holder<CmisExtensionType> extension)
throws CmisException
- Specified by:
deleteContentStream
in interface ObjectServicePort
- Throws:
CmisException
deleteObject
public void deleteObject(String repositoryId,
String objectId,
Boolean allVersions,
javax.xml.ws.Holder<CmisExtensionType> extension)
throws CmisException
- Specified by:
deleteObject
in interface ObjectServicePort
- Throws:
CmisException
deleteTree
public DeleteTreeResponse.FailedToDelete deleteTree(String repositoryId,
String folderId,
Boolean allVersions,
EnumUnfileObject unfileObjects,
Boolean continueOnFailure,
CmisExtensionType extension)
throws CmisException
- Specified by:
deleteTree
in interface ObjectServicePort
- Returns:
- returns org.apache.chemistry.opencmis.commons.impl.jaxb.DeleteTreeResponse.FailedToDelete
- Throws:
CmisException
getAllowableActions
public CmisAllowableActionsType getAllowableActions(String repositoryId,
String objectId,
CmisExtensionType extension)
throws CmisException
- Specified by:
getAllowableActions
in interface ObjectServicePort
- Returns:
- returns org.apache.chemistry.opencmis.commons.impl.jaxb.CmisAllowableActionsType
- Throws:
CmisException
getContentStream
public CmisContentStreamType getContentStream(String repositoryId,
String objectId,
String streamId,
BigInteger offset,
BigInteger length,
CmisExtensionType extension)
throws CmisException
- Specified by:
getContentStream
in interface ObjectServicePort
- Returns:
- returns org.apache.chemistry.opencmis.commons.impl.jaxb.CmisContentStreamType
- Throws:
CmisException
getObject
public CmisObjectType getObject(String repositoryId,
String objectId,
String filter,
Boolean includeAllowableActions,
EnumIncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
CmisExtensionType extension)
throws CmisException
- Specified by:
getObject
in interface ObjectServicePort
- Returns:
- returns org.apache.chemistry.opencmis.commons.impl.jaxb.CmisObjectType
- Throws:
CmisException
getObjectByPath
public CmisObjectType getObjectByPath(String repositoryId,
String path,
String filter,
Boolean includeAllowableActions,
EnumIncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
CmisExtensionType extension)
throws CmisException
- Specified by:
getObjectByPath
in interface ObjectServicePort
- Returns:
- returns org.apache.chemistry.opencmis.commons.impl.jaxb.CmisObjectType
- Throws:
CmisException
getProperties
public CmisPropertiesType getProperties(String repositoryId,
String objectId,
String filter,
CmisExtensionType extension)
throws CmisException
- Specified by:
getProperties
in interface ObjectServicePort
- Returns:
- returns org.apache.chemistry.opencmis.commons.impl.jaxb.CmisPropertiesType
- Throws:
CmisException
getRenditions
public List<CmisRenditionType> getRenditions(String repositoryId,
String objectId,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount,
CmisExtensionType extension)
throws CmisException
- Specified by:
getRenditions
in interface ObjectServicePort
- Returns:
- returns java.util.List
- Throws:
CmisException
moveObject
public void moveObject(String repositoryId,
javax.xml.ws.Holder<String> objectId,
String targetFolderId,
String sourceFolderId,
javax.xml.ws.Holder<CmisExtensionType> extension)
throws CmisException
- Specified by:
moveObject
in interface ObjectServicePort
- Throws:
CmisException
setContentStream
public void setContentStream(String repositoryId,
javax.xml.ws.Holder<String> objectId,
Boolean overwriteFlag,
javax.xml.ws.Holder<String> changeToken,
CmisContentStreamType contentStream,
javax.xml.ws.Holder<CmisExtensionType> extension)
throws CmisException
- Specified by:
setContentStream
in interface ObjectServicePort
- Throws:
CmisException
updateProperties
public void updateProperties(String repositoryId,
javax.xml.ws.Holder<String> objectId,
javax.xml.ws.Holder<String> changeToken,
CmisPropertiesType properties,
javax.xml.ws.Holder<CmisExtensionType> extension)
throws CmisException
- Specified by:
updateProperties
in interface ObjectServicePort
- Throws:
CmisException
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.