public class TenantManagementClientImpl extends SearchClientImpl<com.lexmark.saperion.administration.TenantType> implements TenantManagementClient
TenantManagementClient
.Constructor and Description |
---|
TenantManagementClientImpl(com.lexmark.saperion.administration.TenantManagementService tenantManagementService) |
Modifier and Type | Method and Description |
---|---|
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. |
exists, list, list, list, list, list, list, list, page, page, search, uniqueResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTenant
public TenantManagementClientImpl(com.lexmark.saperion.administration.TenantManagementService tenantManagementService)
public TenantClient resolve(com.lexmark.saperion.administration.TenantReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
TenantManagementClient
resolve
in interface TenantManagementClient
reference
- a reference to the tenant to administratecom.lexmark.saperion.exceptions.EcmException
public TenantClient resolveName(String tenantName) throws com.lexmark.saperion.exceptions.EcmException
TenantManagementClient
resolveName
in interface TenantManagementClient
tenantName
- the name of the tenant to administratecom.lexmark.saperion.exceptions.EcmException
public com.lexmark.saperion.administration.TenantReferenceType createTenant(String name, String description, String adminPassword) throws com.lexmark.saperion.exceptions.EcmException
TenantManagementClient
createTenant
in interface TenantManagementClient
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 occurredpublic SearchClient<com.lexmark.saperion.administration.TenantType> searchDeleted()
TenantManagementClient
SearchClient
that can be used to search for deleted tenants.searchDeleted
in interface TenantManagementClient
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.