com.liferay.portal.model.impl
Class LayoutBranchModelImpl
java.lang.Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutBranch>
com.liferay.portal.model.impl.LayoutBranchModelImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutBranch>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.LayoutBranchModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.LayoutBranch>
- Direct Known Subclasses:
- LayoutBranchBaseImpl
@JSON(strict=true)
@ProviderType
public class LayoutBranchModelImpl
- extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutBranch>
- implements com.liferay.portal.kernel.model.LayoutBranchModel
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.
- See Also:
LayoutBranchImpl,
LayoutBranch,
LayoutBranchModel,
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.LayoutBranchModel |
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
LAYOUTSETBRANCHID_COLUMN_BITMASK
public static final long LAYOUTSETBRANCHID_COLUMN_BITMASK
- See Also:
- Constant Field Values
MASTER_COLUMN_BITMASK
public static final long MASTER_COLUMN_BITMASK
- See Also:
- Constant Field Values
NAME_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
- See Also:
- Constant Field Values
PLID_COLUMN_BITMASK
public static final long PLID_COLUMN_BITMASK
- See Also:
- Constant Field Values
LAYOUTBRANCHID_COLUMN_BITMASK
public static final long LAYOUTBRANCHID_COLUMN_BITMASK
- See Also:
- Constant Field Values
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
LayoutBranchModelImpl
public LayoutBranchModelImpl()
toModel
public static com.liferay.portal.kernel.model.LayoutBranch toModel(com.liferay.portal.kernel.model.LayoutBranchSoap 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.LayoutBranch> toModels(com.liferay.portal.kernel.model.LayoutBranchSoap[] 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.LayoutBranchModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portal.kernel.model.LayoutBranchModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutBranch>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.LayoutBranchModel
setPrimaryKeyObj
public void setPrimaryKeyObj(Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutBranch>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.LayoutBranchModel
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.LayoutBranch>- Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutBranch>
setModelAttributes
public void setModelAttributes(Map<String,Object> attributes)
- Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutBranch>- Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutBranch>
getMvccVersion
@JSON
public long getMvccVersion()
- Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.LayoutBranchModel- 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.LayoutBranchModel- Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
getLayoutBranchId
@JSON
public long getLayoutBranchId()
- Specified by:
getLayoutBranchId in interface com.liferay.portal.kernel.model.LayoutBranchModel
setLayoutBranchId
public void setLayoutBranchId(long layoutBranchId)
- Specified by:
setLayoutBranchId in interface com.liferay.portal.kernel.model.LayoutBranchModel
getGroupId
@JSON
public long getGroupId()
- Specified by:
getGroupId in interface com.liferay.portal.kernel.model.LayoutBranchModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId in interface com.liferay.portal.kernel.model.LayoutBranchModel
getCompanyId
@JSON
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.LayoutBranchModel- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.LayoutBranchModel- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
getUserId
@JSON
public long getUserId()
- Specified by:
getUserId in interface com.liferay.portal.kernel.model.LayoutBranchModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface com.liferay.portal.kernel.model.LayoutBranchModel
getUserUuid
public String getUserUuid()
- Specified by:
getUserUuid in interface com.liferay.portal.kernel.model.LayoutBranchModel
setUserUuid
public void setUserUuid(String userUuid)
- Specified by:
setUserUuid in interface com.liferay.portal.kernel.model.LayoutBranchModel
getUserName
@JSON
public String getUserName()
- Specified by:
getUserName in interface com.liferay.portal.kernel.model.LayoutBranchModel
setUserName
public void setUserName(String userName)
- Specified by:
setUserName in interface com.liferay.portal.kernel.model.LayoutBranchModel
getLayoutSetBranchId
@JSON
public long getLayoutSetBranchId()
- Specified by:
getLayoutSetBranchId in interface com.liferay.portal.kernel.model.LayoutBranchModel
setLayoutSetBranchId
public void setLayoutSetBranchId(long layoutSetBranchId)
- Specified by:
setLayoutSetBranchId in interface com.liferay.portal.kernel.model.LayoutBranchModel
getOriginalLayoutSetBranchId
public long getOriginalLayoutSetBranchId()
getPlid
@JSON
public long getPlid()
- Specified by:
getPlid in interface com.liferay.portal.kernel.model.LayoutBranchModel
setPlid
public void setPlid(long plid)
- Specified by:
setPlid in interface com.liferay.portal.kernel.model.LayoutBranchModel
getOriginalPlid
public long getOriginalPlid()
getName
@JSON
public String getName()
- Specified by:
getName in interface com.liferay.portal.kernel.model.LayoutBranchModel
setName
public void setName(String name)
- Specified by:
setName in interface com.liferay.portal.kernel.model.LayoutBranchModel
getOriginalName
public String getOriginalName()
getDescription
@JSON
public String getDescription()
- Specified by:
getDescription in interface com.liferay.portal.kernel.model.LayoutBranchModel
setDescription
public void setDescription(String description)
- Specified by:
setDescription in interface com.liferay.portal.kernel.model.LayoutBranchModel
getMaster
@JSON
public boolean getMaster()
- Specified by:
getMaster in interface com.liferay.portal.kernel.model.LayoutBranchModel
isMaster
public boolean isMaster()
- Specified by:
isMaster in interface com.liferay.portal.kernel.model.LayoutBranchModel
setMaster
public void setMaster(boolean master)
- Specified by:
setMaster in interface com.liferay.portal.kernel.model.LayoutBranchModel
getOriginalMaster
public boolean getOriginalMaster()
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.LayoutBranch>- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.LayoutBranchModel- Overrides:
getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutBranch>
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.LayoutBranch>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.LayoutBranchModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutBranch>
toEscapedModel
public com.liferay.portal.kernel.model.LayoutBranch toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutBranch>- Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.LayoutBranchModel- Overrides:
toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutBranch>
clone
public Object clone()
- Specified by:
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutBranch>- Specified by:
clone in interface com.liferay.portal.kernel.model.LayoutBranchModel- Specified by:
clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutBranch>
compareTo
public int compareTo(com.liferay.portal.kernel.model.LayoutBranch layoutBranch)
- Specified by:
compareTo in interface com.liferay.portal.kernel.model.LayoutBranchModel- Specified by:
compareTo in interface Comparable<com.liferay.portal.kernel.model.LayoutBranch>
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.LayoutBranchModel- 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.LayoutBranch>
isFinderCacheEnabled
public boolean isFinderCacheEnabled()
- Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutBranch>
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutBranch>- Overrides:
resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutBranch>
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.LayoutBranch> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutBranch>- Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.LayoutBranchModel- Overrides:
toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutBranch>
toString
public String toString()
- Specified by:
toString in interface com.liferay.portal.kernel.model.LayoutBranchModel- 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.LayoutBranch>- Specified by:
toXmlString in interface com.liferay.portal.kernel.model.LayoutBranchModel