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