public class TenantManagementClientImpl extends SearchClientImpl<TenantListItemType> implements TenantManagementClient
TenantManagementClient
.Constructor and Description |
---|
TenantManagementClientImpl(TenantManagementService tenantManagementService) |
Modifier and Type | Method and Description |
---|---|
TenantReferenceType |
createTenant(String name,
String adminPassword)
This method creates a new tenant with the given name and returns a reference to the new tenant.
|
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(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<TenantListItemType> |
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
exists, list, list, list, list, list, list, list, page, page, uniqueResult
search
public TenantManagementClientImpl(TenantManagementService tenantManagementService)
public TenantClient resolve(TenantReferenceType reference) throws EcmException
TenantManagementClient
resolve
in interface TenantManagementClient
reference
- a reference to the tenant to administrateEcmException
public TenantClient resolveName(String tenantName) throws EcmException
TenantManagementClient
resolveName
in interface TenantManagementClient
tenantName
- the name of the tenant to administrateEcmException
public TenantReferenceType createTenant(String name, String description, String adminPassword) throws EcmException
TenantManagementClient
createTenant
in interface TenantManagementClient
name
- the name of the tenantdescription
- a description of the tenantadminPassword
- the password for the tenant-administratorEcmException
- indicates that a system exception occurredpublic TenantReferenceType createTenant(String name, String adminPassword) throws EcmException
TenantManagementClient
createTenant
in interface TenantManagementClient
name
- the name of the tenantadminPassword
- the password for the tenant-administratorEcmException
- indicates that a system exception occurredpublic SearchClient<TenantListItemType> searchDeleted()
TenantManagementClient
SearchClient
that can be used to search for deleted tenants.searchDeleted
in interface TenantManagementClient
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.