public abstract class AbstractCmisService extends Object implements CmisService, ObjectInfoHandler
| Constructor and Description |
|---|
AbstractCmisService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addObjectInfo(ObjectInfo objectInfo)
Adds an object info.
|
void |
addObjectToFolder(String repositoryId,
String objectId,
String folderId,
Boolean allVersions,
ExtensionsData extension) |
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) |
List<BulkUpdateObjectIdAndChangeToken> |
bulkUpdateProperties(String repositoryId,
List<BulkUpdateObjectIdAndChangeToken> objectIdAndChangeToken,
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 |
clearObjectInfos()
Clears the object info map.
|
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) |
protected Boolean |
getBooleanProperty(ObjectData object,
String name) |
ObjectList |
getCheckedOutDocs(String repositoryId,
String folderId,
String filter,
String orderBy,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount,
ExtensionsData extension) |
abstract 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) |
protected GregorianCalendar |
getDateTimeProperty(ObjectData object,
String name) |
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) |
protected String |
getIdProperty(ObjectData object,
String name) |
protected BigInteger |
getIntegerProperty(ObjectData object,
String name) |
abstract 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) |
protected ObjectInfo |
getObjectInfoIntern(String repositoryId,
ObjectData object)
Collects the
ObjectInfo about an object. |
ObjectData |
getObjectOfLatestVersion(String repositoryId,
String objectId,
String versionSeriesId,
Boolean major,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
ExtensionsData extension) |
abstract 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) |
abstract List<RepositoryInfo> |
getRepositoryInfos(ExtensionsData extension) |
protected String |
getStringProperty(ObjectData object,
String name) |
abstract TypeDefinitionList |
getTypeChildren(String repositoryId,
String typeId,
Boolean includePropertyDefinitions,
BigInteger maxItems,
BigInteger skipCount,
ExtensionsData extension) |
abstract TypeDefinition |
getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
List<TypeDefinitionContainer> |
getTypeDescendants(String repositoryId,
String typeId,
BigInteger depth,
Boolean includePropertyDefinitions,
ExtensionsData extension) |
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 |
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 RepositoryInfo getRepositoryInfo(String repositoryId, ExtensionsData extension)
Implementation Hints:
getRepositoryInfo in interface RepositoryServicepublic abstract List<RepositoryInfo> getRepositoryInfos(ExtensionsData extension)
Implementation Hints:
getRepositoryInfos in interface RepositoryServicepublic abstract TypeDefinitionList getTypeChildren(String repositoryId, String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount, ExtensionsData extension)
Implementation Hints:
getTypeChildren in interface RepositoryServicepublic List<TypeDefinitionContainer> getTypeDescendants(String repositoryId, String typeId, BigInteger depth, Boolean includePropertyDefinitions, ExtensionsData extension)
Implementation Hints:
getTypeDescendants in interface RepositoryServicepublic abstract TypeDefinition getTypeDefinition(String repositoryId, String typeId, ExtensionsData extension)
Implementation Hints:
getTypeDefinition in interface RepositoryServicepublic TypeDefinition createType(String repositoryId, TypeDefinition type, ExtensionsData extension)
Implementation Hints:
createType in interface RepositoryServicepublic TypeDefinition updateType(String repositoryId, TypeDefinition type, ExtensionsData extension)
Implementation Hints:
updateType in interface RepositoryServicepublic void deleteType(String repositoryId, String typeId, ExtensionsData extension)
Implementation Hints:
deleteType in interface RepositoryServicepublic abstract ObjectInFolderList getChildren(String repositoryId, String folderId, String filter, String orderBy, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, BigInteger maxItems, BigInteger skipCount, ExtensionsData extension)
Implementation Hints:
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)
Implementation Hints:
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)
Implementation Hints:
getFolderTree in interface NavigationServicepublic abstract List<ObjectParentData> getObjectParents(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, Boolean includeRelativePathSegment, ExtensionsData extension)
Implementation Hints:
getObjectParents in interface NavigationServicepublic ObjectData getFolderParent(String repositoryId, String folderId, String filter, ExtensionsData extension)
Implementation Hints:
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)
Implementation Hints:
getCheckedOutDocs in interface NavigationServicepublic String create(String repositoryId, Properties properties, String folderId, ContentStream contentStream, VersioningState versioningState, List<String> policies, ExtensionsData extension)
Implementation Hints:
create in interface CmisServicepublic String createDocument(String repositoryId, Properties properties, String folderId, ContentStream contentStream, VersioningState versioningState, List<String> policies, Acl addAces, Acl removeAces, ExtensionsData extension)
Implementation Hints:
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)
Implementation Hints:
createDocumentFromSource in interface ObjectServicepublic String createFolder(String repositoryId, Properties properties, String folderId, List<String> policies, Acl addAces, Acl removeAces, ExtensionsData extension)
Implementation Hints:
createFolder in interface ObjectServicepublic String createRelationship(String repositoryId, Properties properties, List<String> policies, Acl addAces, Acl removeAces, ExtensionsData extension)
Implementation Hints:
createRelationship in interface ObjectServicepublic String createPolicy(String repositoryId, Properties properties, String folderId, List<String> policies, Acl addAces, Acl removeAces, ExtensionsData extension)
Implementation Hints:
createPolicy in interface ObjectServicepublic String createItem(String repositoryId, Properties properties, String folderId, List<String> policies, Acl addAces, Acl removeAces, ExtensionsData extension)
Implementation Hints:
createItem in interface ObjectServicepublic AllowableActions getAllowableActions(String repositoryId, String objectId, ExtensionsData extension)
Implementation Hints:
getAllowableActions in interface ObjectServicepublic abstract ObjectData getObject(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, ExtensionsData extension)
Implementation Hints:
getObject in interface ObjectServicepublic Properties getProperties(String repositoryId, String objectId, String filter, ExtensionsData extension)
Implementation Hints:
getProperties in interface ObjectServicepublic List<RenditionData> getRenditions(String repositoryId, String objectId, String renditionFilter, BigInteger maxItems, BigInteger skipCount, ExtensionsData extension)
Implementation Hints:
getRenditions in interface ObjectServicepublic ObjectData getObjectByPath(String repositoryId, String path, String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, ExtensionsData extension)
Implementation Hints:
getObjectByPath in interface ObjectServicepublic ContentStream getContentStream(String repositoryId, String objectId, String streamId, BigInteger offset, BigInteger length, ExtensionsData extension)
Implementation Hints:
getContentStream in interface ObjectServicepublic void updateProperties(String repositoryId, Holder<String> objectId, Holder<String> changeToken, Properties properties, ExtensionsData extension)
Implementation Hints:
updateProperties in interface ObjectServicepublic List<BulkUpdateObjectIdAndChangeToken> bulkUpdateProperties(String repositoryId, List<BulkUpdateObjectIdAndChangeToken> objectIdAndChangeToken, Properties properties, List<String> addSecondaryTypeIds, List<String> removeSecondaryTypeIds, ExtensionsData extension)
Implementation Hints:
bulkUpdateProperties in interface ObjectServicepublic void moveObject(String repositoryId, Holder<String> objectId, String targetFolderId, String sourceFolderId, ExtensionsData extension)
Implementation Hints:
moveObject in interface ObjectServicepublic void deleteObject(String repositoryId, String objectId, Boolean allVersions, ExtensionsData extension)
Implementation Hints:
deleteObjectOrCancelCheckOut(String, String, Boolean, ExtensionsData)
).deleteObject in interface ObjectServicepublic void deleteObjectOrCancelCheckOut(String repositoryId, String objectId, Boolean allVersions, ExtensionsData extension)
Implementation Hints:
deleteObjectOrCancelCheckOut in interface CmisServicepublic FailedToDeleteData deleteTree(String repositoryId, String folderId, Boolean allVersions, UnfileObject unfileObjects, Boolean continueOnFailure, ExtensionsData extension)
Implementation Hints:
deleteTree in interface ObjectServicepublic void setContentStream(String repositoryId, Holder<String> objectId, Boolean overwriteFlag, Holder<String> changeToken, ContentStream contentStream, ExtensionsData extension)
Implementation Hints:
setContentStream in interface ObjectServicepublic void appendContentStream(String repositoryId, Holder<String> objectId, Holder<String> changeToken, ContentStream contentStream, boolean isLastChunk, ExtensionsData extension)
Implementation Hints:
appendContentStream in interface ObjectServicepublic void deleteContentStream(String repositoryId, Holder<String> objectId, Holder<String> changeToken, ExtensionsData extension)
Implementation Hints:
deleteContentStream in interface ObjectServicepublic void checkOut(String repositoryId, Holder<String> objectId, ExtensionsData extension, Holder<Boolean> contentCopied)
Implementation Hints:
checkOut in interface VersioningServicepublic void cancelCheckOut(String repositoryId, String objectId, ExtensionsData extension)
Implementation Hints:
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)
Implementation Hints:
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)
Implementation Hints:
getObjectOfLatestVersion in interface VersioningServicepublic Properties getPropertiesOfLatestVersion(String repositoryId, String objectId, String versionSeriesId, Boolean major, String filter, ExtensionsData extension)
Implementation Hints:
getObjectOfLatestVersion(String, String, String, Boolean, String, Boolean, IncludeRelationships, String, Boolean, Boolean, ExtensionsData)
is implemented.getPropertiesOfLatestVersion in interface VersioningServicepublic List<ObjectData> getAllVersions(String repositoryId, String objectId, String versionSeriesId, String filter, Boolean includeAllowableActions, ExtensionsData extension)
Implementation Hints:
getAllVersions in interface VersioningServicepublic ObjectList getContentChanges(String repositoryId, Holder<String> changeLogToken, Boolean includeProperties, String filter, Boolean includePolicyIds, Boolean includeAcl, BigInteger maxItems, ExtensionsData extension)
Implementation Hints:
getContentChanges in interface DiscoveryServicepublic ObjectList query(String repositoryId, String statement, Boolean searchAllVersions, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount, ExtensionsData extension)
Implementation Hints:
query in interface DiscoveryServicepublic void addObjectToFolder(String repositoryId, String objectId, String folderId, Boolean allVersions, ExtensionsData extension)
Implementation Hints:
addObjectToFolder in interface MultiFilingServicepublic void removeObjectFromFolder(String repositoryId, String objectId, String folderId, ExtensionsData extension)
Implementation Hints:
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)
Implementation Hints:
getObjectRelationships in interface RelationshipServicepublic Acl applyAcl(String repositoryId, String objectId, Acl addAces, Acl removeAces, AclPropagation aclPropagation, ExtensionsData extension)
Implementation Hints:
applyAcl in interface AclServicepublic Acl applyAcl(String repositoryId, String objectId, Acl aces, AclPropagation aclPropagation)
Implementation Hints:
applyAcl in interface CmisServicepublic Acl getAcl(String repositoryId, String objectId, Boolean onlyBasicPermissions, ExtensionsData extension)
Implementation Hints:
getAcl in interface AclServicepublic void applyPolicy(String repositoryId, String policyId, String objectId, ExtensionsData extension)
Implementation Hints:
applyPolicy in interface PolicyServicepublic List<ObjectData> getAppliedPolicies(String repositoryId, String objectId, String filter, ExtensionsData extension)
Implementation Hints:
getAppliedPolicies in interface PolicyServicepublic void removePolicy(String repositoryId, String policyId, String objectId, ExtensionsData extension)
Implementation Hints:
removePolicy in interface PolicyServicepublic ObjectInfo getObjectInfo(String repositoryId, String objectId)
Implementation Hints:
getObjectInfo in interface CmisServicegetObjectInfo in interface ObjectInfoHandlerprotected ObjectInfo getObjectInfoIntern(String repositoryId, ObjectData object)
ObjectInfo about an object.repositoryId - the repository idobject - the objectpublic void addObjectInfo(ObjectInfo objectInfo)
addObjectInfo in interface ObjectInfoHandlerpublic void clearObjectInfos()
public void close()
close in interface CmisServiceprotected String getStringProperty(ObjectData object, String name)
protected String getIdProperty(ObjectData object, String name)
protected GregorianCalendar getDateTimeProperty(ObjectData object, String name)
protected Boolean getBooleanProperty(ObjectData object, String name)
protected BigInteger getIntegerProperty(ObjectData object, String name)
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.