Liferay 7.0-ce-b4

com.liferay.portal.model.impl
Class RecentLayoutRevisionModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<RecentLayoutRevision>
      extended by com.liferay.portal.model.impl.RecentLayoutRevisionModelImpl
All Implemented Interfaces:
BaseModel<RecentLayoutRevision>, ClassedModel, MVCCModel, RecentLayoutRevisionModel, ShardedModel, Serializable, Cloneable, Comparable<RecentLayoutRevision>
Direct Known Subclasses:
RecentLayoutRevisionBaseImpl

@ProviderType
public class RecentLayoutRevisionModelImpl
extends BaseModelImpl<RecentLayoutRevision>
implements RecentLayoutRevisionModel

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

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

See Also:
RecentLayoutRevisionImpl, RecentLayoutRevision, RecentLayoutRevisionModel, 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 LAYOUTREVISIONID_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 RECENTLAYOUTREVISIONID_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
RecentLayoutRevisionModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(RecentLayoutRevision recentLayoutRevision)
           
 boolean equals(Object obj)
           
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this recent layout revision.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this recent layout revision.
 long getLayoutRevisionId()
          Returns the layout revision ID of this recent layout revision.
 long getLayoutSetBranchId()
          Returns the layout set branch ID of this recent layout revision.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 long getMvccVersion()
          Returns the mvcc version of this recent layout revision.
 long getOriginalGroupId()
           
 long getOriginalLayoutRevisionId()
           
 long getOriginalLayoutSetBranchId()
           
 long getOriginalPlid()
           
 long getOriginalUserId()
           
 long getPlid()
          Returns the plid of this recent layout revision.
 long getPrimaryKey()
          Returns the primary key of this recent layout revision.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getRecentLayoutRevisionId()
          Returns the recent layout revision ID of this recent layout revision.
 long getUserId()
          Returns the user ID of this recent layout revision.
 String getUserUuid()
          Returns the user uuid of this recent layout revision.
 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 revision.
 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 revision.
 void setLayoutRevisionId(long layoutRevisionId)
          Sets the layout revision ID of this recent layout revision.
 void setLayoutSetBranchId(long layoutSetBranchId)
          Sets the layout set branch ID of this recent layout revision.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setMvccVersion(long mvccVersion)
          Sets the mvcc version of this recent layout revision.
 void setPlid(long plid)
          Sets the plid of this recent layout revision.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this recent layout revision.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setRecentLayoutRevisionId(long recentLayoutRevisionId)
          Sets the recent layout revision ID of this recent layout revision.
 void setUserId(long userId)
          Sets the user ID of this recent layout revision.
 void setUserUuid(String userUuid)
          Sets the user uuid of this recent layout revision.
 CacheModel<RecentLayoutRevision> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 RecentLayoutRevision 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.RecentLayoutRevisionModel
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

LAYOUTREVISIONID_COLUMN_BITMASK

public static final long LAYOUTREVISIONID_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

RECENTLAYOUTREVISIONID_COLUMN_BITMASK

public static final long RECENTLAYOUTREVISIONID_COLUMN_BITMASK
See Also:
Constant Field Values

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

RecentLayoutRevisionModelImpl

public RecentLayoutRevisionModelImpl()
Method Detail

getPrimaryKey

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

Specified by:
getPrimaryKey in interface RecentLayoutRevisionModel
Returns:
the primary key of this recent layout revision

setPrimaryKey

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

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

getPrimaryKeyObj

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

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

setModelAttributes

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

getMvccVersion

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

Specified by:
getMvccVersion in interface MVCCModel
Specified by:
getMvccVersion in interface RecentLayoutRevisionModel
Returns:
the mvcc version of this recent layout revision

setMvccVersion

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

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

getRecentLayoutRevisionId

public long getRecentLayoutRevisionId()
Description copied from interface: RecentLayoutRevisionModel
Returns the recent layout revision ID of this recent layout revision.

Specified by:
getRecentLayoutRevisionId in interface RecentLayoutRevisionModel
Returns:
the recent layout revision ID of this recent layout revision

setRecentLayoutRevisionId

public void setRecentLayoutRevisionId(long recentLayoutRevisionId)
Description copied from interface: RecentLayoutRevisionModel
Sets the recent layout revision ID of this recent layout revision.

Specified by:
setRecentLayoutRevisionId in interface RecentLayoutRevisionModel
Parameters:
recentLayoutRevisionId - the recent layout revision ID of this recent layout revision

getGroupId

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

Specified by:
getGroupId in interface RecentLayoutRevisionModel
Returns:
the group ID of this recent layout revision

setGroupId

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

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

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

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

Specified by:
getCompanyId in interface RecentLayoutRevisionModel
Specified by:
getCompanyId in interface ShardedModel
Returns:
the company ID of this recent layout revision

setCompanyId

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

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

getUserId

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

Specified by:
getUserId in interface RecentLayoutRevisionModel
Returns:
the user ID of this recent layout revision

setUserId

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

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

getUserUuid

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

Specified by:
getUserUuid in interface RecentLayoutRevisionModel
Returns:
the user uuid of this recent layout revision

setUserUuid

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

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

getOriginalUserId

public long getOriginalUserId()

getLayoutRevisionId

public long getLayoutRevisionId()
Description copied from interface: RecentLayoutRevisionModel
Returns the layout revision ID of this recent layout revision.

Specified by:
getLayoutRevisionId in interface RecentLayoutRevisionModel
Returns:
the layout revision ID of this recent layout revision

setLayoutRevisionId

public void setLayoutRevisionId(long layoutRevisionId)
Description copied from interface: RecentLayoutRevisionModel
Sets the layout revision ID of this recent layout revision.

Specified by:
setLayoutRevisionId in interface RecentLayoutRevisionModel
Parameters:
layoutRevisionId - the layout revision ID of this recent layout revision

getOriginalLayoutRevisionId

public long getOriginalLayoutRevisionId()

getLayoutSetBranchId

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

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

setLayoutSetBranchId

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

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

getOriginalLayoutSetBranchId

public long getOriginalLayoutSetBranchId()

getPlid

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

Specified by:
getPlid in interface RecentLayoutRevisionModel
Returns:
the plid of this recent layout revision

setPlid

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

Specified by:
setPlid in interface RecentLayoutRevisionModel
Parameters:
plid - the plid of this recent layout revision

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

toEscapedModel

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

compareTo

public int compareTo(RecentLayoutRevision recentLayoutRevision)
Specified by:
compareTo in interface RecentLayoutRevisionModel
Specified by:
compareTo in interface Comparable<RecentLayoutRevision>

equals

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

hashCode

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

toCacheModel

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

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

toString

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

Liferay 7.0-ce-b4