Liferay 7.0-ce-b4

com.liferay.portal.model.impl
Class RecentLayoutBranchModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<RecentLayoutBranch>
      extended by com.liferay.portal.model.impl.RecentLayoutBranchModelImpl
All Implemented Interfaces:
BaseModel<RecentLayoutBranch>, ClassedModel, MVCCModel, RecentLayoutBranchModel, ShardedModel, Serializable, Cloneable, Comparable<RecentLayoutBranch>
Direct Known Subclasses:
RecentLayoutBranchBaseImpl

@ProviderType
public class RecentLayoutBranchModelImpl
extends BaseModelImpl<RecentLayoutBranch>
implements RecentLayoutBranchModel

The base model implementation for the RecentLayoutBranch service. Represents a row in the "RecentLayoutBranch" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface RecentLayoutBranchModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in RecentLayoutBranchImpl.

See Also:
RecentLayoutBranchImpl, RecentLayoutBranch, RecentLayoutBranchModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long GROUPID_COLUMN_BITMASK
           
static long LAYOUTBRANCHID_COLUMN_BITMASK
           
static long LAYOUTSETBRANCHID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long PLID_COLUMN_BITMASK
           
static long RECENTLAYOUTBRANCHID_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
           
static long USERID_COLUMN_BITMASK
           
 
Constructor Summary
RecentLayoutBranchModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(RecentLayoutBranch recentLayoutBranch)
           
 boolean equals(Object obj)
           
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this recent layout branch.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this recent layout branch.
 long getLayoutBranchId()
          Returns the layout branch ID of this recent layout branch.
 long getLayoutSetBranchId()
          Returns the layout set branch ID of this recent layout branch.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 long getMvccVersion()
          Returns the mvcc version of this recent layout branch.
 long getOriginalGroupId()
           
 long getOriginalLayoutBranchId()
           
 long getOriginalLayoutSetBranchId()
           
 long getOriginalPlid()
           
 long getOriginalUserId()
           
 long getPlid()
          Returns the plid of this recent layout branch.
 long getPrimaryKey()
          Returns the primary key of this recent layout branch.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getRecentLayoutBranchId()
          Returns the recent layout branch ID of this recent layout branch.
 long getUserId()
          Returns the user ID of this recent layout branch.
 String getUserUuid()
          Returns the user uuid of this recent 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.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setCompanyId(long companyId)
          Sets the company ID of this recent 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 recent layout branch.
 void setLayoutBranchId(long layoutBranchId)
          Sets the layout branch ID of this recent layout branch.
 void setLayoutSetBranchId(long layoutSetBranchId)
          Sets the layout set branch ID of this recent layout branch.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setMvccVersion(long mvccVersion)
          Sets the mvcc version of this recent layout branch.
 void setPlid(long plid)
          Sets the plid of this recent layout branch.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this recent layout branch.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setRecentLayoutBranchId(long recentLayoutBranchId)
          Sets the recent layout branch ID of this recent layout branch.
 void setUserId(long userId)
          Sets the user ID of this recent layout branch.
 void setUserUuid(String userUuid)
          Sets the user uuid of this recent layout branch.
 CacheModel<RecentLayoutBranch> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 RecentLayoutBranch toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 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.RecentLayoutBranchModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

Field Detail

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

GROUPID_COLUMN_BITMASK

public static final long GROUPID_COLUMN_BITMASK
See Also:
Constant Field Values

LAYOUTBRANCHID_COLUMN_BITMASK

public static final long LAYOUTBRANCHID_COLUMN_BITMASK
See Also:
Constant Field Values

LAYOUTSETBRANCHID_COLUMN_BITMASK

public static final long LAYOUTSETBRANCHID_COLUMN_BITMASK
See Also:
Constant Field Values

PLID_COLUMN_BITMASK

public static final long PLID_COLUMN_BITMASK
See Also:
Constant Field Values

USERID_COLUMN_BITMASK

public static final long USERID_COLUMN_BITMASK
See Also:
Constant Field Values

RECENTLAYOUTBRANCHID_COLUMN_BITMASK

public static final long RECENTLAYOUTBRANCHID_COLUMN_BITMASK
See Also:
Constant Field Values

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

RecentLayoutBranchModelImpl

public RecentLayoutBranchModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: RecentLayoutBranchModel
Returns the primary key of this recent layout branch.

Specified by:
getPrimaryKey in interface RecentLayoutBranchModel
Returns:
the primary key of this recent layout branch

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: RecentLayoutBranchModel
Sets the primary key of this recent layout branch.

Specified by:
setPrimaryKey in interface RecentLayoutBranchModel
Parameters:
primaryKey - the primary key of this recent layout branch

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<RecentLayoutBranch>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface RecentLayoutBranchModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<RecentLayoutBranch>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface RecentLayoutBranchModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<RecentLayoutBranch>
Overrides:
getModelAttributes in class BaseModelImpl<RecentLayoutBranch>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<RecentLayoutBranch>
Overrides:
setModelAttributes in class BaseModelImpl<RecentLayoutBranch>

getMvccVersion

public long getMvccVersion()
Description copied from interface: RecentLayoutBranchModel
Returns the mvcc version of this recent layout branch.

Specified by:
getMvccVersion in interface MVCCModel
Specified by:
getMvccVersion in interface RecentLayoutBranchModel
Returns:
the mvcc version of this recent layout branch

setMvccVersion

public void setMvccVersion(long mvccVersion)
Description copied from interface: RecentLayoutBranchModel
Sets the mvcc version of this recent layout branch.

Specified by:
setMvccVersion in interface MVCCModel
Specified by:
setMvccVersion in interface RecentLayoutBranchModel
Parameters:
mvccVersion - the mvcc version of this recent layout branch

getRecentLayoutBranchId

public long getRecentLayoutBranchId()
Description copied from interface: RecentLayoutBranchModel
Returns the recent layout branch ID of this recent layout branch.

Specified by:
getRecentLayoutBranchId in interface RecentLayoutBranchModel
Returns:
the recent layout branch ID of this recent layout branch

setRecentLayoutBranchId

public void setRecentLayoutBranchId(long recentLayoutBranchId)
Description copied from interface: RecentLayoutBranchModel
Sets the recent layout branch ID of this recent layout branch.

Specified by:
setRecentLayoutBranchId in interface RecentLayoutBranchModel
Parameters:
recentLayoutBranchId - the recent layout branch ID of this recent layout branch

getGroupId

public long getGroupId()
Description copied from interface: RecentLayoutBranchModel
Returns the group ID of this recent layout branch.

Specified by:
getGroupId in interface RecentLayoutBranchModel
Returns:
the group ID of this recent layout branch

setGroupId

public void setGroupId(long groupId)
Description copied from interface: RecentLayoutBranchModel
Sets the group ID of this recent layout branch.

Specified by:
setGroupId in interface RecentLayoutBranchModel
Parameters:
groupId - the group ID of this recent layout branch

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Description copied from interface: RecentLayoutBranchModel
Returns the company ID of this recent layout branch.

Specified by:
getCompanyId in interface RecentLayoutBranchModel
Specified by:
getCompanyId in interface ShardedModel
Returns:
the company ID of this recent layout branch

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: RecentLayoutBranchModel
Sets the company ID of this recent layout branch.

Specified by:
setCompanyId in interface RecentLayoutBranchModel
Specified by:
setCompanyId in interface ShardedModel
Parameters:
companyId - the company ID of this recent layout branch

getUserId

public long getUserId()
Description copied from interface: RecentLayoutBranchModel
Returns the user ID of this recent layout branch.

Specified by:
getUserId in interface RecentLayoutBranchModel
Returns:
the user ID of this recent layout branch

setUserId

public void setUserId(long userId)
Description copied from interface: RecentLayoutBranchModel
Sets the user ID of this recent layout branch.

Specified by:
setUserId in interface RecentLayoutBranchModel
Parameters:
userId - the user ID of this recent layout branch

getUserUuid

public String getUserUuid()
Description copied from interface: RecentLayoutBranchModel
Returns the user uuid of this recent layout branch.

Specified by:
getUserUuid in interface RecentLayoutBranchModel
Returns:
the user uuid of this recent layout branch

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: RecentLayoutBranchModel
Sets the user uuid of this recent layout branch.

Specified by:
setUserUuid in interface RecentLayoutBranchModel
Parameters:
userUuid - the user uuid of this recent layout branch

getOriginalUserId

public long getOriginalUserId()

getLayoutBranchId

public long getLayoutBranchId()
Description copied from interface: RecentLayoutBranchModel
Returns the layout branch ID of this recent layout branch.

Specified by:
getLayoutBranchId in interface RecentLayoutBranchModel
Returns:
the layout branch ID of this recent layout branch

setLayoutBranchId

public void setLayoutBranchId(long layoutBranchId)
Description copied from interface: RecentLayoutBranchModel
Sets the layout branch ID of this recent layout branch.

Specified by:
setLayoutBranchId in interface RecentLayoutBranchModel
Parameters:
layoutBranchId - the layout branch ID of this recent layout branch

getOriginalLayoutBranchId

public long getOriginalLayoutBranchId()

getLayoutSetBranchId

public long getLayoutSetBranchId()
Description copied from interface: RecentLayoutBranchModel
Returns the layout set branch ID of this recent layout branch.

Specified by:
getLayoutSetBranchId in interface RecentLayoutBranchModel
Returns:
the layout set branch ID of this recent layout branch

setLayoutSetBranchId

public void setLayoutSetBranchId(long layoutSetBranchId)
Description copied from interface: RecentLayoutBranchModel
Sets the layout set branch ID of this recent layout branch.

Specified by:
setLayoutSetBranchId in interface RecentLayoutBranchModel
Parameters:
layoutSetBranchId - the layout set branch ID of this recent layout branch

getOriginalLayoutSetBranchId

public long getOriginalLayoutSetBranchId()

getPlid

public long getPlid()
Description copied from interface: RecentLayoutBranchModel
Returns the plid of this recent layout branch.

Specified by:
getPlid in interface RecentLayoutBranchModel
Returns:
the plid of this recent layout branch

setPlid

public void setPlid(long plid)
Description copied from interface: RecentLayoutBranchModel
Sets the plid of this recent layout branch.

Specified by:
setPlid in interface RecentLayoutBranchModel
Parameters:
plid - the plid of this recent layout branch

getOriginalPlid

public long getOriginalPlid()

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<RecentLayoutBranch>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface RecentLayoutBranchModel
Overrides:
getExpandoBridge in class BaseModelImpl<RecentLayoutBranch>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<RecentLayoutBranch>
Specified by:
setExpandoBridgeAttributes in interface RecentLayoutBranchModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<RecentLayoutBranch>
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes()

toEscapedModel

public RecentLayoutBranch toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<RecentLayoutBranch>
Specified by:
toEscapedModel in interface RecentLayoutBranchModel
Overrides:
toEscapedModel in class BaseModelImpl<RecentLayoutBranch>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<RecentLayoutBranch>
Specified by:
clone in interface RecentLayoutBranchModel
Specified by:
clone in class BaseModelImpl<RecentLayoutBranch>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(RecentLayoutBranch recentLayoutBranch)
Specified by:
compareTo in interface RecentLayoutBranchModel
Specified by:
compareTo in interface Comparable<RecentLayoutBranch>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface RecentLayoutBranchModel
Overrides:
hashCode in class Object

isEntityCacheEnabled

public boolean isEntityCacheEnabled()
Description copied from interface: BaseModel
Returns true if this model's entity cache is enabled.

Specified by:
isEntityCacheEnabled in interface BaseModel<RecentLayoutBranch>
Returns:
true if this model's entity cache is enabled; false otherwise

isFinderCacheEnabled

public boolean isFinderCacheEnabled()
Description copied from interface: BaseModel
Returns true if this model's finder cache is enabled.

Specified by:
isFinderCacheEnabled in interface BaseModel<RecentLayoutBranch>
Returns:
true if this model's finder cache is enabled; false otherwise

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<RecentLayoutBranch>
Overrides:
resetOriginalValues in class BaseModelImpl<RecentLayoutBranch>

toCacheModel

public CacheModel<RecentLayoutBranch> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<RecentLayoutBranch>
Specified by:
toCacheModel in interface RecentLayoutBranchModel
Overrides:
toCacheModel in class BaseModelImpl<RecentLayoutBranch>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface RecentLayoutBranchModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<RecentLayoutBranch>
Specified by:
toXmlString in interface RecentLayoutBranchModel
Returns:
the XML representation of this model instance

Liferay 7.0-ce-b4