|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<Company>
com.liferay.portal.model.impl.CompanyModelImpl
@JSON(strict=true) @ProviderType public class CompanyModelImpl
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.
CompanyImpl,
Company,
CompanyModel,
Serialized Form| Field Summary | |
|---|---|
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 Summary | |
|---|---|
CompanyModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Company company)
|
boolean |
equals(Object obj)
|
long |
getAccountId()
Returns the account ID of this company. |
boolean |
getActive()
Returns the active of this company. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this company. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getHomeURL()
Returns the home u r l of this company. |
String |
getKey()
Returns the key of this company. |
Key |
getKeyObj()
|
long |
getLogoId()
Returns the logo ID of this company. |
int |
getMaxUsers()
Returns the max users of this company. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getMvccVersion()
Returns the mvcc version of this company. |
String |
getMx()
Returns the mx of this company. |
long |
getOriginalLogoId()
|
String |
getOriginalMx()
|
boolean |
getOriginalSystem()
|
String |
getOriginalWebId()
|
long |
getPrimaryKey()
Returns the primary key of this company. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
boolean |
getSystem()
Returns the system of this company. |
String |
getVirtualHostname()
|
String |
getWebId()
Returns the web ID of this company. |
int |
hashCode()
|
boolean |
isActive()
Returns true if this company is active. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isSystem()
Returns true if this company is system. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setAccountId(long accountId)
Sets the account ID of this company. |
void |
setActive(boolean active)
Sets whether this company is active. |
void |
setCompanyId(long companyId)
Sets the company ID of this company. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setHomeURL(String homeURL)
Sets the home u r l of this company. |
void |
setKey(String key)
Sets the key of this company. |
void |
setKeyObj(Key keyObj)
|
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this company. |
void |
setMx(String mx)
Sets the mx of this company. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this company. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setSystem(boolean system)
Sets whether this company is system. |
void |
setVirtualHostname(String virtualHostname)
|
void |
setWebId(String webId)
Sets the web ID of this company. |
CacheModel<Company> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Company |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static Company |
toModel(CompanySoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<Company> |
toModels(CompanySoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.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.model.CompanyModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public CompanyModelImpl()
| Method Detail |
|---|
public static Company toModel(CompanySoap soapModel)
soapModel - the soap model instance to convert
public static List<Company> toModels(CompanySoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
CompanyModel
getPrimaryKey in interface CompanyModelpublic void setPrimaryKey(long primaryKey)
CompanyModel
setPrimaryKey in interface CompanyModelprimaryKey - the primary key of this companypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Company>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface CompanyModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Company>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface CompanyModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Company>getModelAttributes in class BaseModelImpl<Company>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Company>setModelAttributes in class BaseModelImpl<Company>@JSON public long getMvccVersion()
CompanyModel
getMvccVersion in interface CompanyModelgetMvccVersion in interface MVCCModelpublic void setMvccVersion(long mvccVersion)
CompanyModel
setMvccVersion in interface CompanyModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this company@JSON public long getCompanyId()
CompanyModel
getCompanyId in interface CompanyModelpublic void setCompanyId(long companyId)
CompanyModel
setCompanyId in interface CompanyModelcompanyId - the company ID of this company@JSON public long getAccountId()
CompanyModel
getAccountId in interface CompanyModelpublic void setAccountId(long accountId)
CompanyModel
setAccountId in interface CompanyModelaccountId - the account ID of this company@JSON public String getWebId()
CompanyModel
getWebId in interface CompanyModelpublic void setWebId(String webId)
CompanyModel
setWebId in interface CompanyModelwebId - the web ID of this companypublic String getOriginalWebId()
@JSON public String getKey()
CompanyModel
getKey in interface CompanyModelpublic void setKey(String key)
CompanyModel
setKey in interface CompanyModelkey - the key of this company@JSON public String getMx()
CompanyModel
getMx in interface CompanyModelpublic void setMx(String mx)
CompanyModel
setMx in interface CompanyModelmx - the mx of this companypublic String getOriginalMx()
@JSON public String getHomeURL()
CompanyModel
getHomeURL in interface CompanyModelpublic void setHomeURL(String homeURL)
CompanyModel
setHomeURL in interface CompanyModelhomeURL - the home u r l of this company@JSON public long getLogoId()
CompanyModel
getLogoId in interface CompanyModelpublic void setLogoId(long logoId)
CompanyModel
setLogoId in interface CompanyModellogoId - the logo ID of this companypublic long getOriginalLogoId()
@JSON public boolean getSystem()
CompanyModel
getSystem in interface CompanyModelpublic boolean isSystem()
CompanyModeltrue if this company is system.
isSystem in interface CompanyModeltrue if this company is system; false otherwisepublic void setSystem(boolean system)
CompanyModel
setSystem in interface CompanyModelsystem - the system of this companypublic boolean getOriginalSystem()
@JSON public int getMaxUsers()
CompanyModel
getMaxUsers in interface CompanyModelpublic void setMaxUsers(int maxUsers)
CompanyModel
setMaxUsers in interface CompanyModelmaxUsers - the max users of this company@JSON public boolean getActive()
CompanyModel
getActive in interface CompanyModelpublic boolean isActive()
CompanyModeltrue if this company is active.
isActive in interface CompanyModeltrue if this company is active; false otherwisepublic void setActive(boolean active)
CompanyModel
setActive in interface CompanyModelactive - the active of this companypublic Key getKeyObj()
public void setKeyObj(Key keyObj)
public String getVirtualHostname()
public void setVirtualHostname(String virtualHostname)
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Company>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface CompanyModelgetExpandoBridge in class BaseModelImpl<Company>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Company>setExpandoBridgeAttributes in interface CompanyModelsetExpandoBridgeAttributes in class BaseModelImpl<Company>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public Company toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Company>toEscapedModel in interface CompanyModeltoEscapedModel in class BaseModelImpl<Company>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<Company>clone in interface CompanyModelclone in class BaseModelImpl<Company>public int compareTo(Company company)
compareTo in interface CompanyModelcompareTo in interface Comparable<Company>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface CompanyModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<Company>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<Company>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Company>resetOriginalValues in class BaseModelImpl<Company>public CacheModel<Company> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Company>toCacheModel in interface CompanyModeltoCacheModel in class BaseModelImpl<Company>public String toString()
toString in interface CompanyModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Company>toXmlString in interface CompanyModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||