public class AlfrescoCmisServiceImpl extends org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService implements AlfrescoCmisService
Constructor and Description |
---|
AlfrescoCmisServiceImpl(CMISConnector connector) |
Modifier and Type | Method and Description |
---|---|
protected org.alfresco.opencmis.dictionary.CMISNodeInfo |
addNodeInfo(org.alfresco.opencmis.dictionary.CMISNodeInfo info) |
void |
addObjectToFolder(String repositoryId,
String objectId,
String folderId,
Boolean allVersions,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
afterCall()
Called directly after any CMIS method is used
|
void |
appendContentStream(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
boolean isLastChunk,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.Acl |
applyAcl(String repositoryId,
String objectId,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.Acl |
applyAcl(String repositoryId,
String objectId,
org.apache.chemistry.opencmis.commons.data.Acl aces,
org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation) |
void |
applyPolicy(String repositoryId,
String policyId,
String objectId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
beforeCall()
Called directly before any CMIS method is used
|
List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> |
bulkUpdateProperties(String repositoryId,
List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> objectIdAndChangeTokens,
org.apache.chemistry.opencmis.commons.data.Properties properties,
List<String> addSecondaryTypeIds,
List<String> removeSecondaryTypeIds,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
cancelCheckOut(String repositoryId,
String objectId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
checkIn(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId,
Boolean major,
org.apache.chemistry.opencmis.commons.data.Properties properties,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
String checkinComment,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
checkOut(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension,
org.apache.chemistry.opencmis.commons.spi.Holder<Boolean> contentCopied) |
protected void |
checkRepositoryId(String repositoryId) |
void |
close() |
String |
create(String repositoryId,
org.apache.chemistry.opencmis.commons.data.Properties properties,
String folderId,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
String |
createDocument(String repositoryId,
org.apache.chemistry.opencmis.commons.data.Properties properties,
String folderId,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
String |
createDocumentFromSource(String repositoryId,
String sourceId,
org.apache.chemistry.opencmis.commons.data.Properties properties,
String folderId,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
String |
createFolder(String repositoryId,
org.apache.chemistry.opencmis.commons.data.Properties properties,
String folderId,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
String |
createItem(String repositoryId,
org.apache.chemistry.opencmis.commons.data.Properties properties,
String folderId,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
protected org.alfresco.opencmis.dictionary.CMISNodeInfo |
createNodeInfo(org.alfresco.service.cmr.repository.AssociationRef assocRef) |
protected CMISNodeInfoImpl |
createNodeInfo(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
protected CMISNodeInfoImpl |
createNodeInfo(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName nodeType,
Map<org.alfresco.service.namespace.QName,Serializable> nodeProps,
VersionHistory versionHistory,
boolean checkExists) |
protected CMISNodeInfoImpl |
createNodeInfo(org.alfresco.service.cmr.repository.NodeRef nodeRef,
VersionHistory versionHistory,
boolean checkExists) |
String |
createPolicy(String repositoryId,
org.apache.chemistry.opencmis.commons.data.Properties properties,
String folderId,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
String |
createRelationship(String repositoryId,
org.apache.chemistry.opencmis.commons.data.Properties properties,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
deleteContentStream(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
deleteObject(String repositoryId,
String objectId,
Boolean allVersions,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
deleteObjectOrCancelCheckOut(String repositoryId,
String objectId,
Boolean allVersions,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.FailedToDeleteData |
deleteTree(String repositoryId,
String folderId,
Boolean allVersions,
org.apache.chemistry.opencmis.commons.enums.UnfileObject unfileObjects,
Boolean continueOnFailure,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.Acl |
getAcl(String repositoryId,
String objectId,
Boolean onlyBasicPermissions,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.AllowableActions |
getAllowableActions(String repositoryId,
String objectId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
List<org.apache.chemistry.opencmis.commons.data.ObjectData> |
getAllVersions(String repositoryId,
String objectId,
String versionSeriesId,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
List<org.apache.chemistry.opencmis.commons.data.ObjectData> |
getAppliedPolicies(String repositoryId,
String objectId,
String filter,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.ObjectList |
getCheckedOutDocs(String repositoryId,
String folderId,
String filter,
String orderBy,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.ObjectInFolderList |
getChildren(String repositoryId,
String folderId,
String filter,
String orderBy,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
BigInteger maxItems,
BigInteger skipCount,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.ObjectList |
getContentChanges(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> changeLogToken,
Boolean includeProperties,
String filter,
Boolean includePolicyIds,
Boolean includeAcl,
BigInteger maxItems,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.ContentStream |
getContentStream(String repositoryId,
String objectId,
String streamId,
BigInteger offset,
BigInteger length,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
protected org.apache.chemistry.opencmis.commons.server.CallContext |
getContext() |
List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> |
getDescendants(String repositoryId,
String folderId,
BigInteger depth,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.ObjectData |
getFolderParent(String repositoryId,
String folderId,
String filter,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> |
getFolderTree(String repositoryId,
String folderId,
BigInteger depth,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.ObjectData |
getObject(String repositoryId,
String objectId,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.ObjectData |
getObjectByPath(String repositoryId,
String path,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.server.ObjectInfo |
getObjectInfo(String repositoryId,
String objectId)
Collects the
ObjectInfo about an object. |
protected org.apache.chemistry.opencmis.commons.server.ObjectInfo |
getObjectInfo(String repositoryId,
String objectId,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships) |
protected org.apache.chemistry.opencmis.commons.server.ObjectInfo |
getObjectInfo(String repositoryId,
String objectId,
String filter,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships) |
protected org.apache.chemistry.opencmis.commons.server.ObjectInfo |
getObjectInfoIntern(String repositoryId,
org.apache.chemistry.opencmis.commons.data.ObjectData object)
Collects the
ObjectInfo about an object. |
org.apache.chemistry.opencmis.commons.data.ObjectData |
getObjectOfLatestVersion(String repositoryId,
String objectId,
String versionSeriesId,
Boolean major,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
List<org.apache.chemistry.opencmis.commons.data.ObjectParentData> |
getObjectParents(String repositoryId,
String objectId,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includeRelativePathSegment,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.ObjectList |
getObjectRelationships(String repositoryId,
String objectId,
Boolean includeSubRelationshipTypes,
org.apache.chemistry.opencmis.commons.enums.RelationshipDirection relationshipDirection,
String typeId,
String filter,
Boolean includeAllowableActions,
BigInteger maxItems,
BigInteger skipCount,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
protected org.alfresco.opencmis.dictionary.CMISNodeInfo |
getOrCreateFolderInfo(String folderId,
String what) |
protected org.alfresco.opencmis.dictionary.CMISNodeInfo |
getOrCreateNodeInfo(String objectId) |
protected org.alfresco.opencmis.dictionary.CMISNodeInfo |
getOrCreateNodeInfo(String objectId,
String what) |
org.apache.chemistry.opencmis.commons.data.Properties |
getProperties(String repositoryId,
String objectId,
String filter,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.Properties |
getPropertiesOfLatestVersion(String repositoryId,
String objectId,
String versionSeriesId,
Boolean major,
String filter,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
List<org.apache.chemistry.opencmis.commons.data.RenditionData> |
getRenditions(String repositoryId,
String objectId,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.RepositoryInfo |
getRepositoryInfo(String repositoryId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
List<org.apache.chemistry.opencmis.commons.data.RepositoryInfo> |
getRepositoryInfos(org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList |
getTypeChildren(String repositoryId,
String typeId,
Boolean includePropertyDefinitions,
BigInteger maxItems,
BigInteger skipCount,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
getTypeDefinition(String repositoryId,
String typeId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> |
getTypeDescendants(String repositoryId,
String typeId,
BigInteger depth,
Boolean includePropertyDefinitions,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
protected void |
logGetObjectCall(String methodName,
long start,
String idOrPath,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
Boolean isObjectInfoRequired,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extensionsData) |
protected void |
logGetObjectsCall(String methodName,
long start,
String folderId,
int itemCount,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extensionsData,
BigInteger skipCount,
BigInteger maxItems,
String orderBy,
BigInteger depth) |
void |
moveObject(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId,
String targetFolderId,
String sourceFolderId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
open(org.apache.chemistry.opencmis.commons.server.CallContext context)
Call before the work method and forms the opposite of
CmisService.close() . |
org.apache.chemistry.opencmis.commons.data.ObjectList |
query(String repositoryId,
String statement,
Boolean searchAllVersions,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
removeObjectFromFolder(String repositoryId,
String objectId,
String folderId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
removePolicy(String repositoryId,
String policyId,
String objectId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
setContentStream(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId,
Boolean overwriteFlag,
org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
updateProperties(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken,
org.apache.chemistry.opencmis.commons.data.Properties properties,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
addObjectInfo, clearObjectInfos, createType, deleteType, getBooleanProperty, getDateTimeProperty, getIdProperty, getIntegerProperty, getStringProperty, updateType
public AlfrescoCmisServiceImpl(CMISConnector connector)
public void open(org.apache.chemistry.opencmis.commons.server.CallContext context)
AlfrescoCmisService
CmisService.close()
.open
in interface AlfrescoCmisService
context
- the context in which the service must operateprotected org.apache.chemistry.opencmis.commons.server.CallContext getContext()
public void close()
close
in interface org.apache.chemistry.opencmis.commons.server.CmisService
close
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
protected CMISNodeInfoImpl createNodeInfo(org.alfresco.service.cmr.repository.NodeRef nodeRef)
protected CMISNodeInfoImpl createNodeInfo(org.alfresco.service.cmr.repository.NodeRef nodeRef, VersionHistory versionHistory, boolean checkExists)
protected CMISNodeInfoImpl createNodeInfo(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName nodeType, Map<org.alfresco.service.namespace.QName,Serializable> nodeProps, VersionHistory versionHistory, boolean checkExists)
protected org.alfresco.opencmis.dictionary.CMISNodeInfo createNodeInfo(org.alfresco.service.cmr.repository.AssociationRef assocRef)
protected org.alfresco.opencmis.dictionary.CMISNodeInfo getOrCreateNodeInfo(String objectId)
protected org.alfresco.opencmis.dictionary.CMISNodeInfo getOrCreateNodeInfo(String objectId, String what)
protected org.alfresco.opencmis.dictionary.CMISNodeInfo getOrCreateFolderInfo(String folderId, String what)
protected org.alfresco.opencmis.dictionary.CMISNodeInfo addNodeInfo(org.alfresco.opencmis.dictionary.CMISNodeInfo info)
public List<org.apache.chemistry.opencmis.commons.data.RepositoryInfo> getRepositoryInfos(org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getRepositoryInfos
in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
getRepositoryInfos
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.RepositoryInfo getRepositoryInfo(String repositoryId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getRepositoryInfo
in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
getRepositoryInfo
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList getTypeChildren(String repositoryId, String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getTypeChildren
in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
getTypeChildren
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition(String repositoryId, String typeId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getTypeDefinition
in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
getTypeDefinition
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypeDescendants(String repositoryId, String typeId, BigInteger depth, Boolean includePropertyDefinitions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getTypeDescendants
in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
getTypeDescendants
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ObjectInFolderList getChildren(String repositoryId, String folderId, String filter, String orderBy, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getChildren
in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
getChildren
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> getDescendants(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getDescendants
in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
getDescendants
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> getFolderTree(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getFolderTree
in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
getFolderTree
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
protected void logGetObjectsCall(String methodName, long start, String folderId, int itemCount, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extensionsData, BigInteger skipCount, BigInteger maxItems, String orderBy, BigInteger depth)
protected void logGetObjectCall(String methodName, long start, String idOrPath, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, Boolean isObjectInfoRequired, org.apache.chemistry.opencmis.commons.data.ExtensionsData extensionsData)
public org.apache.chemistry.opencmis.commons.data.ObjectData getFolderParent(String repositoryId, String folderId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getFolderParent
in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
getFolderParent
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.data.ObjectParentData> getObjectParents(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includeRelativePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getObjectParents
in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
getObjectParents
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ObjectList getCheckedOutDocs(String repositoryId, String folderId, String filter, String orderBy, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getCheckedOutDocs
in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
getCheckedOutDocs
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public String create(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<String> policies, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
create
in interface org.apache.chemistry.opencmis.commons.server.CmisService
create
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public String createFolder(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
createFolder
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
createFolder
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public String createItem(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
createItem
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
createItem
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public String createDocument(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
createDocument
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
createDocument
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public String createDocumentFromSource(String repositoryId, String sourceId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
createDocumentFromSource
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
createDocumentFromSource
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public String createPolicy(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
createPolicy
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
createPolicy
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public String createRelationship(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
createRelationship
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
createRelationship
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void appendContentStream(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, boolean isLastChunk, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
appendContentStream
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
appendContentStream
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void setContentStream(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, Boolean overwriteFlag, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
setContentStream
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
setContentStream
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void deleteContentStream(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
deleteContentStream
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
deleteContentStream
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void moveObject(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, String targetFolderId, String sourceFolderId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
moveObject
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
moveObject
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void updateProperties(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeToken, org.apache.chemistry.opencmis.commons.data.Properties properties, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
updateProperties
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
updateProperties
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void deleteObject(String repositoryId, String objectId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
deleteObject
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
deleteObject
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void deleteObjectOrCancelCheckOut(String repositoryId, String objectId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
deleteObjectOrCancelCheckOut
in interface org.apache.chemistry.opencmis.commons.server.CmisService
deleteObjectOrCancelCheckOut
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.FailedToDeleteData deleteTree(String repositoryId, String folderId, Boolean allVersions, org.apache.chemistry.opencmis.commons.enums.UnfileObject unfileObjects, Boolean continueOnFailure, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
deleteTree
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
deleteTree
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ObjectData getObject(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getObject
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
getObject
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> bulkUpdateProperties(String repositoryId, List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> objectIdAndChangeTokens, org.apache.chemistry.opencmis.commons.data.Properties properties, List<String> addSecondaryTypeIds, List<String> removeSecondaryTypeIds, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
bulkUpdateProperties
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
bulkUpdateProperties
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ObjectData getObjectByPath(String repositoryId, String path, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getObjectByPath
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
getObjectByPath
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.Properties getProperties(String repositoryId, String objectId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getProperties
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
getProperties
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.AllowableActions getAllowableActions(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getAllowableActions
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
getAllowableActions
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(String repositoryId, String objectId, String streamId, BigInteger offset, BigInteger length, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getContentStream
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
getContentStream
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.data.RenditionData> getRenditions(String repositoryId, String objectId, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getRenditions
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
getRenditions
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void checkOut(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension, org.apache.chemistry.opencmis.commons.spi.Holder<Boolean> contentCopied)
checkOut
in interface org.apache.chemistry.opencmis.commons.spi.VersioningService
checkOut
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void cancelCheckOut(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
cancelCheckOut
in interface org.apache.chemistry.opencmis.commons.spi.VersioningService
cancelCheckOut
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void checkIn(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, Boolean major, org.apache.chemistry.opencmis.commons.data.Properties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String checkinComment, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
checkIn
in interface org.apache.chemistry.opencmis.commons.spi.VersioningService
checkIn
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.data.ObjectData> getAllVersions(String repositoryId, String objectId, String versionSeriesId, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getAllVersions
in interface org.apache.chemistry.opencmis.commons.spi.VersioningService
getAllVersions
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ObjectData getObjectOfLatestVersion(String repositoryId, String objectId, String versionSeriesId, Boolean major, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getObjectOfLatestVersion
in interface org.apache.chemistry.opencmis.commons.spi.VersioningService
getObjectOfLatestVersion
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.Properties getPropertiesOfLatestVersion(String repositoryId, String objectId, String versionSeriesId, Boolean major, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getPropertiesOfLatestVersion
in interface org.apache.chemistry.opencmis.commons.spi.VersioningService
getPropertiesOfLatestVersion
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void addObjectToFolder(String repositoryId, String objectId, String folderId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
addObjectToFolder
in interface org.apache.chemistry.opencmis.commons.spi.MultiFilingService
addObjectToFolder
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void removeObjectFromFolder(String repositoryId, String objectId, String folderId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
removeObjectFromFolder
in interface org.apache.chemistry.opencmis.commons.spi.MultiFilingService
removeObjectFromFolder
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ObjectList getContentChanges(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeLogToken, Boolean includeProperties, String filter, Boolean includePolicyIds, Boolean includeAcl, BigInteger maxItems, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getContentChanges
in interface org.apache.chemistry.opencmis.commons.spi.DiscoveryService
getContentChanges
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ObjectList query(String repositoryId, String statement, Boolean searchAllVersions, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
query
in interface org.apache.chemistry.opencmis.commons.spi.DiscoveryService
query
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ObjectList getObjectRelationships(String repositoryId, String objectId, Boolean includeSubRelationshipTypes, org.apache.chemistry.opencmis.commons.enums.RelationshipDirection relationshipDirection, String typeId, String filter, Boolean includeAllowableActions, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getObjectRelationships
in interface org.apache.chemistry.opencmis.commons.spi.RelationshipService
getObjectRelationships
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void applyPolicy(String repositoryId, String policyId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
applyPolicy
in interface org.apache.chemistry.opencmis.commons.spi.PolicyService
applyPolicy
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void removePolicy(String repositoryId, String policyId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
removePolicy
in interface org.apache.chemistry.opencmis.commons.spi.PolicyService
removePolicy
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.data.ObjectData> getAppliedPolicies(String repositoryId, String objectId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getAppliedPolicies
in interface org.apache.chemistry.opencmis.commons.spi.PolicyService
getAppliedPolicies
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.Acl applyAcl(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
applyAcl
in interface org.apache.chemistry.opencmis.commons.spi.AclService
applyAcl
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.Acl applyAcl(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.Acl aces, org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation)
applyAcl
in interface org.apache.chemistry.opencmis.commons.server.CmisService
applyAcl
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.Acl getAcl(String repositoryId, String objectId, Boolean onlyBasicPermissions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getAcl
in interface org.apache.chemistry.opencmis.commons.spi.AclService
getAcl
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo(String repositoryId, String objectId)
ObjectInfo
about an object.
(Provided by OpenCMIS, but optimized for Alfresco.)getObjectInfo
in interface org.apache.chemistry.opencmis.commons.server.CmisService
getObjectInfo
in interface org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler
getObjectInfo
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
protected org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships)
protected org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo(String repositoryId, String objectId, String filter, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships)
protected org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfoIntern(String repositoryId, org.apache.chemistry.opencmis.commons.data.ObjectData object)
ObjectInfo
about an object.
(Provided by OpenCMIS, but optimized for Alfresco.)getObjectInfoIntern
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
protected void checkRepositoryId(String repositoryId)
public void beforeCall()
AlfrescoCmisService
beforeCall
in interface AlfrescoCmisService
public void afterCall()
AlfrescoCmisService
afterCall
in interface AlfrescoCmisService
Copyright © 2005–2017 Alfresco Software. All rights reserved.