|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.cmis.ws.DMAbstractServicePort
org.alfresco.repo.cmis.ws.DMVersioningServicePort
public class DMVersioningServicePort
Port for versioning service.
| Field Summary |
|---|
| Fields inherited from class org.alfresco.repo.cmis.ws.DMAbstractServicePort |
|---|
authorityService, cmisAclService, cmisChangeLogService, cmisObjectFactory, cmisQueryService, cmisRenditionService, cmisService, descriptorService, fileFolderService, INCLUDE_RELATIONSHIPS_ENUM_MAPPING, nodeService, permissionService, propertiesUtil, searchService |
| Constructor Summary | |
|---|---|
DMVersioningServicePort()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DMVersioningServicePort()
| Method Detail |
|---|
public 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 Id
CmisException - (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 comment
CmisException - (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 filter
CmisException - (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.CmisException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||