public interface TenantManagementClient extends SearchClient<com.lexmark.saperion.administration.TenantType>
Modifier and Type | Method and Description |
---|---|
default com.lexmark.saperion.administration.TenantReferenceType |
createTenant(String name,
String adminPassword)
This method creates a new tenant with the given name and returns a reference to the new tenant.
|
com.lexmark.saperion.administration.TenantReferenceType |
createTenant(String name,
String description,
String adminPassword)
This method creates a new tenant with the given name and description and returns a reference to the new tenant.
|
TenantClient |
resolve(com.lexmark.saperion.administration.TenantReferenceType reference)
This method returns a client capable to administrate the tenant with the given reference.
|
TenantClient |
resolveName(String tenantName)
This method returns a client capable to administrate the tenant with the given name.
|
SearchClient<com.lexmark.saperion.administration.TenantType> |
searchDeleted()
This method returns a new
SearchClient that can be used to search for deleted tenants. |
TenantClient resolve(com.lexmark.saperion.administration.TenantReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
reference
- a reference to the tenant to administratecom.lexmark.saperion.exceptions.EcmException
TenantClient resolveName(String tenantName) throws com.lexmark.saperion.exceptions.EcmException
tenantName
- the name of the tenant to administratecom.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.administration.TenantReferenceType createTenant(String name, String description, String adminPassword) throws com.lexmark.saperion.exceptions.EcmException
name
- the name of the tenantdescription
- a description of the tenantadminPassword
- the password for the tenant-administratorcom.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurreddefault com.lexmark.saperion.administration.TenantReferenceType createTenant(String name, String adminPassword) throws com.lexmark.saperion.exceptions.EcmException
name
- the name of the tenantadminPassword
- the password for the tenant-administratorcom.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredSearchClient<com.lexmark.saperion.administration.TenantType> searchDeleted()
SearchClient
that can be used to search for deleted tenants.Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.