public interface ITenantOperationsListener
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<ITenantManagementAction> |
getAvaialableActions()
Listeners may optionally define one or more operations that may be performed on an existing
tenant.
|
java.lang.String |
getFname()
The (short) string that identifies this listener uniquely.
|
java.lang.String |
getName()
Provides a human-readable name for this listener suitable for displaying in the UI.
|
boolean |
isOptional()
Is skipping this listener permissable?
|
TenantOperationResponse |
onCreate(org.apereo.portal.tenants.ITenant tenant)
Allows the listener to respond to the creation of a new tenant.
|
TenantOperationResponse |
onDelete(org.apereo.portal.tenants.ITenant tenant)
Allows the listener to respond to the removal of a tenant.
|
TenantOperationResponse |
onUpdate(org.apereo.portal.tenants.ITenant tenant)
Allows the listener to respond to a change in the metadata originally used to define a
tenant.
|
void |
validateAttribute(java.lang.String key,
java.lang.String value)
Throws an exception if the specified value isn't allowable for the specified attribute.
|
java.lang.String getName()
java.lang.String getFname()
boolean isOptional()
TenantOperationResponse onCreate(org.apereo.portal.tenants.ITenant tenant)
TenantOperationResponse onUpdate(org.apereo.portal.tenants.ITenant tenant)
TenantOperationResponse onDelete(org.apereo.portal.tenants.ITenant tenant)
java.util.Set<ITenantManagementAction> getAvaialableActions()
void validateAttribute(java.lang.String key,
java.lang.String value)
throws java.lang.Exception
java.lang.Exception