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
@MTOM
@StreamingAttachment(parseEagerly=true,
memoryThreshold=4931584L)
public class ObjectService
- extends AbstractService
- implements ObjectServicePort
CMIS Object Service.
Method Summary |
void |
createDocument(java.lang.String repositoryId,
CmisPropertiesType properties,
java.lang.String folderId,
CmisContentStreamType contentStream,
EnumVersioningState versioningState,
java.util.List<java.lang.String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<java.lang.String> objectId)
|
void |
createDocumentFromSource(java.lang.String repositoryId,
java.lang.String sourceId,
CmisPropertiesType properties,
java.lang.String folderId,
EnumVersioningState versioningState,
java.util.List<java.lang.String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<java.lang.String> objectId)
|
void |
createFolder(java.lang.String repositoryId,
CmisPropertiesType properties,
java.lang.String folderId,
java.util.List<java.lang.String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<java.lang.String> objectId)
|
void |
createPolicy(java.lang.String repositoryId,
CmisPropertiesType properties,
java.lang.String folderId,
java.util.List<java.lang.String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<java.lang.String> objectId)
|
void |
createRelationship(java.lang.String repositoryId,
CmisPropertiesType properties,
java.util.List<java.lang.String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<java.lang.String> objectId)
|
void |
deleteContentStream(java.lang.String repositoryId,
javax.xml.ws.Holder<java.lang.String> objectId,
javax.xml.ws.Holder<java.lang.String> changeToken,
javax.xml.ws.Holder<CmisExtensionType> extension)
|
void |
deleteObject(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.Boolean allVersions,
javax.xml.ws.Holder<CmisExtensionType> extension)
|
DeleteTreeResponse.FailedToDelete |
deleteTree(java.lang.String repositoryId,
java.lang.String folderId,
java.lang.Boolean allVersions,
EnumUnfileObject unfileObjects,
java.lang.Boolean continueOnFailure,
CmisExtensionType extension)
|
CmisAllowableActionsType |
getAllowableActions(java.lang.String repositoryId,
java.lang.String objectId,
CmisExtensionType extension)
|
CmisContentStreamType |
getContentStream(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.String streamId,
java.math.BigInteger offset,
java.math.BigInteger length,
CmisExtensionType extension)
|
CmisObjectType |
getObject(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.String filter,
java.lang.Boolean includeAllowableActions,
EnumIncludeRelationships includeRelationships,
java.lang.String renditionFilter,
java.lang.Boolean includePolicyIds,
java.lang.Boolean includeAcl,
CmisExtensionType extension)
|
CmisObjectType |
getObjectByPath(java.lang.String repositoryId,
java.lang.String path,
java.lang.String filter,
java.lang.Boolean includeAllowableActions,
EnumIncludeRelationships includeRelationships,
java.lang.String renditionFilter,
java.lang.Boolean includePolicyIds,
java.lang.Boolean includeAcl,
CmisExtensionType extension)
|
CmisPropertiesType |
getProperties(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.String filter,
CmisExtensionType extension)
|
java.util.List<CmisRenditionType> |
getRenditions(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.String renditionFilter,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount,
CmisExtensionType extension)
|
void |
moveObject(java.lang.String repositoryId,
javax.xml.ws.Holder<java.lang.String> objectId,
java.lang.String targetFolderId,
java.lang.String sourceFolderId,
javax.xml.ws.Holder<CmisExtensionType> extension)
|
void |
setContentStream(java.lang.String repositoryId,
javax.xml.ws.Holder<java.lang.String> objectId,
java.lang.Boolean overwriteFlag,
javax.xml.ws.Holder<java.lang.String> changeToken,
CmisContentStreamType contentStream,
javax.xml.ws.Holder<CmisExtensionType> extension)
|
void |
updateProperties(java.lang.String repositoryId,
javax.xml.ws.Holder<java.lang.String> objectId,
javax.xml.ws.Holder<java.lang.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(java.lang.String repositoryId,
CmisPropertiesType properties,
java.lang.String folderId,
CmisContentStreamType contentStream,
EnumVersioningState versioningState,
java.util.List<java.lang.String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<java.lang.String> objectId)
throws CmisException
- Specified by:
createDocument
in interface ObjectServicePort
- Throws:
CmisException
createDocumentFromSource
public void createDocumentFromSource(java.lang.String repositoryId,
java.lang.String sourceId,
CmisPropertiesType properties,
java.lang.String folderId,
EnumVersioningState versioningState,
java.util.List<java.lang.String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<java.lang.String> objectId)
throws CmisException
- Specified by:
createDocumentFromSource
in interface ObjectServicePort
- Throws:
CmisException
createFolder
public void createFolder(java.lang.String repositoryId,
CmisPropertiesType properties,
java.lang.String folderId,
java.util.List<java.lang.String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<java.lang.String> objectId)
throws CmisException
- Specified by:
createFolder
in interface ObjectServicePort
- Throws:
CmisException
createPolicy
public void createPolicy(java.lang.String repositoryId,
CmisPropertiesType properties,
java.lang.String folderId,
java.util.List<java.lang.String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<java.lang.String> objectId)
throws CmisException
- Specified by:
createPolicy
in interface ObjectServicePort
- Throws:
CmisException
createRelationship
public void createRelationship(java.lang.String repositoryId,
CmisPropertiesType properties,
java.util.List<java.lang.String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<java.lang.String> objectId)
throws CmisException
- Specified by:
createRelationship
in interface ObjectServicePort
- Throws:
CmisException
deleteContentStream
public void deleteContentStream(java.lang.String repositoryId,
javax.xml.ws.Holder<java.lang.String> objectId,
javax.xml.ws.Holder<java.lang.String> changeToken,
javax.xml.ws.Holder<CmisExtensionType> extension)
throws CmisException
- Specified by:
deleteContentStream
in interface ObjectServicePort
- Throws:
CmisException
deleteObject
public void deleteObject(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.Boolean allVersions,
javax.xml.ws.Holder<CmisExtensionType> extension)
throws CmisException
- Specified by:
deleteObject
in interface ObjectServicePort
- Throws:
CmisException
deleteTree
public DeleteTreeResponse.FailedToDelete deleteTree(java.lang.String repositoryId,
java.lang.String folderId,
java.lang.Boolean allVersions,
EnumUnfileObject unfileObjects,
java.lang.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(java.lang.String repositoryId,
java.lang.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(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.String streamId,
java.math.BigInteger offset,
java.math.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(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.String filter,
java.lang.Boolean includeAllowableActions,
EnumIncludeRelationships includeRelationships,
java.lang.String renditionFilter,
java.lang.Boolean includePolicyIds,
java.lang.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(java.lang.String repositoryId,
java.lang.String path,
java.lang.String filter,
java.lang.Boolean includeAllowableActions,
EnumIncludeRelationships includeRelationships,
java.lang.String renditionFilter,
java.lang.Boolean includePolicyIds,
java.lang.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(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.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 java.util.List<CmisRenditionType> getRenditions(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.String renditionFilter,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount,
CmisExtensionType extension)
throws CmisException
- Specified by:
getRenditions
in interface ObjectServicePort
- Returns:
- returns java.util.List
- Throws:
CmisException
moveObject
public void moveObject(java.lang.String repositoryId,
javax.xml.ws.Holder<java.lang.String> objectId,
java.lang.String targetFolderId,
java.lang.String sourceFolderId,
javax.xml.ws.Holder<CmisExtensionType> extension)
throws CmisException
- Specified by:
moveObject
in interface ObjectServicePort
- Throws:
CmisException
setContentStream
public void setContentStream(java.lang.String repositoryId,
javax.xml.ws.Holder<java.lang.String> objectId,
java.lang.Boolean overwriteFlag,
javax.xml.ws.Holder<java.lang.String> changeToken,
CmisContentStreamType contentStream,
javax.xml.ws.Holder<CmisExtensionType> extension)
throws CmisException
- Specified by:
setContentStream
in interface ObjectServicePort
- Throws:
CmisException
updateProperties
public void updateProperties(java.lang.String repositoryId,
javax.xml.ws.Holder<java.lang.String> objectId,
javax.xml.ws.Holder<java.lang.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.