Liferay 7.0-ce-b4

com.liferay.portal.model.impl
Class RecentLayoutSetBranchModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<RecentLayoutSetBranch>
      extended by com.liferay.portal.model.impl.RecentLayoutSetBranchModelImpl
All Implemented Interfaces:
BaseModel<RecentLayoutSetBranch>, ClassedModel, MVCCModel, RecentLayoutSetBranchModel, ShardedModel, Serializable, Cloneable, Comparable<RecentLayoutSetBranch>
Direct Known Subclasses:
RecentLayoutSetBranchBaseImpl

@ProviderType
public class RecentLayoutSetBranchModelImpl
extends BaseModelImpl<RecentLayoutSetBranch>
implements RecentLayoutSetBranchModel

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

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

See Also:
RecentLayoutSetBranchImpl, RecentLayoutSetBranch, RecentLayoutSetBranchModel, 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 LAYOUTSETBRANCHID_COLUMN_BITMASK
           
static long LAYOUTSETID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long RECENTLAYOUTSETBRANCHID_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
RecentLayoutSetBranchModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(RecentLayoutSetBranch recentLayoutSetBranch)
           
 boolean equals(Object obj)
           
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this recent layout set branch.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this recent layout set branch.
 long getLayoutSetBranchId()
          Returns the layout set branch ID of this recent layout set branch.
 long getLayoutSetId()
          Returns the layout set ID of this recent layout set branch.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 long getMvccVersion()
          Returns the mvcc version of this recent layout set branch.
 long getOriginalGroupId()
           
 long getOriginalLayoutSetBranchId()
           
 long getOriginalLayoutSetId()
           
 long getOriginalUserId()
           
 long getPrimaryKey()
          Returns the primary key of this recent layout set branch.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getRecentLayoutSetBranchId()
          Returns the recent layout set branch ID of this recent layout set branch.
 long getUserId()
          Returns the user ID of this recent layout set branch.
 String getUserUuid()
          Returns the user uuid of this recent layout set 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 set 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 set branch.
 void setLayoutSetBranchId(long layoutSetBranchId)
          Sets the layout set branch ID of this recent layout set branch.
 void setLayoutSetId(long layoutSetId)
          Sets the layout set ID of this recent layout set branch.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setMvccVersion(long mvccVersion)
          Sets the mvcc version of this recent layout set branch.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this recent layout set branch.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setRecentLayoutSetBranchId(long recentLayoutSetBranchId)
          Sets the recent layout set branch ID of this recent layout set branch.
 void setUserId(long userId)
          Sets the user ID of this recent layout set branch.
 void setUserUuid(String userUuid)
          Sets the user uuid of this recent layout set branch.
 CacheModel<RecentLayoutSetBranch> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 RecentLayoutSetBranch 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.RecentLayoutSetBranchModel
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

LAYOUTSETBRANCHID_COLUMN_BITMASK

public static final long LAYOUTSETBRANCHID_COLUMN_BITMASK
See Also:
Constant Field Values

LAYOUTSETID_COLUMN_BITMASK

public static final long LAYOUTSETID_COLUMN_BITMASK
See Also:
Constant Field Values

USERID_COLUMN_BITMASK

public static final long USERID_COLUMN_BITMASK
See Also:
Constant Field Values

RECENTLAYOUTSETBRANCHID_COLUMN_BITMASK

public static final long RECENTLAYOUTSETBRANCHID_COLUMN_BITMASK
See Also:
Constant Field Values

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

RecentLayoutSetBranchModelImpl

public RecentLayoutSetBranchModelImpl()
Method Detail

getPrimaryKey

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

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

setPrimaryKey

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

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

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<RecentLayoutSetBranch>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface RecentLayoutSetBranchModel
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<RecentLayoutSetBranch>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface RecentLayoutSetBranchModel
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<RecentLayoutSetBranch>
Overrides:
getModelAttributes in class BaseModelImpl<RecentLayoutSetBranch>

setModelAttributes

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

getMvccVersion

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

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

setMvccVersion

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

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

getRecentLayoutSetBranchId

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

Specified by:
getRecentLayoutSetBranchId in interface RecentLayoutSetBranchModel
Returns:
the recent layout set branch ID of this recent layout set branch

setRecentLayoutSetBranchId

public void setRecentLayoutSetBranchId(long recentLayoutSetBranchId)
Description copied from interface: RecentLayoutSetBranchModel
Sets the recent layout set branch ID of this recent layout set branch.

Specified by:
setRecentLayoutSetBranchId in interface RecentLayoutSetBranchModel
Parameters:
recentLayoutSetBranchId - the recent layout set branch ID of this recent layout set branch

getGroupId

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

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

setGroupId

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

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

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

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

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

setCompanyId

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

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

getUserId

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

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

setUserId

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

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

getUserUuid

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

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

setUserUuid

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

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

getOriginalUserId

public long getOriginalUserId()

getLayoutSetBranchId

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

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

setLayoutSetBranchId

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

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

getOriginalLayoutSetBranchId

public long getOriginalLayoutSetBranchId()

getLayoutSetId

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

Specified by:
getLayoutSetId in interface RecentLayoutSetBranchModel
Returns:
the layout set ID of this recent layout set branch

setLayoutSetId

public void setLayoutSetId(long layoutSetId)
Description copied from interface: RecentLayoutSetBranchModel
Sets the layout set ID of this recent layout set branch.

Specified by:
setLayoutSetId in interface RecentLayoutSetBranchModel
Parameters:
layoutSetId - the layout set ID of this recent layout set branch

getOriginalLayoutSetId

public long getOriginalLayoutSetId()

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<RecentLayoutSetBranch>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface RecentLayoutSetBranchModel
Overrides:
getExpandoBridge in class BaseModelImpl<RecentLayoutSetBranch>
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<RecentLayoutSetBranch>
Specified by:
setExpandoBridgeAttributes in interface RecentLayoutSetBranchModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<RecentLayoutSetBranch>
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes()

toEscapedModel

public RecentLayoutSetBranch 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<RecentLayoutSetBranch>
Specified by:
toEscapedModel in interface RecentLayoutSetBranchModel
Overrides:
toEscapedModel in class BaseModelImpl<RecentLayoutSetBranch>
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<RecentLayoutSetBranch>
Specified by:
clone in interface RecentLayoutSetBranchModel
Specified by:
clone in class BaseModelImpl<RecentLayoutSetBranch>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(RecentLayoutSetBranch recentLayoutSetBranch)
Specified by:
compareTo in interface RecentLayoutSetBranchModel
Specified by:
compareTo in interface Comparable<RecentLayoutSetBranch>

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface RecentLayoutSetBranchModel
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<RecentLayoutSetBranch>
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<RecentLayoutSetBranch>
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<RecentLayoutSetBranch>
Overrides:
resetOriginalValues in class BaseModelImpl<RecentLayoutSetBranch>

toCacheModel

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

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

toString

public String toString()
Specified by:
toString in interface RecentLayoutSetBranchModel
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<RecentLayoutSetBranch>
Specified by:
toXmlString in interface RecentLayoutSetBranchModel
Returns:
the XML representation of this model instance

Liferay 7.0-ce-b4