public class CompanyWrapper extends BaseModelWrapper<Company> implements Company, ModelWrapper<Company>
This class is a wrapper for Company.
Company,
Serialized FormmodelCOMPANY_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()
Deprecated.
As of Mueller (7.2.x), with no direct replacement
|
boolean |
isSendPasswordResetLink() |
boolean |
isSiteLogo() |
boolean |
isStrangers() |
boolean |
isStrangersVerify() |
boolean |
isStrangersWithMx() |
boolean |
isSystem()
Returns
true if this company is system. |
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
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, toXmlStringclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic 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 CompanyPortalExceptionpublic long getAccountId()
getAccountId in interface CompanyModelpublic boolean getActive()
getActive in interface CompanyModelpublic String getAdminName()
getAdminName in interface Companypublic String getAuthType()
getAuthType in interface Companypublic long getCompanyId()
getCompanyId in interface CompanyModelpublic User getDefaultUser() throws PortalException
getDefaultUser in interface CompanyPortalExceptionpublic String getDefaultWebId()
getDefaultWebId in interface Companypublic String getEmailAddress()
getEmailAddress in interface Companypublic Group getGroup() throws PortalException
getGroup in interface CompanyPortalExceptionpublic long getGroupId()
throws PortalException
getGroupId in interface CompanyPortalExceptionpublic String getHomeURL()
getHomeURL in interface CompanyModelpublic String getKey()
getKey in interface CompanyModelpublic Locale getLocale()
throws PortalException
getLocale in interface CompanyPortalExceptionpublic long getLogoId()
getLogoId in interface CompanyModelpublic int getMaxUsers()
getMaxUsers in interface CompanyModelpublic long getMvccVersion()
getMvccVersion in interface CompanyModelgetMvccVersion in interface MVCCModelpublic String getMx()
getMx in interface CompanyModelpublic String getName()
throws PortalException
getName in interface CompanyPortalExceptionpublic String getPortalURL(long groupId)
throws PortalException
getPortalURL in interface CompanyPortalExceptionpublic long getPrimaryKey()
getPrimaryKey in interface CompanyModelpublic String getShortName()
throws PortalException
getShortName in interface CompanyPortalExceptionpublic boolean getSystem()
getSystem in interface CompanyModelpublic TimeZone getTimeZone()
throws PortalException
getTimeZone in interface CompanyPortalExceptionpublic String getVirtualHostname()
getVirtualHostname in interface Companypublic String getWebId()
getWebId in interface CompanyModelpublic boolean hasCompanyMx(String emailAddress)
hasCompanyMx in interface Companypublic boolean isActive()
true if this company is active.isActive in interface CompanyModeltrue if this company is active; false otherwisepublic boolean isAutoLogin()
isAutoLogin in interface Company@Deprecated public boolean isSendPassword()
isSendPassword in interface Companypublic boolean isSendPasswordResetLink()
isSendPasswordResetLink in interface Companypublic boolean isSiteLogo()
isSiteLogo in interface Companypublic boolean isStrangers()
isStrangers in interface Companypublic boolean isStrangersVerify()
isStrangersVerify in interface Companypublic boolean isStrangersWithMx()
isStrangersWithMx in interface Companypublic boolean isSystem()
true if this company is system.isSystem in interface CompanyModeltrue if this company is system; false otherwisepublic void persist()
Company interface instead.persist in interface PersistedModelpublic void setAccountId(long accountId)
setAccountId in interface CompanyModelaccountId - the account ID of this companypublic void setActive(boolean active)
setActive in interface CompanyModelactive - the active of this companypublic void setCompanyId(long companyId)
setCompanyId in interface CompanyModelcompanyId - the company ID of this companypublic void setHomeURL(String homeURL)
setHomeURL in interface CompanyModelhomeURL - the home url of this companypublic void setKey(String key)
setKey in interface CompanyModelkey - the key of this companypublic void setLogoId(long logoId)
setLogoId in interface CompanyModellogoId - the logo ID of this companypublic void setMaxUsers(int maxUsers)
setMaxUsers in interface CompanyModelmaxUsers - the max users of this companypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CompanyModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this companypublic void setMx(String mx)
setMx in interface CompanyModelmx - the mx of this companypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CompanyModelprimaryKey - the primary key of this companypublic void setSystem(boolean system)
setSystem in interface CompanyModelsystem - the system of this companypublic void setVirtualHostname(String virtualHostname)
setVirtualHostname in interface Companypublic void setWebId(String webId)
setWebId in interface CompanyModelwebId - the web ID of this companyprotected CompanyWrapper wrap(Company company)
wrap in class BaseModelWrapper<Company>