public abstract class AbstractCmisServiceWrapper extends Object implements CallContextAwareCmisService, ProgressControlCmisService
All service wrappers managed by CmisServiceWrapperManager must be
derived from this class and must provide a constructor that takes a
CmisService object as the sole parameter.
ProgressControlCmisService.Progress| Constructor and Description |
|---|
AbstractCmisServiceWrapper(CmisService service) |
| Modifier and Type | Method and Description |
|---|---|
void |
addObjectToFolder(String repositoryId,
String objectId,
String folderId,
Boolean allVersions,
ExtensionsData extension) |
ProgressControlCmisService.Progress |
afterServiceCall() |
void |
appendContentStream(String repositoryId,
Holder<String> objectId,
Holder<String> changeToken,
ContentStream contentStream,
boolean isLastChunk,
ExtensionsData extension) |
Acl |
applyAcl(String repositoryId,
String objectId,
Acl addAces,
Acl removeAces,
AclPropagation aclPropagation,
ExtensionsData extension) |
Acl |
applyAcl(String repositoryId,
String objectId,
Acl aces,
AclPropagation aclPropagation) |
void |
applyPolicy(String repositoryId,
String policyId,
String objectId,
ExtensionsData extension) |
ProgressControlCmisService.Progress |
beforeServiceCall() |
List<BulkUpdateObjectIdAndChangeToken> |
bulkUpdateProperties(String repositoryId,
List<BulkUpdateObjectIdAndChangeToken> objectIdsAndChangeTokens,
Properties properties,
List<String> addSecondaryTypeIds,
List<String> removeSecondaryTypeIds,
ExtensionsData extension) |
void |
cancelCheckOut(String repositoryId,
String objectId,
ExtensionsData extension) |
void |
checkIn(String repositoryId,
Holder<String> objectId,
Boolean major,
Properties properties,
ContentStream contentStream,
String checkinComment,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
void |
checkOut(String repositoryId,
Holder<String> objectId,
ExtensionsData extension,
Holder<Boolean> contentCopied) |
void |
close() |
String |
create(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
ExtensionsData extension) |
String |
createDocument(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
String |
createDocumentFromSource(String repositoryId,
String sourceId,
Properties properties,
String folderId,
VersioningState versioningState,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
String |
createFolder(String repositoryId,
Properties properties,
String folderId,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
String |
createItem(String repositoryId,
Properties properties,
String folderId,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
String |
createPolicy(String repositoryId,
Properties properties,
String folderId,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
String |
createRelationship(String repositoryId,
Properties properties,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension) |
TypeDefinition |
createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
void |
deleteContentStream(String repositoryId,
Holder<String> objectId,
Holder<String> changeToken,
ExtensionsData extension) |
void |
deleteObject(String repositoryId,
String objectId,
Boolean allVersions,
ExtensionsData extension) |
void |
deleteObjectOrCancelCheckOut(String repositoryId,
String objectId,
Boolean allVersions,
ExtensionsData extension) |
FailedToDeleteData |
deleteTree(String repositoryId,
String folderId,
Boolean allVersions,
UnfileObject unfileObjects,
Boolean continueOnFailure,
ExtensionsData extension) |
void |
deleteType(String repositoryId,
String typeId,
ExtensionsData extension) |
Acl |
getAcl(String repositoryId,
String objectId,
Boolean onlyBasicPermissions,
ExtensionsData extension) |
AllowableActions |
getAllowableActions(String repositoryId,
String objectId,
ExtensionsData extension) |
List<ObjectData> |
getAllVersions(String repositoryId,
String objectId,
String versionSeriesId,
String filter,
Boolean includeAllowableActions,
ExtensionsData extension) |
List<ObjectData> |
getAppliedPolicies(String repositoryId,
String objectId,
String filter,
ExtensionsData extension) |
CallContext |
getCallContext()
Gets the current call context.
|
ObjectList |
getCheckedOutDocs(String repositoryId,
String folderId,
String filter,
String orderBy,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount,
ExtensionsData extension) |
ObjectInFolderList |
getChildren(String repositoryId,
String folderId,
String filter,
String orderBy,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
BigInteger maxItems,
BigInteger skipCount,
ExtensionsData extension) |
ObjectList |
getContentChanges(String repositoryId,
Holder<String> changeLogToken,
Boolean includeProperties,
String filter,
Boolean includePolicyIds,
Boolean includeAcl,
BigInteger maxItems,
ExtensionsData extension) |
ContentStream |
getContentStream(String repositoryId,
String objectId,
String streamId,
BigInteger offset,
BigInteger length,
ExtensionsData extension) |
List<ObjectInFolderContainer> |
getDescendants(String repositoryId,
String folderId,
BigInteger depth,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
ExtensionsData extension) |
ObjectData |
getFolderParent(String repositoryId,
String folderId,
String filter,
ExtensionsData extension) |
List<ObjectInFolderContainer> |
getFolderTree(String repositoryId,
String folderId,
BigInteger depth,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
ExtensionsData extension) |
ObjectData |
getObject(String repositoryId,
String objectId,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
ExtensionsData extension) |
ObjectData |
getObjectByPath(String repositoryId,
String path,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
ExtensionsData extension) |
ObjectInfo |
getObjectInfo(String repositoryId,
String objectId) |
ObjectData |
getObjectOfLatestVersion(String repositoryId,
String objectId,
String versionSeriesId,
Boolean major,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
ExtensionsData extension) |
List<ObjectParentData> |
getObjectParents(String repositoryId,
String objectId,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includeRelativePathSegment,
ExtensionsData extension) |
ObjectList |
getObjectRelationships(String repositoryId,
String objectId,
Boolean includeSubRelationshipTypes,
RelationshipDirection relationshipDirection,
String typeId,
String filter,
Boolean includeAllowableActions,
BigInteger maxItems,
BigInteger skipCount,
ExtensionsData extension) |
Properties |
getProperties(String repositoryId,
String objectId,
String filter,
ExtensionsData extension) |
Properties |
getPropertiesOfLatestVersion(String repositoryId,
String objectId,
String versionSeriesId,
Boolean major,
String filter,
ExtensionsData extension) |
List<RenditionData> |
getRenditions(String repositoryId,
String objectId,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount,
ExtensionsData extension) |
RepositoryInfo |
getRepositoryInfo(String repositoryId,
ExtensionsData extension) |
List<RepositoryInfo> |
getRepositoryInfos(ExtensionsData extension) |
TypeDefinitionList |
getTypeChildren(String repositoryId,
String typeId,
Boolean includePropertyDefinitions,
BigInteger maxItems,
BigInteger skipCount,
ExtensionsData extension) |
TypeDefinition |
getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
List<TypeDefinitionContainer> |
getTypeDescendants(String repositoryId,
String typeId,
BigInteger depth,
Boolean includePropertyDefinitions,
ExtensionsData extension) |
CmisService |
getWrappedService()
Returns the wrapped service or the next service wrapper.
|
void |
initialize(Object[] params)
Initializes the wrapper with a set of parameters.
|
void |
moveObject(String repositoryId,
Holder<String> objectId,
String targetFolderId,
String sourceFolderId,
ExtensionsData extension) |
ObjectList |
query(String repositoryId,
String statement,
Boolean searchAllVersions,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount,
ExtensionsData extension) |
void |
removeObjectFromFolder(String repositoryId,
String objectId,
String folderId,
ExtensionsData extension) |
void |
removePolicy(String repositoryId,
String policyId,
String objectId,
ExtensionsData extension) |
void |
setCallContext(CallContext callContext)
Sets the call context and propagates it down to the next service wrapper
or service if it implements the
CallContextAwareCmisService
interface. |
void |
setContentStream(String repositoryId,
Holder<String> objectId,
Boolean overwriteFlag,
Holder<String> changeToken,
ContentStream contentStream,
ExtensionsData extension) |
void |
updateProperties(String repositoryId,
Holder<String> objectId,
Holder<String> changeToken,
Properties properties,
ExtensionsData extension) |
TypeDefinition |
updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
public AbstractCmisServiceWrapper(CmisService service)
public void initialize(Object[] params)
params - an array of parameter objectspublic CmisService getWrappedService()
public void setCallContext(CallContext callContext)
CallContextAwareCmisService
interface.setCallContext in interface CallContextAwareCmisServicecallContext - the new call contextpublic CallContext getCallContext()
getCallContext in interface CallContextAwareCmisServicepublic ProgressControlCmisService.Progress beforeServiceCall()
beforeServiceCall in interface ProgressControlCmisServicepublic ProgressControlCmisService.Progress afterServiceCall()
afterServiceCall in interface ProgressControlCmisServicepublic List<RepositoryInfo> getRepositoryInfos(ExtensionsData extension)
getRepositoryInfos in interface RepositoryServicepublic RepositoryInfo getRepositoryInfo(String repositoryId, ExtensionsData extension)
getRepositoryInfo in interface RepositoryServicepublic TypeDefinitionList getTypeChildren(String repositoryId, String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount, ExtensionsData extension)
getTypeChildren in interface RepositoryServicepublic List<TypeDefinitionContainer> getTypeDescendants(String repositoryId, String typeId, BigInteger depth, Boolean includePropertyDefinitions, ExtensionsData extension)
getTypeDescendants in interface RepositoryServicepublic TypeDefinition getTypeDefinition(String repositoryId, String typeId, ExtensionsData extension)
getTypeDefinition in interface RepositoryServicepublic TypeDefinition createType(String repositoryId, TypeDefinition type, ExtensionsData extension)
createType in interface RepositoryServicepublic TypeDefinition updateType(String repositoryId, TypeDefinition type, ExtensionsData extension)
updateType in interface RepositoryServicepublic void deleteType(String repositoryId, String typeId, ExtensionsData extension)
deleteType in interface RepositoryServicepublic ObjectInFolderList getChildren(String repositoryId, String folderId, String filter, String orderBy, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, BigInteger maxItems, BigInteger skipCount, ExtensionsData extension)
getChildren in interface NavigationServicepublic List<ObjectInFolderContainer> getDescendants(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, ExtensionsData extension)
getDescendants in interface NavigationServicepublic List<ObjectInFolderContainer> getFolderTree(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, ExtensionsData extension)
getFolderTree in interface NavigationServicepublic List<ObjectParentData> getObjectParents(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, Boolean includeRelativePathSegment, ExtensionsData extension)
getObjectParents in interface NavigationServicepublic ObjectData getFolderParent(String repositoryId, String folderId, String filter, ExtensionsData extension)
getFolderParent in interface NavigationServicepublic ObjectList getCheckedOutDocs(String repositoryId, String folderId, String filter, String orderBy, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount, ExtensionsData extension)
getCheckedOutDocs in interface NavigationServicepublic String createDocument(String repositoryId, Properties properties, String folderId, ContentStream contentStream, VersioningState versioningState, List<String> policies, Acl addAces, Acl removeAces, ExtensionsData extension)
createDocument in interface ObjectServicepublic String createDocumentFromSource(String repositoryId, String sourceId, Properties properties, String folderId, VersioningState versioningState, List<String> policies, Acl addAces, Acl removeAces, ExtensionsData extension)
createDocumentFromSource in interface ObjectServicepublic String createFolder(String repositoryId, Properties properties, String folderId, List<String> policies, Acl addAces, Acl removeAces, ExtensionsData extension)
createFolder in interface ObjectServicepublic String createRelationship(String repositoryId, Properties properties, List<String> policies, Acl addAces, Acl removeAces, ExtensionsData extension)
createRelationship in interface ObjectServicepublic String createPolicy(String repositoryId, Properties properties, String folderId, List<String> policies, Acl addAces, Acl removeAces, ExtensionsData extension)
createPolicy in interface ObjectServicepublic String createItem(String repositoryId, Properties properties, String folderId, List<String> policies, Acl addAces, Acl removeAces, ExtensionsData extension)
createItem in interface ObjectServicepublic AllowableActions getAllowableActions(String repositoryId, String objectId, ExtensionsData extension)
getAllowableActions in interface ObjectServicepublic ObjectData getObject(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, ExtensionsData extension)
getObject in interface ObjectServicepublic Properties getProperties(String repositoryId, String objectId, String filter, ExtensionsData extension)
getProperties in interface ObjectServicepublic List<RenditionData> getRenditions(String repositoryId, String objectId, String renditionFilter, BigInteger maxItems, BigInteger skipCount, ExtensionsData extension)
getRenditions in interface ObjectServicepublic ObjectData getObjectByPath(String repositoryId, String path, String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, ExtensionsData extension)
getObjectByPath in interface ObjectServicepublic ContentStream getContentStream(String repositoryId, String objectId, String streamId, BigInteger offset, BigInteger length, ExtensionsData extension)
getContentStream in interface ObjectServicepublic void updateProperties(String repositoryId, Holder<String> objectId, Holder<String> changeToken, Properties properties, ExtensionsData extension)
updateProperties in interface ObjectServicepublic List<BulkUpdateObjectIdAndChangeToken> bulkUpdateProperties(String repositoryId, List<BulkUpdateObjectIdAndChangeToken> objectIdsAndChangeTokens, Properties properties, List<String> addSecondaryTypeIds, List<String> removeSecondaryTypeIds, ExtensionsData extension)
bulkUpdateProperties in interface ObjectServicepublic void moveObject(String repositoryId, Holder<String> objectId, String targetFolderId, String sourceFolderId, ExtensionsData extension)
moveObject in interface ObjectServicepublic void deleteObject(String repositoryId, String objectId, Boolean allVersions, ExtensionsData extension)
deleteObject in interface ObjectServicepublic FailedToDeleteData deleteTree(String repositoryId, String folderId, Boolean allVersions, UnfileObject unfileObjects, Boolean continueOnFailure, ExtensionsData extension)
deleteTree in interface ObjectServicepublic void setContentStream(String repositoryId, Holder<String> objectId, Boolean overwriteFlag, Holder<String> changeToken, ContentStream contentStream, ExtensionsData extension)
setContentStream in interface ObjectServicepublic void deleteContentStream(String repositoryId, Holder<String> objectId, Holder<String> changeToken, ExtensionsData extension)
deleteContentStream in interface ObjectServicepublic void appendContentStream(String repositoryId, Holder<String> objectId, Holder<String> changeToken, ContentStream contentStream, boolean isLastChunk, ExtensionsData extension)
appendContentStream in interface ObjectServicepublic void checkOut(String repositoryId, Holder<String> objectId, ExtensionsData extension, Holder<Boolean> contentCopied)
checkOut in interface VersioningServicepublic void cancelCheckOut(String repositoryId, String objectId, ExtensionsData extension)
cancelCheckOut in interface VersioningServicepublic void checkIn(String repositoryId, Holder<String> objectId, Boolean major, Properties properties, ContentStream contentStream, String checkinComment, List<String> policies, Acl addAces, Acl removeAces, ExtensionsData extension)
checkIn in interface VersioningServicepublic ObjectData getObjectOfLatestVersion(String repositoryId, String objectId, String versionSeriesId, Boolean major, String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, ExtensionsData extension)
getObjectOfLatestVersion in interface VersioningServicepublic Properties getPropertiesOfLatestVersion(String repositoryId, String objectId, String versionSeriesId, Boolean major, String filter, ExtensionsData extension)
getPropertiesOfLatestVersion in interface VersioningServicepublic List<ObjectData> getAllVersions(String repositoryId, String objectId, String versionSeriesId, String filter, Boolean includeAllowableActions, ExtensionsData extension)
getAllVersions in interface VersioningServicepublic ObjectList query(String repositoryId, String statement, Boolean searchAllVersions, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount, ExtensionsData extension)
query in interface DiscoveryServicepublic ObjectList getContentChanges(String repositoryId, Holder<String> changeLogToken, Boolean includeProperties, String filter, Boolean includePolicyIds, Boolean includeAcl, BigInteger maxItems, ExtensionsData extension)
getContentChanges in interface DiscoveryServicepublic void addObjectToFolder(String repositoryId, String objectId, String folderId, Boolean allVersions, ExtensionsData extension)
addObjectToFolder in interface MultiFilingServicepublic void removeObjectFromFolder(String repositoryId, String objectId, String folderId, ExtensionsData extension)
removeObjectFromFolder in interface MultiFilingServicepublic ObjectList getObjectRelationships(String repositoryId, String objectId, Boolean includeSubRelationshipTypes, RelationshipDirection relationshipDirection, String typeId, String filter, Boolean includeAllowableActions, BigInteger maxItems, BigInteger skipCount, ExtensionsData extension)
getObjectRelationships in interface RelationshipServicepublic Acl getAcl(String repositoryId, String objectId, Boolean onlyBasicPermissions, ExtensionsData extension)
getAcl in interface AclServicepublic Acl applyAcl(String repositoryId, String objectId, Acl addAces, Acl removeAces, AclPropagation aclPropagation, ExtensionsData extension)
applyAcl in interface AclServicepublic void applyPolicy(String repositoryId, String policyId, String objectId, ExtensionsData extension)
applyPolicy in interface PolicyServicepublic void removePolicy(String repositoryId, String policyId, String objectId, ExtensionsData extension)
removePolicy in interface PolicyServicepublic List<ObjectData> getAppliedPolicies(String repositoryId, String objectId, String filter, ExtensionsData extension)
getAppliedPolicies in interface PolicyServicepublic String create(String repositoryId, Properties properties, String folderId, ContentStream contentStream, VersioningState versioningState, List<String> policies, ExtensionsData extension)
create in interface CmisServicepublic void deleteObjectOrCancelCheckOut(String repositoryId, String objectId, Boolean allVersions, ExtensionsData extension)
deleteObjectOrCancelCheckOut in interface CmisServicepublic Acl applyAcl(String repositoryId, String objectId, Acl aces, AclPropagation aclPropagation)
applyAcl in interface CmisServicepublic ObjectInfo getObjectInfo(String repositoryId, String objectId)
getObjectInfo in interface CmisServicepublic void close()
close in interface CmisServiceCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.