Class WSTenant
- java.lang.Object
-
- com.logicaldoc.enterprise.webservice.model.WSTenant
-
- All Implemented Interfaces:
Serializable
public class WSTenant extends Object implements Serializable
Web Service Tenant. Useful class to handle tenants.- Since:
- 7.0.1
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WSTenant()
-
Method Summary
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDisplayName
public String getDisplayName()
-
setDisplayName
public void setDisplayName(String displayName)
-
getStreet
public String getStreet()
-
setStreet
public void setStreet(String street)
-
getCity
public String getCity()
-
setCity
public void setCity(String city)
-
getState
public String getState()
-
setState
public void setState(String state)
-
getCountry
public String getCountry()
-
setCountry
public void setCountry(String country)
-
getEmail
public String getEmail()
-
setEmail
public void setEmail(String email)
-
getTelephone
public String getTelephone()
-
setTelephone
public void setTelephone(String telephone)
-
getType
public int getType()
-
setType
public void setType(int type)
-
getPostalCode
public String getPostalCode()
-
setPostalCode
public void setPostalCode(String postalCode)
-
getMaxUsers
public Integer getMaxUsers()
-
setMaxUsers
public void setMaxUsers(Integer maxUsers)
-
getMaxSessions
public Integer getMaxSessions()
-
setMaxSessions
public void setMaxSessions(Integer maxSessions)
-
getMaxRepoDocs
public Long getMaxRepoDocs()
-
setMaxRepoDocs
public void setMaxRepoDocs(Long maxRepoDocs)
-
getMaxRepoSize
public Long getMaxRepoSize()
-
setMaxRepoSize
public void setMaxRepoSize(Long maxRepoSize)
-
getEnabled
public int getEnabled()
-
setEnabled
public void setEnabled(int enabled)
-
getExpire
public String getExpire()
-
setExpire
public void setExpire(String expire)
-
getId
public long getId()
-
setId
public void setId(long id)
-
getLastModified
public String getLastModified()
-
setLastModified
public void setLastModified(String lastModified)
-
fromTenant
public static WSTenant fromTenant(com.logicaldoc.core.security.Tenant tenant)
-
toTemplate
public com.logicaldoc.core.security.Tenant toTemplate()
-
-