public class TenantClientImpl extends Object implements TenantClient
TenantClient
.Constructor and Description |
---|
TenantClientImpl(com.lexmark.saperion.administration.TenantManagementService tenantManagementService,
com.lexmark.saperion.administration.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.
|
com.lexmark.saperion.administration.ExtensionPropertiesType |
getSchemaExtension()
This method returns the schema-extension properties of the tenant.
|
com.lexmark.saperion.administration.TenantType |
load()
This method loads the tenant.
|
void |
setSchemaExtension(com.lexmark.saperion.administration.ExtensionPropertiesType 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExtension, setExtension
public TenantClientImpl(com.lexmark.saperion.administration.TenantManagementService tenantManagementService, com.lexmark.saperion.administration.TenantReferenceType reference)
public void delete() throws com.lexmark.saperion.exceptions.EcmException
TenantClient
delete
in interface TenantClient
com.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredpublic void undelete() throws com.lexmark.saperion.exceptions.EcmException
TenantClient
undelete
in interface TenantClient
com.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredpublic com.lexmark.saperion.administration.TenantType load() throws com.lexmark.saperion.exceptions.EcmException
TenantClient
load
in interface TenantClient
com.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredpublic void update(String description) throws com.lexmark.saperion.exceptions.EcmException
TenantClient
update
in interface TenantClient
description
- a description of the tenantcom.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredpublic void setSchemaExtension(com.lexmark.saperion.administration.ExtensionPropertiesType extension) throws com.lexmark.saperion.exceptions.EcmException
TenantClient
setSchemaExtension
in interface TenantClient
extension
- schema-extension propertiescom.lexmark.saperion.exceptions.EcmException
- when the schema-extension properties could not be setpublic com.lexmark.saperion.administration.ExtensionPropertiesType getSchemaExtension() throws com.lexmark.saperion.exceptions.EcmException
TenantClient
getSchemaExtension
in interface TenantClient
com.lexmark.saperion.exceptions.EcmException
- when the schema-extension properties could not be loadedpublic void deleteExtension() throws com.lexmark.saperion.exceptions.EcmException
TenantClient
deleteExtension
in interface TenantClient
com.lexmark.saperion.exceptions.EcmException
- when the schema-extension properties could not be deletedCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.