Interface TenantManager


public interface TenantManager
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    activateTenant(int tenantId)
    Activates a tenant
    int
    addTenant(Tenant tenant)
    Adds a tenant to the system
    void
    deactivateTenant(int tenantId)
    De-activates a tenant
    void
    deleteTenant(int tenantId)
    Deletes a tenant from the system
    void
    deleteTenant(int tenantId, boolean removeFromPersistentStorage)
    Deletes a tenant from the system which use to delete the cache in each worker nodes using clustered message and delete the persistence storage in management node
    Gets all tenants in the system.
    Gets tenants in the system which matches the given domain String(which can be used for partial searches).
    getDomain(int tenantId)
    Retrieves the domain given a tenant Id
    Checks whether the super tenant.
    getTenant(int tenantId)
    Gets a Tenant object
    int
    Retrieves the tenant Id given the domain
    boolean
    isTenantActive(int tenantId)
    Checks whether a tenant is active
    void
    Updates a tenant in the system
  • Method Details