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 |
---|---|
Company |
cloneWithOriginalValues() |
int |
compareTo(Company company) |
boolean |
getActive()
Returns the active of this company.
|
String |
getAdminName() |
String |
getAuthType() |
long |
getCompanyId()
Returns the company ID of this company.
|
CompanyInfo |
getCompanyInfo() |
Date |
getCreateDate()
Returns the create date of this company.
|
User |
getDefaultUser()
Deprecated.
As of Cavanaugh (7.4.x), replaced by
getGuestUser() |
String |
getDefaultWebId() |
String |
getEmailAddress() |
Group |
getGroup() |
long |
getGroupId() |
User |
getGuestUser() |
String |
getHomeURL()
Returns the home url of this company.
|
String |
getIndexNameCurrent()
Returns the index name current of this company.
|
String |
getIndexNameNext()
Returns the index name next of this company.
|
String |
getIndustry()
Returns the industry of this company.
|
String |
getKey() |
Key |
getKeyObj() |
String |
getLegalId()
Returns the legal ID of this company.
|
String |
getLegalName()
Returns the legal name of this company.
|
String |
getLegalType()
Returns the legal type of this company.
|
Locale |
getLocale() |
long |
getLogoId()
Returns the logo ID of this company.
|
int |
getMaxUsers()
Returns the max users of this company.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this company.
|
long |
getMvccVersion()
Returns the mvcc version of this company.
|
String |
getMx()
Returns the mx of this company.
|
String |
getName()
Returns the name of this company.
|
String |
getPortalURL(long groupId) |
String |
getPortalURL(long groupId,
boolean privateLayout) |
long |
getPrimaryKey()
Returns the primary key of this company.
|
String |
getShortName() |
String |
getSicCode()
Returns the sic code of this company.
|
String |
getSize()
Returns the size of this company.
|
String |
getTickerSymbol()
Returns the ticker symbol of this company.
|
TimeZone |
getTimeZone() |
String |
getType()
Returns the type of this company.
|
long |
getUserId()
Returns the user ID of this company.
|
String |
getUserName()
Returns the user name of this company.
|
String |
getUserUuid()
Returns the user uuid of this company.
|
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 |
isSendPasswordResetLink() |
boolean |
isSiteLogo() |
boolean |
isStrangers() |
boolean |
isStrangersVerify() |
boolean |
isStrangersWithMx() |
boolean |
isUpdatePasswordRequired() |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setActive(boolean active)
Sets whether this company is active.
|
void |
setCompanyId(long companyId)
Sets the company ID of this company.
|
void |
setCreateDate(Date createDate)
Sets the create date of this company.
|
void |
setHomeURL(String homeURL)
Sets the home url of this company.
|
void |
setIndexNameCurrent(String indexNameCurrent)
Sets the index name current of this company.
|
void |
setIndexNameNext(String indexNameNext)
Sets the index name next of this company.
|
void |
setIndustry(String industry)
Sets the industry of this company.
|
void |
setKey(String key) |
void |
setKeyObj(Key keyObj) |
void |
setLegalId(String legalId)
Sets the legal ID of this company.
|
void |
setLegalName(String legalName)
Sets the legal name of this company.
|
void |
setLegalType(String legalType)
Sets the legal type of this company.
|
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 |
setModifiedDate(Date modifiedDate)
Sets the modified date of this company.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this company.
|
void |
setMx(String mx)
Sets the mx of this company.
|
void |
setName(String name)
Sets the name of this company.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this company.
|
void |
setSicCode(String sicCode)
Sets the sic code of this company.
|
void |
setSize(String size)
Sets the size of this company.
|
void |
setTickerSymbol(String tickerSymbol)
Sets the ticker symbol of this company.
|
void |
setType(String type)
Sets the type of this company.
|
void |
setUserId(long userId)
Sets the user ID of this company.
|
void |
setUserName(String userName)
Sets the user name of this company.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this company.
|
void |
setVirtualHostname(String virtualHostname) |
void |
setWebId(String webId)
Sets the web ID of this company.
|
String |
toXmlString() |
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
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
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 Company cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<Company>
cloneWithOriginalValues
in interface CompanyModel
public int compareTo(Company company)
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 AuditedModel
getCompanyId
in interface CompanyModel
public CompanyInfo getCompanyInfo()
getCompanyInfo
in interface Company
public Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface CompanyModel
@Deprecated public User getDefaultUser() throws PortalException
getGuestUser()
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 User getGuestUser() throws PortalException
getGuestUser
in interface Company
PortalException
public String getHomeURL()
getHomeURL
in interface CompanyModel
public String getIndexNameCurrent()
getIndexNameCurrent
in interface CompanyModel
public String getIndexNameNext()
getIndexNameNext
in interface CompanyModel
public String getIndustry()
getIndustry
in interface CompanyModel
public String getLegalId()
getLegalId
in interface CompanyModel
public String getLegalName()
getLegalName
in interface CompanyModel
public String getLegalType()
getLegalType
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 Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface CompanyModel
public long getMvccVersion()
getMvccVersion
in interface CompanyModel
getMvccVersion
in interface MVCCModel
public String getMx()
getMx
in interface CompanyModel
public String getName()
getName
in interface CompanyModel
public String getPortalURL(long groupId) throws PortalException
getPortalURL
in interface Company
PortalException
public String getPortalURL(long groupId, boolean privateLayout) 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 String getSicCode()
getSicCode
in interface CompanyModel
public String getSize()
getSize
in interface CompanyModel
public String getTickerSymbol()
getTickerSymbol
in interface CompanyModel
public TimeZone getTimeZone() throws PortalException
getTimeZone
in interface Company
PortalException
public String getType()
getType
in interface CompanyModel
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface CompanyModel
public String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface CompanyModel
public String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface CompanyModel
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 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 isUpdatePasswordRequired()
isUpdatePasswordRequired
in interface Company
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setActive(boolean active)
setActive
in interface CompanyModel
active
- the active of this companypublic void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface CompanyModel
companyId
- the company ID of this companypublic void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface CompanyModel
createDate
- the create date of this companypublic void setHomeURL(String homeURL)
setHomeURL
in interface CompanyModel
homeURL
- the home url of this companypublic void setIndexNameCurrent(String indexNameCurrent)
setIndexNameCurrent
in interface CompanyModel
indexNameCurrent
- the index name current of this companypublic void setIndexNameNext(String indexNameNext)
setIndexNameNext
in interface CompanyModel
indexNameNext
- the index name next of this companypublic void setIndustry(String industry)
setIndustry
in interface CompanyModel
industry
- the industry of this companypublic void setLegalId(String legalId)
setLegalId
in interface CompanyModel
legalId
- the legal ID of this companypublic void setLegalName(String legalName)
setLegalName
in interface CompanyModel
legalName
- the legal name of this companypublic void setLegalType(String legalType)
setLegalType
in interface CompanyModel
legalType
- the legal type 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 setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface CompanyModel
modifiedDate
- the modified date 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 setName(String name)
setName
in interface CompanyModel
name
- the name of this companypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CompanyModel
primaryKey
- the primary key of this companypublic void setSicCode(String sicCode)
setSicCode
in interface CompanyModel
sicCode
- the sic code of this companypublic void setSize(String size)
setSize
in interface CompanyModel
size
- the size of this companypublic void setTickerSymbol(String tickerSymbol)
setTickerSymbol
in interface CompanyModel
tickerSymbol
- the ticker symbol of this companypublic void setType(String type)
setType
in interface CompanyModel
type
- the type of this companypublic void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface CompanyModel
userId
- the user ID of this companypublic void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface CompanyModel
userName
- the user name of this companypublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface CompanyModel
userUuid
- the user uuid 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 companypublic String toXmlString()
toXmlString
in interface CompanyModel
protected CompanyWrapper wrap(Company company)
wrap
in class BaseModelWrapper<Company>