public interface EcmService
EcmFactory
.EcmFactory
Modifier and Type | Method and Description |
---|---|
Session |
connect(String uniqueName,
String key) |
Session |
connect(String uniqueName,
String key,
String destination) |
Session |
connect(String uniqueName,
String key,
String destination,
Map<String,String> openCmisProperties) |
Session |
connect(String uniqueName,
String key,
String destination,
Map<String,String> openCmisProperties,
List<String> additionalPrincipals) |
Session |
connectForTenant(String uniqueName,
String key,
String tenantId,
String user) |
Session |
connectForTenant(String uniqueName,
String key,
String tenantId,
String user,
Map<String,String> openCmisProperties) |
Session |
connectForTenant(String uniqueName,
String key,
String tenantId,
String user,
Map<String,String> openCmisProperties,
List<String> additionalPrincipals) |
Session |
connectForUser(String uniqueName,
String key,
String user) |
Session |
connectForUser(String uniqueName,
String key,
String destination,
String user) |
Session |
connectForUser(String uniqueName,
String key,
String destination,
String user,
Map<String,String> openCmisProperties) |
Session |
connectForUser(String uniqueName,
String key,
String destination,
String user,
Map<String,String> openCmisProperties,
List<String> additionalPrincipals) |
String |
createRepository(RepositoryOptions options) |
String |
createRepository(RepositoryOptions options,
String destination) |
void |
deleteRepository(String uniqueName,
String repositoryKey) |
void |
deleteRepository(String uniqueName,
String repositoryKey,
String destination) |
void |
forceDeleteRepository(String uniqueName,
String repositoryKey)
Deletes the tenant repository of the current tenant (consuming account)
including all data contained within.
|
void |
forceDeleteRepositoryForAllTenants(String uniqueName,
String repositoryKey)
Deletes a repository and all contained tenant repositories
including all data inside.
|
void |
forceDeleteRepositoryForTenant(String uniqueName,
String repositoryKey,
String tenantId)
Deletes the tenant repository of the given tenant ID
including all data contained within.
|
Session connect(String uniqueName, String key) throws ServiceException, CmisObjectNotFoundException
Session connect(String uniqueName, String key, String destination) throws ServiceException, CmisObjectNotFoundException
Session connect(String uniqueName, String key, String destination, Map<String,String> openCmisProperties) throws ServiceException, CmisObjectNotFoundException
Session connect(String uniqueName, String key, String destination, Map<String,String> openCmisProperties, List<String> additionalPrincipals) throws ServiceException, CmisObjectNotFoundException
Session connectForUser(String uniqueName, String key, String user) throws ServiceException, CmisObjectNotFoundException
Session connectForUser(String uniqueName, String key, String destination, String user) throws ServiceException, CmisObjectNotFoundException
Session connectForUser(String uniqueName, String key, String destination, String user, Map<String,String> openCmisProperties) throws ServiceException, CmisObjectNotFoundException
Session connectForUser(String uniqueName, String key, String destination, String user, Map<String,String> openCmisProperties, List<String> additionalPrincipals) throws ServiceException, CmisObjectNotFoundException
Session connectForTenant(String uniqueName, String key, String tenantId, String user) throws ServiceException, CmisObjectNotFoundException
Session connectForTenant(String uniqueName, String key, String tenantId, String user, Map<String,String> openCmisProperties) throws ServiceException, CmisObjectNotFoundException
Session connectForTenant(String uniqueName, String key, String tenantId, String user, Map<String,String> openCmisProperties, List<String> additionalPrincipals) throws ServiceException, CmisObjectNotFoundException
String createRepository(RepositoryOptions options) throws ServiceException, RepositoryAlreadyExistsException
String createRepository(RepositoryOptions options, String destination) throws ServiceException, RepositoryAlreadyExistsException
void deleteRepository(String uniqueName, String repositoryKey) throws ServiceException, CmisObjectNotFoundException, RepositoryNotEmptyException
void deleteRepository(String uniqueName, String repositoryKey, String destination) throws ServiceException, CmisObjectNotFoundException, RepositoryNotEmptyException
void forceDeleteRepository(String uniqueName, String repositoryKey) throws ServiceException, CmisObjectNotFoundException
uniqueName
- The unique name of the repository to delete the current tenant fromrepositoryKey
- Authentication key for the repositoryServiceException
- Generic exception that encapsulates root causesCmisObjectNotFoundException
- Thrown if the specified repository does not existEcmFactory.forceDeleteRepository(String, String)
void forceDeleteRepositoryForTenant(String uniqueName, String repositoryKey, String tenantId) throws ServiceException, CmisObjectNotFoundException
uniqueName
- The unique name of the repository to delete the specified tenant fromrepositoryKey
- Authentication key for the repositorytenantId
- tenant id of the tenant that is to be deleted from the specified repositoryServiceException
- Generic exception that encapsulates root causesCmisObjectNotFoundException
- Thrown if the specified repository does not existEcmFactory.forceDeleteRepositoryForTenant(String, String, String)
void forceDeleteRepositoryForAllTenants(String uniqueName, String repositoryKey) throws ServiceException, CmisObjectNotFoundException
uniqueName
- The unique name of the repository to delete all tenants fromrepositoryKey
- Authentication key for the repositoryServiceException
- Generic exception that encapsulates root causesCmisObjectNotFoundException
- Thrown if the specified repository does not existEcmFactory#forceDeleteRepositoryForAllTenants(String, String, String)
Copyright © 2020 SAP. All Rights Reserved.