Class Tenant

java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.security.Tenant
All Implemented Interfaces:
Serializable

public class Tenant extends PersistentObject implements Serializable
This class represents a Tenant, that is a branch of the organization or an organizational unit or whatever other class of organization.
Version:
6.9
Author:
Marco Meschieri
See Also:
  • Field Details Link icon

  • Constructor Details Link icon

    • Tenant Link icon

      public Tenant()
    • Tenant Link icon

      public Tenant(Tenant source)
  • Method Details Link icon

    • getName Link icon

      public String getName()
    • setName Link icon

      public void setName(String name)
    • getDisplayName Link icon

      public String getDisplayName()
    • setDisplayName Link icon

      public void setDisplayName(String displayName)
    • getStreet Link icon

      public String getStreet()
    • setStreet Link icon

      public void setStreet(String street)
    • getCity Link icon

      public String getCity()
    • setCity Link icon

      public void setCity(String city)
    • getState Link icon

      public String getState()
    • setState Link icon

      public void setState(String state)
    • getCountry Link icon

      public String getCountry()
    • setCountry Link icon

      public void setCountry(String country)
    • getEmail Link icon

      public String getEmail()
    • setEmail Link icon

      public void setEmail(String email)
    • getTelephone Link icon

      public String getTelephone()
    • setTelephone Link icon

      public void setTelephone(String telephone)
    • getType Link icon

      public int getType()
    • setType Link icon

      public void setType(int type)
    • getPostalCode Link icon

      public String getPostalCode()
    • setPostalCode Link icon

      public void setPostalCode(String postalCode)
    • toString Link icon

      public String toString()
      Overrides:
      toString in class PersistentObject
    • getMaxUsers Link icon

      public Integer getMaxUsers()
    • setMaxUsers Link icon

      public void setMaxUsers(Integer maxUsers)
    • getMaxSessions Link icon

      public Integer getMaxSessions()
    • setMaxSessions Link icon

      public void setMaxSessions(Integer maxSessions)
    • getMaxRepoDocs Link icon

      public Long getMaxRepoDocs()
    • setMaxRepoDocs Link icon

      public void setMaxRepoDocs(Long maxRepoDocs)
    • getMaxRepoSize Link icon

      public Long getMaxRepoSize()
    • setMaxRepoSize Link icon

      public void setMaxRepoSize(Long maxRepoSize)
    • getEnabled Link icon

      public int getEnabled()
    • setEnabled Link icon

      public void setEnabled(int enabled)
    • isAvailable Link icon

      public boolean isAvailable()
      Check if the tenant is enabled and not expired
      Returns:
      if it is available
    • getExpire Link icon

      public Date getExpire()
    • setExpire Link icon

      public void setExpire(Date expire)
    • getQuotaThreshold Link icon

      public Integer getQuotaThreshold()
    • setQuotaThreshold Link icon

      public void setQuotaThreshold(Integer quotaThreshold)
    • getQuotaAlertRecipients Link icon

      public String getQuotaAlertRecipients()
    • setQuotaAlertRecipients Link icon

      public void setQuotaAlertRecipients(String quotaAlertRecipients)
    • getQuotaAlertRecipientsAsList Link icon

      public List<String> getQuotaAlertRecipientsAsList()
    • addQuotaAlertRecipient Link icon

      public void addQuotaAlertRecipient(String recipient)
    • getMaxGuests Link icon

      public Integer getMaxGuests()
    • setMaxGuests Link icon

      public void setMaxGuests(Integer maxGuests)
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class PersistentObject
    • equals Link icon

      public boolean equals(Object obj)
      Overrides:
      equals in class PersistentObject