org.apache.chemistry.opencmis.server.impl.webservices
Class VersioningService
java.lang.Object
org.apache.chemistry.opencmis.server.impl.webservices.AbstractService
org.apache.chemistry.opencmis.server.impl.webservices.VersioningService
- All Implemented Interfaces:
- VersioningServicePort
public class VersioningService
- extends AbstractService
- implements VersioningServicePort
CMIS Versioning Service.
Method Summary |
void |
cancelCheckOut(String repositoryId,
String objectId,
javax.xml.ws.Holder<CmisExtensionType> extension)
|
void |
checkIn(String repositoryId,
javax.xml.ws.Holder<String> objectId,
Boolean major,
CmisPropertiesType properties,
CmisContentStreamType contentStream,
String checkinComment,
List<String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension)
|
void |
checkOut(String repositoryId,
javax.xml.ws.Holder<String> objectId,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<Boolean> contentCopied)
|
List<CmisObjectType> |
getAllVersions(String repositoryId,
String versionSeriesId,
String filter,
Boolean includeAllowableActions,
CmisExtensionType extension)
|
CmisObjectType |
getObjectOfLatestVersion(String repositoryId,
String versionSeriesId,
Boolean major,
String filter,
Boolean includeAllowableActions,
EnumIncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
CmisExtensionType extension)
|
CmisPropertiesType |
getPropertiesOfLatestVersion(String repositoryId,
String versionSeriesId,
Boolean major,
String filter,
CmisExtensionType extension)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersioningService
public VersioningService()
cancelCheckOut
public void cancelCheckOut(String repositoryId,
String objectId,
javax.xml.ws.Holder<CmisExtensionType> extension)
throws CmisException
- Specified by:
cancelCheckOut
in interface VersioningServicePort
- Throws:
CmisException
checkIn
public void checkIn(String repositoryId,
javax.xml.ws.Holder<String> objectId,
Boolean major,
CmisPropertiesType properties,
CmisContentStreamType contentStream,
String checkinComment,
List<String> policies,
CmisAccessControlListType addAces,
CmisAccessControlListType removeAces,
javax.xml.ws.Holder<CmisExtensionType> extension)
throws CmisException
- Specified by:
checkIn
in interface VersioningServicePort
- Throws:
CmisException
checkOut
public void checkOut(String repositoryId,
javax.xml.ws.Holder<String> objectId,
javax.xml.ws.Holder<CmisExtensionType> extension,
javax.xml.ws.Holder<Boolean> contentCopied)
throws CmisException
- Specified by:
checkOut
in interface VersioningServicePort
- Throws:
CmisException
getAllVersions
public List<CmisObjectType> getAllVersions(String repositoryId,
String versionSeriesId,
String filter,
Boolean includeAllowableActions,
CmisExtensionType extension)
throws CmisException
- Specified by:
getAllVersions
in interface VersioningServicePort
- Returns:
- returns java.util.List
- Throws:
CmisException
getObjectOfLatestVersion
public CmisObjectType getObjectOfLatestVersion(String repositoryId,
String versionSeriesId,
Boolean major,
String filter,
Boolean includeAllowableActions,
EnumIncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
CmisExtensionType extension)
throws CmisException
- Specified by:
getObjectOfLatestVersion
in interface VersioningServicePort
- Returns:
- returns org.apache.chemistry.opencmis.commons.impl.jaxb.CmisObjectType
- Throws:
CmisException
getPropertiesOfLatestVersion
public CmisPropertiesType getPropertiesOfLatestVersion(String repositoryId,
String versionSeriesId,
Boolean major,
String filter,
CmisExtensionType extension)
throws CmisException
- Specified by:
getPropertiesOfLatestVersion
in interface VersioningServicePort
- Returns:
- returns org.apache.chemistry.opencmis.commons.impl.jaxb.CmisPropertiesType
- Throws:
CmisException
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.