|
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<LayoutBranch>
com.liferay.portal.model.impl.LayoutBranchModelImpl
@JSON(strict=true) @ProviderType public class LayoutBranchModelImpl
The base model implementation for the LayoutBranch service. Represents a row in the "LayoutBranch" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface LayoutBranchModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LayoutBranchImpl.
LayoutBranchImpl,
LayoutBranch,
LayoutBranchModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LAYOUTBRANCHID_COLUMN_BITMASK
|
static long |
LAYOUTSETBRANCHID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
MASTER_COLUMN_BITMASK
|
static long |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PLID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
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
|
| Constructor Summary | |
|---|---|
LayoutBranchModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(LayoutBranch layoutBranch)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this layout branch. |
String |
getDescription()
Returns the description of this layout branch. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this layout branch. |
long |
getLayoutBranchId()
Returns the layout branch ID of this layout branch. |
long |
getLayoutSetBranchId()
Returns the layout set branch ID of this layout branch. |
boolean |
getMaster()
Returns the master of this layout branch. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getMvccVersion()
Returns the mvcc version of this layout branch. |
String |
getName()
Returns the name of this layout branch. |
long |
getOriginalLayoutSetBranchId()
|
boolean |
getOriginalMaster()
|
String |
getOriginalName()
|
long |
getOriginalPlid()
|
long |
getPlid()
Returns the plid of this layout branch. |
long |
getPrimaryKey()
Returns the primary key of this layout branch. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getUserId()
Returns the user ID of this layout branch. |
String |
getUserName()
Returns the user name of this layout branch. |
String |
getUserUuid()
Returns the user uuid of this layout branch. |
int |
hashCode()
|
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 |
isMaster()
Returns true if this layout branch is master. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCompanyId(long companyId)
Sets the company ID of this layout branch. |
void |
setDescription(String description)
Sets the description of this layout branch. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this layout branch. |
void |
setLayoutBranchId(long layoutBranchId)
Sets the layout branch ID of this layout branch. |
void |
setLayoutSetBranchId(long layoutSetBranchId)
Sets the layout set branch ID of this layout branch. |
void |
setMaster(boolean master)
Sets whether this layout branch is master. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this layout branch. |
void |
setName(String name)
Sets the name of this layout branch. |
void |
setPlid(long plid)
Sets the plid of this layout branch. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this layout branch. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setUserId(long userId)
Sets the user ID of this layout branch. |
void |
setUserName(String userName)
Sets the user name of this layout branch. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this layout branch. |
CacheModel<LayoutBranch> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
LayoutBranch |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static LayoutBranch |
toModel(LayoutBranchSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<LayoutBranch> |
toModels(LayoutBranchSoap[] 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.LayoutBranchModel |
|---|
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 LAYOUTSETBRANCHID_COLUMN_BITMASK
public static final long MASTER_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long PLID_COLUMN_BITMASK
public static final long LAYOUTBRANCHID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public LayoutBranchModelImpl()
| Method Detail |
|---|
public static LayoutBranch toModel(LayoutBranchSoap soapModel)
soapModel - the soap model instance to convert
public static List<LayoutBranch> toModels(LayoutBranchSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
LayoutBranchModel
getPrimaryKey in interface LayoutBranchModelpublic void setPrimaryKey(long primaryKey)
LayoutBranchModel
setPrimaryKey in interface LayoutBranchModelprimaryKey - the primary key of this layout branchpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<LayoutBranch>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface LayoutBranchModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<LayoutBranch>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface LayoutBranchModelprimaryKeyObj - 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<LayoutBranch>getModelAttributes in class BaseModelImpl<LayoutBranch>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<LayoutBranch>setModelAttributes in class BaseModelImpl<LayoutBranch>@JSON public long getMvccVersion()
LayoutBranchModel
getMvccVersion in interface LayoutBranchModelgetMvccVersion in interface MVCCModelpublic void setMvccVersion(long mvccVersion)
LayoutBranchModel
setMvccVersion in interface LayoutBranchModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this layout branch@JSON public long getLayoutBranchId()
LayoutBranchModel
getLayoutBranchId in interface LayoutBranchModelpublic void setLayoutBranchId(long layoutBranchId)
LayoutBranchModel
setLayoutBranchId in interface LayoutBranchModellayoutBranchId - the layout branch ID of this layout branch@JSON public long getGroupId()
LayoutBranchModel
getGroupId in interface LayoutBranchModelpublic void setGroupId(long groupId)
LayoutBranchModel
setGroupId in interface LayoutBranchModelgroupId - the group ID of this layout branch@JSON public long getCompanyId()
LayoutBranchModel
getCompanyId in interface LayoutBranchModelgetCompanyId in interface ShardedModelpublic void setCompanyId(long companyId)
LayoutBranchModel
setCompanyId in interface LayoutBranchModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this layout branch@JSON public long getUserId()
LayoutBranchModel
getUserId in interface LayoutBranchModelpublic void setUserId(long userId)
LayoutBranchModel
setUserId in interface LayoutBranchModeluserId - the user ID of this layout branchpublic String getUserUuid()
LayoutBranchModel
getUserUuid in interface LayoutBranchModelpublic void setUserUuid(String userUuid)
LayoutBranchModel
setUserUuid in interface LayoutBranchModeluserUuid - the user uuid of this layout branch@JSON public String getUserName()
LayoutBranchModel
getUserName in interface LayoutBranchModelpublic void setUserName(String userName)
LayoutBranchModel
setUserName in interface LayoutBranchModeluserName - the user name of this layout branch@JSON public long getLayoutSetBranchId()
LayoutBranchModel
getLayoutSetBranchId in interface LayoutBranchModelpublic void setLayoutSetBranchId(long layoutSetBranchId)
LayoutBranchModel
setLayoutSetBranchId in interface LayoutBranchModellayoutSetBranchId - the layout set branch ID of this layout branchpublic long getOriginalLayoutSetBranchId()
@JSON public long getPlid()
LayoutBranchModel
getPlid in interface LayoutBranchModelpublic void setPlid(long plid)
LayoutBranchModel
setPlid in interface LayoutBranchModelplid - the plid of this layout branchpublic long getOriginalPlid()
@JSON public String getName()
LayoutBranchModel
getName in interface LayoutBranchModelpublic void setName(String name)
LayoutBranchModel
setName in interface LayoutBranchModelname - the name of this layout branchpublic String getOriginalName()
@JSON public String getDescription()
LayoutBranchModel
getDescription in interface LayoutBranchModelpublic void setDescription(String description)
LayoutBranchModel
setDescription in interface LayoutBranchModeldescription - the description of this layout branch@JSON public boolean getMaster()
LayoutBranchModel
getMaster in interface LayoutBranchModelpublic boolean isMaster()
LayoutBranchModeltrue if this layout branch is master.
isMaster in interface LayoutBranchModeltrue if this layout branch is master; false otherwisepublic void setMaster(boolean master)
LayoutBranchModel
setMaster in interface LayoutBranchModelmaster - the master of this layout branchpublic boolean getOriginalMaster()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<LayoutBranch>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface LayoutBranchModelgetExpandoBridge in class BaseModelImpl<LayoutBranch>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<LayoutBranch>setExpandoBridgeAttributes in interface LayoutBranchModelsetExpandoBridgeAttributes in class BaseModelImpl<LayoutBranch>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public LayoutBranch toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<LayoutBranch>toEscapedModel in interface LayoutBranchModeltoEscapedModel in class BaseModelImpl<LayoutBranch>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<LayoutBranch>clone in interface LayoutBranchModelclone in class BaseModelImpl<LayoutBranch>public int compareTo(LayoutBranch layoutBranch)
compareTo in interface LayoutBranchModelcompareTo in interface Comparable<LayoutBranch>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface LayoutBranchModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<LayoutBranch>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<LayoutBranch>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<LayoutBranch>resetOriginalValues in class BaseModelImpl<LayoutBranch>public CacheModel<LayoutBranch> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<LayoutBranch>toCacheModel in interface LayoutBranchModeltoCacheModel in class BaseModelImpl<LayoutBranch>public String toString()
toString in interface LayoutBranchModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<LayoutBranch>toXmlString in interface LayoutBranchModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||