Liferay 7.0-ce-b4

com.liferay.portal.model
Class RecentLayoutRevisionWrapper

java.lang.Object
  extended by com.liferay.portal.model.RecentLayoutRevisionWrapper
All Implemented Interfaces:
BaseModel<RecentLayoutRevision>, ClassedModel, ModelWrapper<RecentLayoutRevision>, MVCCModel, PersistedModel, RecentLayoutRevision, RecentLayoutRevisionModel, ShardedModel, Serializable, Cloneable, Comparable<RecentLayoutRevision>

@ProviderType
public class RecentLayoutRevisionWrapper
extends Object
implements RecentLayoutRevision, ModelWrapper<RecentLayoutRevision>

This class is a wrapper for RecentLayoutRevision.

See Also:
RecentLayoutRevision, Serialized Form

Field Summary
 
Fields inherited from interface com.liferay.portal.model.RecentLayoutRevision
RECENT_LAYOUT_REVISION_ID_ACCESSOR
 
Constructor Summary
RecentLayoutRevisionWrapper(RecentLayoutRevision recentLayoutRevision)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(RecentLayoutRevision recentLayoutRevision)
           
 boolean equals(Object obj)
           
 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 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.
 RecentLayoutRevision getWrappedModel()
           
 int hashCode()
           
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isEntityCacheEnabled()
          Returns true if this model's entity cache is enabled.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isFinderCacheEnabled()
          Returns true if this model's finder cache is enabled.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 void persist()
          Updates this model instance in the database or adds it if it does not yet exist.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setCompanyId(long companyId)
          Sets the company ID of this recent layout revision.
 void setExpandoBridgeAttributes(BaseModel<?> baseModel)
           
 void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
           
 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 setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 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()
           
 RecentLayoutRevision toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecentLayoutRevisionWrapper

public RecentLayoutRevisionWrapper(RecentLayoutRevision recentLayoutRevision)
Method Detail

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>

setModelAttributes

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

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
Overrides:
clone in class Object
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>

getCompanyId

public long getCompanyId()
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

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
Returns:
the expando bridge for this model instance

getGroupId

public long getGroupId()
Returns the group ID of this recent layout revision.

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

getLayoutRevisionId

public long getLayoutRevisionId()
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

getLayoutSetBranchId

public long getLayoutSetBranchId()
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

getMvccVersion

public long getMvccVersion()
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

getPlid

public long getPlid()
Returns the plid of this recent layout revision.

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

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this recent layout revision.

Specified by:
getPrimaryKey in interface RecentLayoutRevisionModel
Returns:
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

getRecentLayoutRevisionId

public long getRecentLayoutRevisionId()
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

getUserId

public long getUserId()
Returns the user ID of this recent layout revision.

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

getUserUuid

public String getUserUuid()
Returns the user uuid of this recent layout revision.

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

hashCode

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

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<RecentLayoutRevision>
Specified by:
isCachedModel in interface RecentLayoutRevisionModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<RecentLayoutRevision>
Specified by:
isEscapedModel in interface RecentLayoutRevisionModel
Returns:
true if this model instance is escaped; false otherwise

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<RecentLayoutRevision>
Specified by:
isNew in interface RecentLayoutRevisionModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

persist

public void persist()
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<RecentLayoutRevision>
Specified by:
setCachedModel in interface RecentLayoutRevisionModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

setCompanyId

public void setCompanyId(long companyId)
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

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<RecentLayoutRevision>
Specified by:
setExpandoBridgeAttributes in interface RecentLayoutRevisionModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<RecentLayoutRevision>
Specified by:
setExpandoBridgeAttributes in interface RecentLayoutRevisionModel

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
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes()

setGroupId

public void setGroupId(long groupId)
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

setLayoutRevisionId

public void setLayoutRevisionId(long layoutRevisionId)
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

setLayoutSetBranchId

public void setLayoutSetBranchId(long layoutSetBranchId)
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

setMvccVersion

public void setMvccVersion(long mvccVersion)
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

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<RecentLayoutRevision>
Specified by:
setNew in interface RecentLayoutRevisionModel
Parameters:
n - whether this model instance does not yet exist in the database

setPlid

public void setPlid(long plid)
Sets the plid of this recent layout revision.

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

setPrimaryKey

public void setPrimaryKey(long primaryKey)
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

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

setRecentLayoutRevisionId

public void setRecentLayoutRevisionId(long recentLayoutRevisionId)
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

setUserId

public void setUserId(long userId)
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

setUserUuid

public void setUserUuid(String userUuid)
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

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
Returns:
the cache model object

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
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toString

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

toUnescapedModel

public RecentLayoutRevision toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<RecentLayoutRevision>
Specified by:
toUnescapedModel in interface RecentLayoutRevisionModel

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

equals

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

getWrappedModel

public RecentLayoutRevision getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<RecentLayoutRevision>

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>

Liferay 7.0-ce-b4