Package com.liferay.portal.model.impl
Class CompanyImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
com.liferay.portal.model.impl.CompanyModelImpl
com.liferay.portal.model.impl.CompanyBaseImpl
com.liferay.portal.model.impl.CompanyImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.Company
,com.liferay.portal.kernel.model.CompanyModel
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,Serializable
,Cloneable
,Comparable<com.liferay.portal.kernel.model.Company>
- Author:
- Brian Wing Shun Chan
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
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, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, WEBID_COLUMN_BITMASK
Fields inherited from interface com.liferay.portal.kernel.model.Company
COMPANY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(com.liferay.portal.kernel.model.Company company) com.liferay.portal.kernel.model.CompanyInfo
com.liferay.portal.kernel.model.User
Deprecated.com.liferay.portal.kernel.model.Group
getGroup()
long
com.liferay.portal.kernel.model.User
getKey()
getName()
getPortalURL
(long groupId) getPortalURL
(long groupId, boolean privateLayout) boolean
hasCompanyMx
(String emailAddress) boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setCompanySecurityBag
(CompanyImpl.CompanySecurityBag companySecurityBag) void
setGroupId
(long groupId) void
void
void
setVirtualHostname
(String virtualHostname) Methods inherited from class com.liferay.portal.model.impl.CompanyBaseImpl
persist
Methods inherited from class com.liferay.portal.model.impl.CompanyModelImpl
clone, cloneWithOriginalValues, equals, getActive, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getColumnBitmask, getColumnBitmask, getColumnOriginalValue, getColumnValue, getCompanyId, getCreateDate, getExpandoBridge, getHomeURL, getIndexNameCurrent, getIndexNameNext, getIndustry, getLegalId, getLegalName, getLegalType, getLogoId, getMaxUsers, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getMvccVersion, getMx, getOriginalLogoId, getOriginalMx, getOriginalWebId, getPrimaryKey, getPrimaryKeyObj, getSicCode, getSize, getTickerSymbol, getType, getUserId, getUserName, getUserUuid, getWebId, hashCode, hasSetModifiedDate, isActive, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setActive, setCompanyId, setCreateDate, setExpandoBridgeAttributes, setHomeURL, setIndexNameCurrent, setIndexNameNext, setIndustry, setLegalId, setLegalName, setLegalType, setLogoId, setMaxUsers, setModelAttributes, setModifiedDate, setMvccVersion, setMx, setName, setPrimaryKey, setPrimaryKeyObj, setSicCode, setSize, setTickerSymbol, setType, setUserId, setUserName, setUserUuid, setWebId, toCacheModel, toEscapedModel, toString
Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface com.liferay.portal.kernel.model.CompanyModel
cloneWithOriginalValues, getActive, getCompanyId, getCreateDate, getHomeURL, getIndexNameCurrent, getIndexNameNext, getIndustry, getLegalId, getLegalName, getLegalType, getLogoId, getMaxUsers, getModifiedDate, getMvccVersion, getMx, getPrimaryKey, getSicCode, getSize, getTickerSymbol, getType, getUserId, getUserName, getUserUuid, getWebId, isActive, setActive, setCompanyId, setCreateDate, setHomeURL, setIndexNameCurrent, setIndexNameNext, setIndustry, setLegalId, setLegalName, setLegalType, setLogoId, setMaxUsers, setModifiedDate, setMvccVersion, setMx, setName, setPrimaryKey, setSicCode, setSize, setTickerSymbol, setType, setUserId, setUserName, setUserUuid, setWebId, toXmlString
-
Constructor Details
-
CompanyImpl
public CompanyImpl()
-
-
Method Details
-
compareTo
public int compareTo(com.liferay.portal.kernel.model.Company company) - Specified by:
compareTo
in interfacecom.liferay.portal.kernel.model.Company
- Specified by:
compareTo
in interfaceComparable<com.liferay.portal.kernel.model.Company>
- Overrides:
compareTo
in classCompanyModelImpl
-
getAdminName
-
getAuthType
-
getCompanyInfo
public com.liferay.portal.kernel.model.CompanyInfo getCompanyInfo() -
getCompanySecurityBag
- Overrides:
getCompanySecurityBag
in classCompanyModelImpl
-
getDefaultUser
@Deprecated public com.liferay.portal.kernel.model.User getDefaultUser() throws com.liferay.portal.kernel.exception.PortalExceptionDeprecated.As of Cavanaugh (7.4.x), replaced bygetGuestUser()
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDefaultWebId
-
getEmailAddress
-
getGroup
public com.liferay.portal.kernel.model.Group getGroup() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupId
public long getGroupId()- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.Company
- Overrides:
getGroupId
in classCompanyModelImpl
-
getGuestUser
public com.liferay.portal.kernel.model.User getGuestUser() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKey
-
getKeyObj
-
getLocale
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getName
- Specified by:
getName
in interfacecom.liferay.portal.kernel.model.CompanyModel
- Overrides:
getName
in classCompanyModelImpl
-
getPortalURL
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPortalURL
public String getPortalURL(long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShortName
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTimeZone
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getVirtualHostname
- Specified by:
getVirtualHostname
in interfacecom.liferay.portal.kernel.model.Company
- Overrides:
getVirtualHostname
in classCompanyModelImpl
-
hasCompanyMx
-
isAutoLogin
public boolean isAutoLogin() -
isSendPasswordResetLink
public boolean isSendPasswordResetLink() -
isSiteLogo
public boolean isSiteLogo() -
isStrangers
public boolean isStrangers() -
isStrangersVerify
public boolean isStrangersVerify() -
isStrangersWithMx
public boolean isStrangersWithMx() -
isUpdatePasswordRequired
public boolean isUpdatePasswordRequired() -
setCompanySecurityBag
- Overrides:
setCompanySecurityBag
in classCompanyModelImpl
-
setGroupId
public void setGroupId(long groupId) - Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.Company
- Overrides:
setGroupId
in classCompanyModelImpl
-
setKey
-
setKeyObj
-
setVirtualHostname
- Specified by:
setVirtualHostname
in interfacecom.liferay.portal.kernel.model.Company
- Overrides:
setVirtualHostname
in classCompanyModelImpl
-
getGuestUser()