public class DMVersioningServicePort extends DMAbstractServicePort implements org.alfresco.repo.cmis.ws.VersioningServicePort
authorityService, cmisAclService, cmisChangeLogService, cmisObjectFactory, cmisQueryService, cmisRenditionService, cmisService, descriptorService, fileFolderService, INCLUDE_RELATIONSHIPS_ENUM_MAPPING, nodeService, permissionService, propertiesUtil, searchService| Constructor and Description |
|---|
DMVersioningServicePort() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelCheckOut(java.lang.String repositoryId,
java.lang.String objectId,
javax.xml.ws.Holder extension)
Reverses the effect of a check-out.
|
void |
checkIn(java.lang.String repositoryId,
javax.xml.ws.Holder objectId,
java.lang.Boolean major,
org.alfresco.repo.cmis.ws.CmisPropertiesType properties,
org.alfresco.repo.cmis.ws.CmisContentStreamType contentStream,
java.lang.String checkinComment,
java.util.List policies,
org.alfresco.repo.cmis.ws.CmisAccessControlListType addACEs,
org.alfresco.repo.cmis.ws.CmisAccessControlListType removeACEs,
javax.xml.ws.Holder extension)
Makes the private working copy the current version of the document.
|
void |
checkOut(java.lang.String repositoryId,
javax.xml.ws.Holder objectId,
javax.xml.ws.Holder extension,
javax.xml.ws.Holder contentCopied)
Create a private working copy of the object, copies the metadata and optionally content.
|
java.util.List |
getAllVersions(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.String filter,
java.lang.Boolean includeAllowableActions,
org.alfresco.repo.cmis.ws.CmisExtensionType extension)
Gets the list of all document versions for the specified version series.
|
org.alfresco.repo.cmis.ws.CmisObjectType |
getObjectOfLatestVersion(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.Boolean major,
java.lang.String filter,
java.lang.Boolean includeAllowableActions,
org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships,
java.lang.String renditionFilter,
java.lang.Boolean includePolicyIds,
java.lang.Boolean includeACL,
org.alfresco.repo.cmis.ws.CmisExtensionType extension) |
org.alfresco.repo.cmis.ws.CmisPropertiesType |
getPropertiesOfLatestVersion(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.Boolean major,
java.lang.String filter,
org.alfresco.repo.cmis.ws.CmisExtensionType extension)
Gets the properties of the latest version, or the latest major version, of the specified version series.
|
appendWithAce, appendWithRelationships, applyAclCarefully, applyPolicies, checkRepositoryId, convertAclReportToCmisAclType, createCmisObject, createCmisObject, createCmisObjectList, createCursor, createPropertyFilter, createPropertyFilter, determineObjectAllowableActions, getRenditions, isObjectInFolder, setAuthorityService, setCmisAclService, setCmisChangeLogService, setCmisQueryService, setCmisRenditionService, setCmisService, setDescriptorService, setFileFolderService, setNodeService, setPermissionService, setPropertiesUtil, setSearchServicepublic void cancelCheckOut(java.lang.String repositoryId,
java.lang.String objectId,
javax.xml.ws.Holder extension)
throws org.alfresco.repo.cmis.ws.CmisException
cancelCheckOut in interface org.alfresco.repo.cmis.ws.VersioningServicePortrepositoryId - repository IdobjectId - document IdCmisException - (with following EnumServiceException : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT,
UPDATE_CONFLICT, VERSIONING)public void checkIn(java.lang.String repositoryId,
javax.xml.ws.Holder objectId,
java.lang.Boolean major,
org.alfresco.repo.cmis.ws.CmisPropertiesType properties,
org.alfresco.repo.cmis.ws.CmisContentStreamType contentStream,
java.lang.String checkinComment,
java.util.List policies,
org.alfresco.repo.cmis.ws.CmisAccessControlListType addACEs,
org.alfresco.repo.cmis.ws.CmisAccessControlListType removeACEs,
javax.xml.ws.Holder extension)
throws org.alfresco.repo.cmis.ws.CmisException
checkIn in interface org.alfresco.repo.cmis.ws.VersioningServicePortrepositoryId - repository IdobjectId - document Idmajor - is major True (Default)properties - CMIS propertiescontentStream - content streamcheckinComment - check in commentCmisException - (with following EnumServiceException : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, STORAGE,
STREAM_NOT_SUPPORTED, UPDATE_CONFLICT, VERSIONING)public void checkOut(java.lang.String repositoryId,
javax.xml.ws.Holder objectId,
javax.xml.ws.Holder extension,
javax.xml.ws.Holder contentCopied)
throws org.alfresco.repo.cmis.ws.CmisException
checkOut in interface org.alfresco.repo.cmis.ws.VersioningServicePortrepositoryId - repository IdobjectId - ObjectID of document version to checkoutcontentCopied - CmisException - (with following EnumServiceException : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, STORAGE,
UPDATE_CONFLICT, VERSIONING)public java.util.List getAllVersions(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.String filter,
java.lang.Boolean includeAllowableActions,
org.alfresco.repo.cmis.ws.CmisExtensionType extension)
throws org.alfresco.repo.cmis.ws.CmisException
getAllVersions in interface org.alfresco.repo.cmis.ws.VersioningServicePortparameters - repositoryId: repository Id; versionSeriesId: version series Id; filter: property filter; includeAllowableActions; includeRelationships;CmisException - (with following EnumServiceException : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID)public org.alfresco.repo.cmis.ws.CmisPropertiesType getPropertiesOfLatestVersion(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.Boolean major,
java.lang.String filter,
org.alfresco.repo.cmis.ws.CmisExtensionType extension)
throws org.alfresco.repo.cmis.ws.CmisException
getPropertiesOfLatestVersion in interface org.alfresco.repo.cmis.ws.VersioningServicePortparameters - repositoryId: repository Id; versionSeriesId: version series Id; majorVersion: whether or not to return the latest major version. Default=FALSE; filter:
property filterCmisException - (with following EnumServiceException : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID)public org.alfresco.repo.cmis.ws.CmisObjectType getObjectOfLatestVersion(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.Boolean major,
java.lang.String filter,
java.lang.Boolean includeAllowableActions,
org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships,
java.lang.String renditionFilter,
java.lang.Boolean includePolicyIds,
java.lang.Boolean includeACL,
org.alfresco.repo.cmis.ws.CmisExtensionType extension)
throws org.alfresco.repo.cmis.ws.CmisException
getObjectOfLatestVersion in interface org.alfresco.repo.cmis.ws.VersioningServicePortorg.alfresco.repo.cmis.ws.CmisExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.