com.liferay.portal.model.impl
Class CompanyModelImpl
java.lang.Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
com.liferay.portal.model.impl.CompanyModelImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.CompanyModel, com.liferay.portal.kernel.model.MVCCModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.Company>
- Direct Known Subclasses:
- CompanyBaseImpl
@JSON(strict=true)
@ProviderType
public class CompanyModelImpl
- extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
- implements com.liferay.portal.kernel.model.CompanyModel
The base model implementation for the Company service. Represents a row in the "Company" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface CompanyModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in CompanyImpl.
- See Also:
CompanyImpl,
Company,
CompanyModel,
Serialized Form- {$generated.description}
| Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from interface com.liferay.portal.kernel.model.CompanyModel |
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final Object[][] TABLE_COLUMNS
TABLE_COLUMNS_MAP
public static final Map<String,Integer> TABLE_COLUMNS_MAP
TABLE_SQL_CREATE
public static final String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
COLUMN_BITMASK_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
LOGOID_COLUMN_BITMASK
public static final long LOGOID_COLUMN_BITMASK
- See Also:
- Constant Field Values
MX_COLUMN_BITMASK
public static final long MX_COLUMN_BITMASK
- See Also:
- Constant Field Values
SYSTEM_COLUMN_BITMASK
public static final long SYSTEM_COLUMN_BITMASK
- See Also:
- Constant Field Values
WEBID_COLUMN_BITMASK
public static final long WEBID_COLUMN_BITMASK
- See Also:
- Constant Field Values
COMPANYID_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
- See Also:
- Constant Field Values
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
CompanyModelImpl
public CompanyModelImpl()
toModel
public static com.liferay.portal.kernel.model.Company toModel(com.liferay.portal.kernel.model.CompanySoap soapModel)
- Converts the soap model instance into a normal model instance.
- Parameters:
soapModel - the soap model instance to convert
- Returns:
- the normal model instance
toModels
public static List<com.liferay.portal.kernel.model.Company> toModels(com.liferay.portal.kernel.model.CompanySoap[] soapModels)
- Converts the soap model instances into normal model instances.
- Parameters:
soapModels - the soap model instances to convert
- Returns:
- the normal model instances
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portal.kernel.model.CompanyModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portal.kernel.model.CompanyModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.CompanyModel
setPrimaryKeyObj
public void setPrimaryKeyObj(Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.CompanyModel
getModelClass
public Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.kernel.model.ClassedModel
getModelClassName
public String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
getModelAttributes
public Map<String,Object> getModelAttributes()
- Specified by:
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>- Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
setModelAttributes
public void setModelAttributes(Map<String,Object> attributes)
- Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>- Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
getMvccVersion
@JSON
public long getMvccVersion()
- Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.CompanyModel- Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
public void setMvccVersion(long mvccVersion)
- Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.CompanyModel- Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
getCompanyId
@JSON
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.CompanyModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.CompanyModel
getAccountId
@JSON
public long getAccountId()
- Specified by:
getAccountId in interface com.liferay.portal.kernel.model.CompanyModel
setAccountId
public void setAccountId(long accountId)
- Specified by:
setAccountId in interface com.liferay.portal.kernel.model.CompanyModel
getWebId
@JSON
public String getWebId()
- Specified by:
getWebId in interface com.liferay.portal.kernel.model.CompanyModel
setWebId
public void setWebId(String webId)
- Specified by:
setWebId in interface com.liferay.portal.kernel.model.CompanyModel
getOriginalWebId
public String getOriginalWebId()
getKey
@JSON
public String getKey()
- Specified by:
getKey in interface com.liferay.portal.kernel.model.CompanyModel
setKey
public void setKey(String key)
- Specified by:
setKey in interface com.liferay.portal.kernel.model.CompanyModel
getMx
@JSON
public String getMx()
- Specified by:
getMx in interface com.liferay.portal.kernel.model.CompanyModel
setMx
public void setMx(String mx)
- Specified by:
setMx in interface com.liferay.portal.kernel.model.CompanyModel
getOriginalMx
public String getOriginalMx()
getHomeURL
@JSON
public String getHomeURL()
- Specified by:
getHomeURL in interface com.liferay.portal.kernel.model.CompanyModel
setHomeURL
public void setHomeURL(String homeURL)
- Specified by:
setHomeURL in interface com.liferay.portal.kernel.model.CompanyModel
getLogoId
@JSON
public long getLogoId()
- Specified by:
getLogoId in interface com.liferay.portal.kernel.model.CompanyModel
setLogoId
public void setLogoId(long logoId)
- Specified by:
setLogoId in interface com.liferay.portal.kernel.model.CompanyModel
getOriginalLogoId
public long getOriginalLogoId()
getSystem
@JSON
public boolean getSystem()
- Specified by:
getSystem in interface com.liferay.portal.kernel.model.CompanyModel
isSystem
public boolean isSystem()
- Specified by:
isSystem in interface com.liferay.portal.kernel.model.CompanyModel
setSystem
public void setSystem(boolean system)
- Specified by:
setSystem in interface com.liferay.portal.kernel.model.CompanyModel
getOriginalSystem
public boolean getOriginalSystem()
getMaxUsers
@JSON
public int getMaxUsers()
- Specified by:
getMaxUsers in interface com.liferay.portal.kernel.model.CompanyModel
setMaxUsers
public void setMaxUsers(int maxUsers)
- Specified by:
setMaxUsers in interface com.liferay.portal.kernel.model.CompanyModel
getActive
@JSON
public boolean getActive()
- Specified by:
getActive in interface com.liferay.portal.kernel.model.CompanyModel
isActive
public boolean isActive()
- Specified by:
isActive in interface com.liferay.portal.kernel.model.CompanyModel
setActive
public void setActive(boolean active)
- Specified by:
setActive in interface com.liferay.portal.kernel.model.CompanyModel
getCompanySecurityBag
public CompanyImpl.CompanySecurityBag getCompanySecurityBag()
setCompanySecurityBag
public void setCompanySecurityBag(CompanyImpl.CompanySecurityBag companySecurityBag)
getKeyObj
public Key getKeyObj()
setKeyObj
public void setKeyObj(Key keyObj)
getVirtualHostname
public String getVirtualHostname()
setVirtualHostname
public void setVirtualHostname(String virtualHostname)
getColumnBitmask
public long getColumnBitmask()
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.CompanyModel- Overrides:
getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.CompanyModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
toEscapedModel
public com.liferay.portal.kernel.model.Company toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>- Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.CompanyModel- Overrides:
toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
clone
public Object clone()
- Specified by:
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>- Specified by:
clone in interface com.liferay.portal.kernel.model.CompanyModel- Specified by:
clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
compareTo
public int compareTo(com.liferay.portal.kernel.model.Company company)
- Specified by:
compareTo in interface com.liferay.portal.kernel.model.CompanyModel- Specified by:
compareTo in interface Comparable<com.liferay.portal.kernel.model.Company>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.portal.kernel.model.CompanyModel- Overrides:
hashCode in class Object
isEntityCacheEnabled
public boolean isEntityCacheEnabled()
- Specified by:
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
isFinderCacheEnabled
public boolean isFinderCacheEnabled()
- Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>- Overrides:
resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Company> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>- Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.CompanyModel- Overrides:
toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
toString
public String toString()
- Specified by:
toString in interface com.liferay.portal.kernel.model.CompanyModel- Overrides:
toString in class Object
toXmlString
public String toXmlString()
- Specified by:
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>- Specified by:
toXmlString in interface com.liferay.portal.kernel.model.CompanyModel