public class DMVersioningServicePort extends DMAbstractServicePort implements 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(String repositoryId,
String objectId,
Holder<CmisExtensionType> extension)
Reverses the effect of a check-out.
|
void |
checkIn(String repositoryId,
Holder<String> objectId,
Boolean major,
CmisPropertiesType properties,
CmisContentStreamType contentStream,
String checkinComment,
List<String> policies,
CmisAccessControlListType addACEs,
CmisAccessControlListType removeACEs,
Holder<CmisExtensionType> extension)
Makes the private working copy the current version of the document.
|
void |
checkOut(String repositoryId,
Holder<String> objectId,
Holder<CmisExtensionType> extension,
Holder<Boolean> contentCopied)
Create a private working copy of the object, copies the metadata and optionally content.
|
List<CmisObjectType> |
getAllVersions(String repositoryId,
String objectId,
String filter,
Boolean includeAllowableActions,
CmisExtensionType extension)
Gets the list of all document versions for the specified version series.
|
CmisObjectType |
getObjectOfLatestVersion(String repositoryId,
String objectId,
Boolean major,
String filter,
Boolean includeAllowableActions,
EnumIncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeACL,
CmisExtensionType extension) |
CmisPropertiesType |
getPropertiesOfLatestVersion(String repositoryId,
String objectId,
Boolean major,
String filter,
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(String repositoryId, String objectId, Holder<CmisExtensionType> extension) throws CmisException
cancelCheckOut in interface 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(String repositoryId, Holder<String> objectId, Boolean major, CmisPropertiesType properties, CmisContentStreamType contentStream, String checkinComment, List<String> policies, CmisAccessControlListType addACEs, CmisAccessControlListType removeACEs, Holder<CmisExtensionType> extension) throws CmisException
checkIn in interface 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(String repositoryId, Holder<String> objectId, Holder<CmisExtensionType> extension, Holder<Boolean> contentCopied) throws CmisException
checkOut in interface 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 List<CmisObjectType> getAllVersions(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, CmisExtensionType extension) throws CmisException
getAllVersions in interface 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 CmisPropertiesType getPropertiesOfLatestVersion(String repositoryId, String objectId, Boolean major, String filter, CmisExtensionType extension) throws CmisException
getPropertiesOfLatestVersion in interface 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 CmisObjectType getObjectOfLatestVersion(String repositoryId, String objectId, Boolean major, String filter, Boolean includeAllowableActions, EnumIncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeACL, CmisExtensionType extension) throws CmisException
getObjectOfLatestVersion in interface VersioningServicePortCmisExceptionCopyright © 2005–2014 Alfresco Software. All rights reserved.