public class TenantClientImpl extends Object implements TenantClient
TenantClient
.Constructor and Description |
---|
TenantClientImpl(TenantManagementService tenantManagementService,
TenantReferenceType reference) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
This method deletes the tenant.
|
void |
deleteExtension()
This method deletes the schema-extension properties of the tenant.
|
Map<String,PropertyType> |
getExtension()
This method returns the schema-extension properties of the tenant.
|
TenantType |
load()
This method loads the tenant.
|
void |
setExtension(Map<String,PropertyType> extension)
This method sets the schema-extension properties of the tenant.
|
void |
undelete()
This method un-deletes the tenant.
|
void |
update(String description)
This method updates the tenant with the given properties.
|
public TenantClientImpl(TenantManagementService tenantManagementService, TenantReferenceType reference)
public void delete() throws EcmException
TenantClient
delete
in interface TenantClient
EcmException
- indicates that a system exception occurredpublic void undelete() throws EcmException
TenantClient
undelete
in interface TenantClient
EcmException
- indicates that a system exception occurredpublic TenantType load() throws EcmException
TenantClient
load
in interface TenantClient
EcmException
- indicates that a system exception occurredpublic void update(String description) throws EcmException
TenantClient
update
in interface TenantClient
description
- a description of the tenantEcmException
- indicates that a system exception occurredpublic void setExtension(Map<String,PropertyType> extension) throws EcmException
TenantClient
setExtension
in interface TenantClient
extension
- schema-extension propertiesEcmException
- when the schema-extension properties could not be setpublic Map<String,PropertyType> getExtension() throws EcmException
TenantClient
getExtension
in interface TenantClient
EcmException
- when the schema-extension properties could not be loadedpublic void deleteExtension() throws EcmException
TenantClient
deleteExtension
in interface TenantClient
EcmException
- when the schema-extension properties could not be deletedCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.