public interface EcmService
uniqueName
.EcmFactory
Modifier and Type | Method and Description |
---|---|
Session |
connect(String uniqueName,
String key)
Connects to a key-secured repository specified by
uniqueName . |
Session |
connect(String uniqueName,
String key,
String destination)
Connects to a key-secured repository specified by
uniqueName using a special
destination. |
Session |
connect(String uniqueName,
String key,
String destination,
Map<String,String> openCmisProperties)
Connects to a key-secured repository specified by
uniqueName using a special
destination and optional OpenCMIS parameters. |
Session |
connect(String uniqueName,
String key,
String destination,
Map<String,String> openCmisProperties,
List<String> additionalPrincipals)
Connects to a key-secured repository specified by
uniqueName using a special
destination and optional OpenCMIS parameters. |
Session |
connectForTenant(String uniqueName,
String key,
String tenantId,
String user)
Connects to a key-secured repository specified by
uniqueName with the given
tenant and user using a special destination. |
Session |
connectForTenant(String uniqueName,
String key,
String tenantId,
String user,
Map<String,String> openCmisProperties)
Connects to a key-secured repository specified by
uniqueName with the given
tenant and user using a special destination and optional OpenCMIS parameters. |
Session |
connectForTenant(String uniqueName,
String key,
String tenantId,
String user,
Map<String,String> openCmisProperties,
List<String> additionalPrincipals)
Connects to a key-secured repository specified by
uniqueName with the given
tenant and user using a special destination and optional OpenCMIS parameters. |
Session |
connectForUser(String uniqueName,
String key,
String user)
Connects to a key-secured repository specified by
uniqueName with the given
user . |
Session |
connectForUser(String uniqueName,
String key,
String destination,
String user)
Connects to a key-secured repository specified by
uniqueName with the given
user using a special destination. |
Session |
connectForUser(String uniqueName,
String key,
String destination,
String user,
Map<String,String> openCmisProperties)
Connects to a key-secured repository specified by
uniqueName with the given
user using a special destination and optional OpenCMIS parameters. |
Session |
connectForUser(String uniqueName,
String key,
String destination,
String user,
Map<String,String> openCmisProperties,
List<String> additionalPrincipals)
Connects to a key-secured repository specified by
uniqueName with the given
user using a special destination and optional OpenCMIS parameters. |
String |
createRepository(RepositoryOptions options)
Creates a new repository in the Document Service with the given options.
|
String |
createRepository(RepositoryOptions options,
String destination)
Creates a new repository in the Document Service with the given options and a destination.
|
void |
deleteRepository(String uniqueName,
String repositoryKey)
Deletes a repository for the current consuming account.
|
void |
deleteRepository(String uniqueName,
String repositoryKey,
String destination)
Deletes a repository for the current consuming account.
|
void |
forceDeleteRepository(String uniqueName,
String repositoryKey)
Deletes the tenant repository of the current tenant used by the current consuming account
including all data contained within.
|
void |
forceDeleteRepositoryForAllTenants(String uniqueName,
String repositoryKey)
Deletes a repository and all tenant repositories within for the current consuming account
including all data inside.
|
void |
forceDeleteRepositoryForTenant(String uniqueName,
String repositoryKey,
String tenantId)
Deletes the tenant repository of the given tenant for the current consuming account
including all data contained within.
|
Session connect(String uniqueName, String key) throws ServiceException, CmisObjectNotFoundException
uniqueName
. The key
will be
used to verify access to this repository.Session connect(String uniqueName, String key, String destination) throws ServiceException, CmisObjectNotFoundException
uniqueName
using a special
destination. The key
will be used to verify access to this repository.Session connect(String uniqueName, String key, String destination, Map<String,String> openCmisProperties) throws ServiceException, CmisObjectNotFoundException
uniqueName
using a special
destination and optional OpenCMIS parameters. The key
will be used to verify access to
this repository.Session connect(String uniqueName, String key, String destination, Map<String,String> openCmisProperties, List<String> additionalPrincipals) throws ServiceException, CmisObjectNotFoundException
uniqueName
using a special
destination and optional OpenCMIS parameters. The key
will be used to verify access to
this repository. additionalPrincipals
is a list of additional principals.Session connectForUser(String uniqueName, String key, String user) throws ServiceException, CmisObjectNotFoundException
uniqueName
with the given
user
. The key
will be used to verify access to this repository.Session connectForUser(String uniqueName, String key, String destination, String user) throws ServiceException, CmisObjectNotFoundException
uniqueName
with the given
user
using a special destination. The key
will be used to verify access to this
repository.Session connectForUser(String uniqueName, String key, String destination, String user, Map<String,String> openCmisProperties) throws ServiceException, CmisObjectNotFoundException
uniqueName
with the given
user
using a special destination and optional OpenCMIS parameters. The key
will
be used to verify access to this repository.Session connectForUser(String uniqueName, String key, String destination, String user, Map<String,String> openCmisProperties, List<String> additionalPrincipals) throws ServiceException, CmisObjectNotFoundException
uniqueName
with the given
user
using a special destination and optional OpenCMIS parameters. The key
will
be used to verify access to this repository. additionalPrincipals
is a list of
additional principals.Session connectForTenant(String uniqueName, String key, String tenantId, String user) throws ServiceException, CmisObjectNotFoundException
uniqueName
with the given
tenant
and user
using a special destination. The key
will be used to
verify access to this repository.Session connectForTenant(String uniqueName, String key, String tenantId, String user, Map<String,String> openCmisProperties) throws ServiceException, CmisObjectNotFoundException
uniqueName
with the given
tenant
and user
using a special destination and optional OpenCMIS parameters.
The key
will be used to verify access to this repository.Session connectForTenant(String uniqueName, String key, String tenantId, String user, Map<String,String> openCmisProperties, List<String> additionalPrincipals) throws ServiceException, CmisObjectNotFoundException
uniqueName
with the given
tenant
and user
using a special destination and optional OpenCMIS parameters.
The key
will be used to verify access to this repository. additionalPrincipals
is a list of additional principals.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
void forceDeleteRepositoryForAllTenants(String uniqueName, String repositoryKey) throws ServiceException, CmisObjectNotFoundException
ServiceException
CmisObjectNotFoundException
EcmFactory#forceDeleteRepositoryForAllTenants(String, String, String)
void forceDeleteRepositoryForTenant(String uniqueName, String repositoryKey, String tenantId) throws ServiceException, CmisObjectNotFoundException
Copyright © 2017 SAP. All Rights Reserved.