Liferay 7.0-ce-b4

com.liferay.portal.model
Class RecentLayoutBranchWrapper

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

@ProviderType
public class RecentLayoutBranchWrapper
extends Object
implements RecentLayoutBranch, ModelWrapper<RecentLayoutBranch>

This class is a wrapper for RecentLayoutBranch.

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

Field Summary
 
Fields inherited from interface com.liferay.portal.model.RecentLayoutBranch
RECENT_LAYOUT_BRANCH_ID_ACCESSOR
 
Constructor Summary
RecentLayoutBranchWrapper(RecentLayoutBranch recentLayoutBranch)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(RecentLayoutBranch recentLayoutBranch)
           
 boolean equals(Object obj)
           
 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 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.
 RecentLayoutBranch 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 branch.
 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 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 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 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()
           
 RecentLayoutBranch 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

RecentLayoutBranchWrapper

public RecentLayoutBranchWrapper(RecentLayoutBranch recentLayoutBranch)
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<RecentLayoutBranch>

setModelAttributes

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

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

getCompanyId

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

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

getGroupId

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

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

getLayoutBranchId

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

getLayoutSetBranchId

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

getMvccVersion

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

getPlid

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

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

getPrimaryKey

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

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

getRecentLayoutBranchId

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

getUserId

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

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

getUserUuid

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

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

hashCode

public int hashCode()
Specified by:
hashCode in interface RecentLayoutBranchModel
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<RecentLayoutBranch>
Specified by:
isCachedModel in interface RecentLayoutBranchModel
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<RecentLayoutBranch>
Specified by:
isEscapedModel in interface RecentLayoutBranchModel
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<RecentLayoutBranch>
Specified by:
isNew in interface RecentLayoutBranchModel
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<RecentLayoutBranch>
Specified by:
setCachedModel in interface RecentLayoutBranchModel
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 branch.

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

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<RecentLayoutBranch>
Specified by:
setExpandoBridgeAttributes in interface RecentLayoutBranchModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<RecentLayoutBranch>
Specified by:
setExpandoBridgeAttributes in interface RecentLayoutBranchModel

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
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 branch.

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

setLayoutBranchId

public void setLayoutBranchId(long layoutBranchId)
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

setLayoutSetBranchId

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

setMvccVersion

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

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<RecentLayoutBranch>
Specified by:
setNew in interface RecentLayoutBranchModel
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 branch.

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

setPrimaryKey

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

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

setRecentLayoutBranchId

public void setRecentLayoutBranchId(long recentLayoutBranchId)
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

setUserId

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

setUserUuid

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

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

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

toString

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

toUnescapedModel

public RecentLayoutBranch toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<RecentLayoutBranch>
Specified by:
toUnescapedModel in interface RecentLayoutBranchModel

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

equals

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

getWrappedModel

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

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>

Liferay 7.0-ce-b4