public class DMRepositoryServicePort extends DMAbstractServicePort implements org.alfresco.repo.cmis.ws.RepositoryServicePort
authorityService, cmisAclService, cmisChangeLogService, cmisObjectFactory, cmisQueryService, cmisRenditionService, cmisService, descriptorService, fileFolderService, INCLUDE_RELATIONSHIPS_ENUM_MAPPING, nodeService, permissionService, propertiesUtil, searchService
Constructor and Description |
---|
DMRepositoryServicePort() |
Modifier and Type | Method and Description |
---|---|
java.util.List |
getRepositories(org.alfresco.repo.cmis.ws.CmisExtensionType extension)
Gets a list of available repositories for this CMIS service endpoint.
|
org.alfresco.repo.cmis.ws.CmisRepositoryInfoType |
getRepositoryInfo(java.lang.String repositoryId,
org.alfresco.repo.cmis.ws.CmisExtensionType extension)
Gets information about the CMIS repository and the capabilities it supports.
|
org.alfresco.repo.cmis.ws.CmisTypeDefinitionListType |
getTypeChildren(java.lang.String repositoryId,
java.lang.String typeId,
java.lang.Boolean includePropertyDefinitions,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount,
org.alfresco.repo.cmis.ws.CmisExtensionType extension)
Returns the list of Object-Types defined for the Repository under the specified Type.
|
org.alfresco.repo.cmis.ws.CmisTypeDefinitionType |
getTypeDefinition(java.lang.String repositoryId,
java.lang.String typeId,
org.alfresco.repo.cmis.ws.CmisExtensionType extension)
Gets the definition for specified object type
|
java.util.List |
getTypeDescendants(java.lang.String repositoryId,
java.lang.String typeId,
java.math.BigInteger depth,
java.lang.Boolean includePropertyDefinitions,
org.alfresco.repo.cmis.ws.CmisExtensionType extension)
Returns the set of descendant Object-Types defined for the Repository under the specified Type.
|
appendWithAce, appendWithRelationships, applyAclCarefully, applyPolicies, checkRepositoryId, convertAclReportToCmisAclType, createCmisObject, createCmisObject, createCmisObjectList, createCursor, createPropertyFilter, createPropertyFilter, determineObjectAllowableActions, getRenditions, isObjectInFolder, setAuthorityService, setCmisAclService, setCmisChangeLogService, setCmisQueryService, setCmisRenditionService, setCmisService, setDescriptorService, setFileFolderService, setNodeService, setPermissionService, setPropertiesUtil, setSearchService
public java.util.List getRepositories(org.alfresco.repo.cmis.ws.CmisExtensionType extension) throws org.alfresco.repo.cmis.ws.CmisException
getRepositories
in interface org.alfresco.repo.cmis.ws.RepositoryServicePort
CmisException
- (with following EnumServiceException
: INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME)public org.alfresco.repo.cmis.ws.CmisRepositoryInfoType getRepositoryInfo(java.lang.String repositoryId, org.alfresco.repo.cmis.ws.CmisExtensionType extension) throws org.alfresco.repo.cmis.ws.CmisException
getRepositoryInfo
in interface org.alfresco.repo.cmis.ws.RepositoryServicePort
parameters
- repositoryId: repository IdCmisException
- (with following EnumServiceException
: INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME)public org.alfresco.repo.cmis.ws.CmisTypeDefinitionListType getTypeChildren(java.lang.String repositoryId, java.lang.String typeId, java.lang.Boolean includePropertyDefinitions, java.math.BigInteger maxItems, java.math.BigInteger skipCount, org.alfresco.repo.cmis.ws.CmisExtensionType extension) throws org.alfresco.repo.cmis.ws.CmisException
getTypeChildren
in interface org.alfresco.repo.cmis.ws.RepositoryServicePort
parameters
- repositoryId: repository Id; typeId: type Id; returnPropertyDefinitions: false (default); maxItems: 0 = Repository-default number of items(Default);
skipCount: 0 = start;CmisException
- (with following EnumServiceException
: INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME)public org.alfresco.repo.cmis.ws.CmisTypeDefinitionType getTypeDefinition(java.lang.String repositoryId, java.lang.String typeId, org.alfresco.repo.cmis.ws.CmisExtensionType extension) throws org.alfresco.repo.cmis.ws.CmisException
getTypeDefinition
in interface org.alfresco.repo.cmis.ws.RepositoryServicePort
parameters
- repositoryId: repository Id; typeId: type Id;CmisException
- (with following EnumServiceException
: INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME)public java.util.List getTypeDescendants(java.lang.String repositoryId, java.lang.String typeId, java.math.BigInteger depth, java.lang.Boolean includePropertyDefinitions, org.alfresco.repo.cmis.ws.CmisExtensionType extension) throws org.alfresco.repo.cmis.ws.CmisException
getTypeDescendants
in interface org.alfresco.repo.cmis.ws.RepositoryServicePort
parameters
- srepositoryId: repository Id; typeId: type Id; includePropertyDefinitions: false (default); depth: The number of levels of depth in the type hierarchy from
which to return results;CmisException
- (with following EnumServiceException
: INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME)Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.