@ProviderType public class CompanyWrapper extends BaseModelWrapper<Company> implements Company, ModelWrapper<Company>
This class is a wrapper for Company
.
Company
,
Serialized Formmodel
COMPANY_ID_ACCESSOR
Constructor and Description |
---|
CompanyWrapper(Company company) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Company company) |
Account |
getAccount() |
long |
getAccountId()
Returns the account ID of this company.
|
boolean |
getActive()
Returns the active of this company.
|
String |
getAdminName() |
String |
getAuthType() |
long |
getCompanyId()
Returns the company ID of this company.
|
User |
getDefaultUser() |
String |
getDefaultWebId() |
String |
getEmailAddress() |
Group |
getGroup() |
long |
getGroupId() |
String |
getHomeURL()
Returns the home url of this company.
|
String |
getKey()
Returns the key of this company.
|
Key |
getKeyObj() |
Locale |
getLocale() |
long |
getLogoId()
Returns the logo ID of this company.
|
int |
getMaxUsers()
Returns the max users of this company.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this company.
|
String |
getMx()
Returns the mx of this company.
|
String |
getName() |
String |
getPortalURL(long groupId) |
long |
getPrimaryKey()
Returns the primary key of this company.
|
String |
getShortName() |
boolean |
getSystem()
Returns the system of this company.
|
TimeZone |
getTimeZone() |
String |
getVirtualHostname() |
String |
getWebId()
Returns the web ID of this company.
|
boolean |
hasCompanyMx(String emailAddress) |
boolean |
isActive()
Returns
true if this company is active. |
boolean |
isAutoLogin() |
boolean |
isSendPassword() |
boolean |
isSendPasswordResetLink() |
boolean |
isSiteLogo() |
boolean |
isStrangers() |
boolean |
isStrangersVerify() |
boolean |
isStrangersWithMx() |
boolean |
isSystem()
Returns
true if this company is system. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setAccountId(long accountId)
Sets the account ID of this company.
|
void |
setActive(boolean active)
Sets whether this company is active.
|
void |
setCompanyId(long companyId)
Sets the company ID of this company.
|
void |
setHomeURL(String homeURL)
Sets the home url of this company.
|
void |
setKey(String key)
Sets the key of this company.
|
void |
setKeyObj(Key keyObj) |
void |
setLogoId(long logoId)
Sets the logo ID of this company.
|
void |
setMaxUsers(int maxUsers)
Sets the max users of this company.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this company.
|
void |
setMx(String mx)
Sets the mx of this company.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this company.
|
void |
setSystem(boolean system)
Sets whether this company is system.
|
void |
setVirtualHostname(String virtualHostname) |
void |
setWebId(String webId)
Sets the web ID of this company.
|
protected CompanyWrapper |
wrap(Company company) |
clone, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
getWrappedModel
public CompanyWrapper(Company company)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Company>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Company>
public int compareTo(Company company)
public Account getAccount() throws PortalException
getAccount
in interface Company
PortalException
public long getAccountId()
getAccountId
in interface CompanyModel
public boolean getActive()
getActive
in interface CompanyModel
public String getAdminName()
getAdminName
in interface Company
public String getAuthType()
getAuthType
in interface Company
public long getCompanyId()
getCompanyId
in interface CompanyModel
public User getDefaultUser() throws PortalException
getDefaultUser
in interface Company
PortalException
public String getDefaultWebId()
getDefaultWebId
in interface Company
public String getEmailAddress()
getEmailAddress
in interface Company
public Group getGroup() throws PortalException
getGroup
in interface Company
PortalException
public long getGroupId() throws PortalException
getGroupId
in interface Company
PortalException
public String getHomeURL()
getHomeURL
in interface CompanyModel
public String getKey()
getKey
in interface CompanyModel
public Locale getLocale() throws PortalException
getLocale
in interface Company
PortalException
public long getLogoId()
getLogoId
in interface CompanyModel
public int getMaxUsers()
getMaxUsers
in interface CompanyModel
public long getMvccVersion()
getMvccVersion
in interface CompanyModel
getMvccVersion
in interface MVCCModel
public String getMx()
getMx
in interface CompanyModel
public String getName() throws PortalException
getName
in interface Company
PortalException
public String getPortalURL(long groupId) throws PortalException
getPortalURL
in interface Company
PortalException
public long getPrimaryKey()
getPrimaryKey
in interface CompanyModel
public String getShortName() throws PortalException
getShortName
in interface Company
PortalException
public boolean getSystem()
getSystem
in interface CompanyModel
public TimeZone getTimeZone() throws PortalException
getTimeZone
in interface Company
PortalException
public String getVirtualHostname()
getVirtualHostname
in interface Company
public String getWebId()
getWebId
in interface CompanyModel
public boolean hasCompanyMx(String emailAddress)
hasCompanyMx
in interface Company
public boolean isActive()
true
if this company is active.isActive
in interface CompanyModel
true
if this company is active; false
otherwisepublic boolean isAutoLogin()
isAutoLogin
in interface Company
public boolean isSendPassword()
isSendPassword
in interface Company
public boolean isSendPasswordResetLink()
isSendPasswordResetLink
in interface Company
public boolean isSiteLogo()
isSiteLogo
in interface Company
public boolean isStrangers()
isStrangers
in interface Company
public boolean isStrangersVerify()
isStrangersVerify
in interface Company
public boolean isStrangersWithMx()
isStrangersWithMx
in interface Company
public boolean isSystem()
true
if this company is system.isSystem
in interface CompanyModel
true
if this company is system; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setAccountId(long accountId)
setAccountId
in interface CompanyModel
accountId
- the account ID of this companypublic void setActive(boolean active)
setActive
in interface CompanyModel
active
- the active of this companypublic void setCompanyId(long companyId)
setCompanyId
in interface CompanyModel
companyId
- the company ID of this companypublic void setHomeURL(String homeURL)
setHomeURL
in interface CompanyModel
homeURL
- the home url of this companypublic void setKey(String key)
setKey
in interface CompanyModel
key
- the key of this companypublic void setLogoId(long logoId)
setLogoId
in interface CompanyModel
logoId
- the logo ID of this companypublic void setMaxUsers(int maxUsers)
setMaxUsers
in interface CompanyModel
maxUsers
- the max users of this companypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CompanyModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this companypublic void setMx(String mx)
setMx
in interface CompanyModel
mx
- the mx of this companypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CompanyModel
primaryKey
- the primary key of this companypublic void setSystem(boolean system)
setSystem
in interface CompanyModel
system
- the system of this companypublic void setVirtualHostname(String virtualHostname)
setVirtualHostname
in interface Company
public void setWebId(String webId)
setWebId
in interface CompanyModel
webId
- the web ID of this companyprotected CompanyWrapper wrap(Company company)
wrap
in class BaseModelWrapper<Company>