com.liferay.portal.model.impl
Class CompanyImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<Company>
com.liferay.portal.model.impl.CompanyModelImpl
com.liferay.portal.model.impl.CompanyBaseImpl
com.liferay.portal.model.impl.CompanyImpl
- All Implemented Interfaces:
- BaseModel<Company>, ClassedModel, Company, CompanyModel, MVCCModel, PersistedModel, Serializable, Cloneable, Comparable<Company>
public class CompanyImpl
- extends CompanyBaseImpl
- See Also:
- Serialized Form
| Fields inherited from class com.liferay.portal.model.impl.CompanyModelImpl |
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, LOGOID_COLUMN_BITMASK, MX_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, SYSTEM_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, WEBID_COLUMN_BITMASK |
| Methods inherited from class com.liferay.portal.model.impl.CompanyModelImpl |
clone, equals, getAccountId, getActive, getColumnBitmask, getCompanyId, getExpandoBridge, getHomeURL, getKey, getLogoId, getMaxUsers, getModelAttributes, getModelClass, getModelClassName, getMvccVersion, getMx, getOriginalLogoId, getOriginalMx, getOriginalSystem, getOriginalWebId, getPrimaryKey, getPrimaryKeyObj, getSystem, getWebId, hashCode, isActive, isEntityCacheEnabled, isFinderCacheEnabled, isSystem, resetOriginalValues, setAccountId, setActive, setCompanyId, setExpandoBridgeAttributes, setHomeURL, setLogoId, setMaxUsers, setModelAttributes, setMvccVersion, setMx, setPrimaryKey, setPrimaryKeyObj, setSystem, setWebId, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString |
| Methods inherited from interface com.liferay.portal.model.CompanyModel |
clone, getAccountId, getActive, getCompanyId, getExpandoBridge, getHomeURL, getKey, getLogoId, getMaxUsers, getMvccVersion, getMx, getPrimaryKey, getPrimaryKeyObj, getSystem, getWebId, hashCode, isActive, isCachedModel, isEscapedModel, isNew, isSystem, setAccountId, setActive, setCachedModel, setCompanyId, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setHomeURL, setLogoId, setMaxUsers, setMvccVersion, setMx, setNew, setPrimaryKey, setPrimaryKeyObj, setSystem, setWebId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString |
CompanyImpl
public CompanyImpl()
compareTo
public int compareTo(Company company)
- Specified by:
compareTo in interface CompanyModel- Specified by:
compareTo in interface Comparable<Company>- Overrides:
compareTo in class CompanyModelImpl
getAccount
public Account getAccount()
throws PortalException
- Throws:
PortalException
getAdminName
public String getAdminName()
getAuthType
public String getAuthType()
getDefaultUser
public User getDefaultUser()
throws PortalException
- Throws:
PortalException
getDefaultWebId
public String getDefaultWebId()
getEmailAddress
public String getEmailAddress()
getGroup
public Group getGroup()
throws PortalException
- Throws:
PortalException
getGroupId
public long getGroupId()
throws PortalException
- Throws:
PortalException
getKeyObj
public Key getKeyObj()
- Specified by:
getKeyObj in interface Company- Overrides:
getKeyObj in class CompanyModelImpl
getLocale
public Locale getLocale()
throws PortalException
- Throws:
PortalException
getName
@AutoEscape
public String getName()
throws PortalException
- Throws:
PortalException
getPortalURL
public String getPortalURL(long groupId)
throws PortalException
- Throws:
PortalException
getShortName
public String getShortName()
throws PortalException
- Throws:
PortalException
getTimeZone
public TimeZone getTimeZone()
throws PortalException
- Throws:
PortalException
getVirtualHostname
public String getVirtualHostname()
- Specified by:
getVirtualHostname in interface Company- Overrides:
getVirtualHostname in class CompanyModelImpl
hasCompanyMx
public boolean hasCompanyMx(String emailAddress)
isAutoLogin
public boolean isAutoLogin()
isSendPassword
public boolean isSendPassword()
isSendPasswordResetLink
public boolean isSendPasswordResetLink()
isSiteLogo
public boolean isSiteLogo()
isStrangers
public boolean isStrangers()
isStrangersVerify
public boolean isStrangersVerify()
isStrangersWithMx
public boolean isStrangersWithMx()
setKey
public void setKey(String key)
- Description copied from interface:
CompanyModel
- Sets the key of this company.
- Specified by:
setKey in interface CompanyModel- Overrides:
setKey in class CompanyModelImpl
- Parameters:
key - the key of this company
setKeyObj
public void setKeyObj(Key keyObj)
- Specified by:
setKeyObj in interface Company- Overrides:
setKeyObj in class CompanyModelImpl
setVirtualHostname
public void setVirtualHostname(String virtualHostname)
- Specified by:
setVirtualHostname in interface Company- Overrides:
setVirtualHostname in class CompanyModelImpl