@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
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
.
CompanyImpl
,
Company
,
CompanyModel
,
Serialized FormModifier and Type | Field and Description |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static long |
LOGOID_COLUMN_BITMASK |
static long |
MX_COLUMN_BITMASK |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static String |
SESSION_FACTORY |
static long |
SYSTEM_COLUMN_BITMASK |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME |
static String |
TABLE_SQL_CREATE |
static String |
TABLE_SQL_DROP |
static String |
TX_MANAGER |
static long |
WEBID_COLUMN_BITMASK |
Constructor and Description |
---|
CompanyModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.Company company) |
boolean |
equals(Object obj) |
long |
getAccountId() |
boolean |
getActive() |
long |
getColumnBitmask() |
long |
getCompanyId() |
CompanyImpl.CompanySecurityBag |
getCompanySecurityBag() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
String |
getHomeURL() |
String |
getKey() |
Key |
getKeyObj() |
long |
getLogoId() |
int |
getMaxUsers() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion() |
String |
getMx() |
long |
getOriginalLogoId() |
String |
getOriginalMx() |
boolean |
getOriginalSystem() |
String |
getOriginalWebId() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
boolean |
getSystem() |
String |
getVirtualHostname() |
String |
getWebId() |
int |
hashCode() |
boolean |
isActive() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
boolean |
isSystem() |
void |
resetOriginalValues() |
void |
setAccountId(long accountId) |
void |
setActive(boolean active) |
void |
setCompanyId(long companyId) |
void |
setCompanySecurityBag(CompanyImpl.CompanySecurityBag companySecurityBag) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setHomeURL(String homeURL) |
void |
setKey(String key) |
void |
setKeyObj(Key keyObj) |
void |
setLogoId(long logoId) |
void |
setMaxUsers(int maxUsers) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion) |
void |
setMx(String mx) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setSystem(boolean system) |
void |
setVirtualHostname(String virtualHostname) |
void |
setWebId(String webId) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Company> |
toCacheModel() |
com.liferay.portal.kernel.model.Company |
toEscapedModel() |
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.
|
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.
|
String |
toString() |
String |
toXmlString() |
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long LOGOID_COLUMN_BITMASK
public static final long MX_COLUMN_BITMASK
public static final long SYSTEM_COLUMN_BITMASK
public static final long WEBID_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portal.kernel.model.Company toModel(com.liferay.portal.kernel.model.CompanySoap soapModel)
soapModel
- the soap model instance to convertpublic static List<com.liferay.portal.kernel.model.Company> toModels(com.liferay.portal.kernel.model.CompanySoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.CompanyModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.CompanyModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.CompanyModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.CompanyModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
@JSON public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.CompanyModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.CompanyModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
@JSON public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.CompanyModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.CompanyModel
@JSON public long getAccountId()
getAccountId
in interface com.liferay.portal.kernel.model.CompanyModel
public void setAccountId(long accountId)
setAccountId
in interface com.liferay.portal.kernel.model.CompanyModel
@JSON public String getWebId()
getWebId
in interface com.liferay.portal.kernel.model.CompanyModel
public void setWebId(String webId)
setWebId
in interface com.liferay.portal.kernel.model.CompanyModel
public String getOriginalWebId()
@JSON public String getKey()
getKey
in interface com.liferay.portal.kernel.model.CompanyModel
public void setKey(String key)
setKey
in interface com.liferay.portal.kernel.model.CompanyModel
@JSON public String getMx()
getMx
in interface com.liferay.portal.kernel.model.CompanyModel
public void setMx(String mx)
setMx
in interface com.liferay.portal.kernel.model.CompanyModel
public String getOriginalMx()
@JSON public String getHomeURL()
getHomeURL
in interface com.liferay.portal.kernel.model.CompanyModel
public void setHomeURL(String homeURL)
setHomeURL
in interface com.liferay.portal.kernel.model.CompanyModel
@JSON public long getLogoId()
getLogoId
in interface com.liferay.portal.kernel.model.CompanyModel
public void setLogoId(long logoId)
setLogoId
in interface com.liferay.portal.kernel.model.CompanyModel
public long getOriginalLogoId()
@JSON public boolean getSystem()
getSystem
in interface com.liferay.portal.kernel.model.CompanyModel
@JSON public boolean isSystem()
isSystem
in interface com.liferay.portal.kernel.model.CompanyModel
public void setSystem(boolean system)
setSystem
in interface com.liferay.portal.kernel.model.CompanyModel
public boolean getOriginalSystem()
@JSON public int getMaxUsers()
getMaxUsers
in interface com.liferay.portal.kernel.model.CompanyModel
public void setMaxUsers(int maxUsers)
setMaxUsers
in interface com.liferay.portal.kernel.model.CompanyModel
@JSON public boolean getActive()
getActive
in interface com.liferay.portal.kernel.model.CompanyModel
@JSON public boolean isActive()
isActive
in interface com.liferay.portal.kernel.model.CompanyModel
public void setActive(boolean active)
setActive
in interface com.liferay.portal.kernel.model.CompanyModel
public CompanyImpl.CompanySecurityBag getCompanySecurityBag()
public void setCompanySecurityBag(CompanyImpl.CompanySecurityBag companySecurityBag)
public Key getKeyObj()
public void setKeyObj(Key keyObj)
public String getVirtualHostname()
public void setVirtualHostname(String virtualHostname)
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.CompanyModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.CompanyModel
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
public com.liferay.portal.kernel.model.Company toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
toEscapedModel
in interface com.liferay.portal.kernel.model.CompanyModel
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
public Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
clone
in interface com.liferay.portal.kernel.model.CompanyModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
public int compareTo(com.liferay.portal.kernel.model.Company company)
compareTo
in interface com.liferay.portal.kernel.model.CompanyModel
compareTo
in interface Comparable<com.liferay.portal.kernel.model.Company>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.portal.kernel.model.CompanyModel
hashCode
in class Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Company> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
toCacheModel
in interface com.liferay.portal.kernel.model.CompanyModel
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Company>
public String toString()
toString
in interface com.liferay.portal.kernel.model.CompanyModel
toString
in class Object
public String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Company>
toXmlString
in interface com.liferay.portal.kernel.model.CompanyModel