|
Liferay 6.1.2-ce-ga3 | |||||||||
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) 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 FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
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 |
SESSION_FACTORY
|
static long |
SYSTEM_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
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()
|
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 |
getWebId()
Returns the web ID of this company. |
int |
hashCode()
|
boolean |
isActive()
Returns true if this company is active. |
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 |
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 |
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()
|
Company |
toUnescapedModel()
|
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, setNew |
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, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
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 long LOGOID_COLUMN_BITMASK
public static long MX_COLUMN_BITMASK
public static long SYSTEM_COLUMN_BITMASK
public static long WEBID_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 CompanyModel
public void setPrimaryKey(long primaryKey)
CompanyModel
setPrimaryKey
in interface CompanyModel
primaryKey
- the primary key of this companypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Company>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface CompanyModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Company>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface CompanyModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 getCompanyId()
CompanyModel
getCompanyId
in interface CompanyModel
public void setCompanyId(long companyId)
CompanyModel
setCompanyId
in interface CompanyModel
companyId
- the company ID of this company@JSON public long getAccountId()
CompanyModel
getAccountId
in interface CompanyModel
public void setAccountId(long accountId)
CompanyModel
setAccountId
in interface CompanyModel
accountId
- the account ID of this company@JSON public String getWebId()
CompanyModel
getWebId
in interface CompanyModel
public void setWebId(String webId)
CompanyModel
setWebId
in interface CompanyModel
webId
- the web ID of this companypublic String getOriginalWebId()
@JSON public String getKey()
CompanyModel
getKey
in interface CompanyModel
public void setKey(String key)
CompanyModel
setKey
in interface CompanyModel
key
- the key of this company@JSON public String getMx()
CompanyModel
getMx
in interface CompanyModel
public void setMx(String mx)
CompanyModel
setMx
in interface CompanyModel
mx
- the mx of this companypublic String getOriginalMx()
@JSON public String getHomeURL()
CompanyModel
getHomeURL
in interface CompanyModel
public void setHomeURL(String homeURL)
CompanyModel
setHomeURL
in interface CompanyModel
homeURL
- the home u r l of this company@JSON public long getLogoId()
CompanyModel
getLogoId
in interface CompanyModel
public void setLogoId(long logoId)
CompanyModel
setLogoId
in interface CompanyModel
logoId
- the logo ID of this companypublic long getOriginalLogoId()
@JSON public boolean getSystem()
CompanyModel
getSystem
in interface CompanyModel
public boolean isSystem()
CompanyModel
true
if this company is system.
isSystem
in interface CompanyModel
true
if this company is system; false
otherwisepublic void setSystem(boolean system)
CompanyModel
setSystem
in interface CompanyModel
system
- the system of this companypublic boolean getOriginalSystem()
@JSON public int getMaxUsers()
CompanyModel
getMaxUsers
in interface CompanyModel
public void setMaxUsers(int maxUsers)
CompanyModel
setMaxUsers
in interface CompanyModel
maxUsers
- the max users of this company@JSON public boolean getActive()
CompanyModel
getActive
in interface CompanyModel
public boolean isActive()
CompanyModel
true
if this company is active.
isActive
in interface CompanyModel
true
if this company is active; false
otherwisepublic void setActive(boolean active)
CompanyModel
setActive
in interface CompanyModel
active
- the active of this companypublic Key getKeyObj()
public void setKeyObj(Key keyObj)
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Company>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface CompanyModel
getExpandoBridge
in class BaseModelImpl<Company>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Company>
setExpandoBridgeAttributes
in interface CompanyModel
setExpandoBridgeAttributes
in class BaseModelImpl<Company>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Company toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Company>
toEscapedModel
in interface CompanyModel
toEscapedModel
in class BaseModelImpl<Company>
AutoEscapeBeanHandler
public Company toUnescapedModel()
toUnescapedModel
in interface BaseModel<Company>
toUnescapedModel
in interface CompanyModel
toUnescapedModel
in class BaseModelImpl<Company>
public Object clone()
BaseModel
clone
in interface BaseModel<Company>
clone
in interface CompanyModel
clone
in class BaseModelImpl<Company>
public int compareTo(Company company)
compareTo
in interface CompanyModel
compareTo
in interface Comparable<Company>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface CompanyModel
hashCode
in class Object
public 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 CompanyModel
toCacheModel
in class BaseModelImpl<Company>
public String toString()
toString
in interface CompanyModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Company>
toXmlString
in interface CompanyModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |