Liferay 6.1.0-ce-rc1

com.liferay.portal.model
Class LayoutSetBranchWrapper

java.lang.Object
  extended by com.liferay.portal.model.LayoutSetBranchWrapper
All Implemented Interfaces:
AuditedModel, BaseModel<LayoutSetBranch>, ClassedModel, GroupedModel, LayoutSetBranch, LayoutSetBranchModel, ModelWrapper<LayoutSetBranch>, PersistedModel, Serializable, Cloneable, Comparable<LayoutSetBranch>

public class LayoutSetBranchWrapper
extends Object
implements LayoutSetBranch, ModelWrapper<LayoutSetBranch>

This class is a wrapper for LayoutSetBranch.

See Also:
LayoutSetBranch, Serialized Form

Constructor Summary
LayoutSetBranchWrapper(LayoutSetBranch layoutSetBranch)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(LayoutSetBranch layoutSetBranch)
           
 long getCompanyId()
          Returns the company ID of this layout set branch.
 Date getCreateDate()
          Returns the create date of this layout set branch.
 String getDescription()
          Returns the description of this layout set branch.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this layout set branch.
 long getLayoutSetBranchId()
          Returns the layout set branch ID of this layout set branch.
 boolean getMaster()
          Returns the master of this layout set branch.
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this layout set branch.
 String getName()
          Returns the name of this layout set branch.
 long getPrimaryKey()
          Returns the primary key of this layout set branch.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 boolean getPrivateLayout()
          Returns the private layout of this layout set branch.
 long getUserId()
          Returns the user ID of this layout set branch.
 String getUserName()
          Returns the user name of this layout set branch.
 String getUserUuid()
          Returns the user uuid of this layout set branch.
 LayoutSetBranch getWrappedLayoutSetBranch()
          Deprecated. Renamed to getWrappedModel()
 LayoutSetBranch getWrappedModel()
           
 int hashCode()
           
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isMaster()
          Returns true if this layout set branch is master.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 boolean isPrivateLayout()
          Returns true if this layout set branch is private layout.
 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 layout set branch.
 void setCreateDate(Date createDate)
          Sets the create date of this layout set branch.
 void setDescription(String description)
          Sets the description of this 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 layout set branch.
 void setLayoutSetBranchId(long layoutSetBranchId)
          Sets the layout set branch ID of this layout set branch.
 void setMaster(boolean master)
          Sets whether this layout set branch is master.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this layout set branch.
 void setName(String name)
          Sets the name of this layout set branch.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this layout set branch.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setPrivateLayout(boolean privateLayout)
          Sets whether this layout set branch is private layout.
 void setUserId(long userId)
          Sets the user ID of this layout set branch.
 void setUserName(String userName)
          Sets the user name of this layout set branch.
 void setUserUuid(String userUuid)
          Sets the user uuid of this layout set branch.
 CacheModel<LayoutSetBranch> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 LayoutSetBranch 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 java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayoutSetBranchWrapper

public LayoutSetBranchWrapper(LayoutSetBranch layoutSetBranch)
Method Detail

getModelClass

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

getModelClassName

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

getPrimaryKey

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

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

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this layout set branch.

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

getLayoutSetBranchId

public long getLayoutSetBranchId()
Returns the layout set branch ID of this layout set branch.

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

setLayoutSetBranchId

public void setLayoutSetBranchId(long layoutSetBranchId)
Sets the layout set branch ID of this layout set branch.

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

getGroupId

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

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface LayoutSetBranchModel
Returns:
the group ID of this layout set branch

setGroupId

public void setGroupId(long groupId)
Sets the group ID of this layout set branch.

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

getCompanyId

public long getCompanyId()
Returns the company ID of this layout set branch.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface LayoutSetBranchModel
Returns:
the company ID of this layout set branch

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this layout set branch.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface LayoutSetBranchModel
Parameters:
companyId - the company ID of this layout set branch

getUserId

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

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface LayoutSetBranchModel
Returns:
the user ID of this layout set branch

setUserId

public void setUserId(long userId)
Sets the user ID of this layout set branch.

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

getUserUuid

public String getUserUuid()
                   throws SystemException
Returns the user uuid of this layout set branch.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface LayoutSetBranchModel
Returns:
the user uuid of this layout set branch
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Sets the user uuid of this layout set branch.

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

getUserName

public String getUserName()
Returns the user name of this layout set branch.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface LayoutSetBranchModel
Returns:
the user name of this layout set branch

setUserName

public void setUserName(String userName)
Sets the user name of this layout set branch.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface LayoutSetBranchModel
Parameters:
userName - the user name of this layout set branch

getCreateDate

public Date getCreateDate()
Returns the create date of this layout set branch.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface LayoutSetBranchModel
Returns:
the create date of this layout set branch

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this layout set branch.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface LayoutSetBranchModel
Parameters:
createDate - the create date of this layout set branch

getModifiedDate

public Date getModifiedDate()
Returns the modified date of this layout set branch.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface LayoutSetBranchModel
Returns:
the modified date of this layout set branch

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Sets the modified date of this layout set branch.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface LayoutSetBranchModel
Parameters:
modifiedDate - the modified date of this layout set branch

getPrivateLayout

public boolean getPrivateLayout()
Returns the private layout of this layout set branch.

Specified by:
getPrivateLayout in interface LayoutSetBranchModel
Returns:
the private layout of this layout set branch

isPrivateLayout

public boolean isPrivateLayout()
Returns true if this layout set branch is private layout.

Specified by:
isPrivateLayout in interface LayoutSetBranchModel
Returns:
true if this layout set branch is private layout; false otherwise

setPrivateLayout

public void setPrivateLayout(boolean privateLayout)
Sets whether this layout set branch is private layout.

Specified by:
setPrivateLayout in interface LayoutSetBranchModel
Parameters:
privateLayout - the private layout of this layout set branch

getName

public String getName()
Returns the name of this layout set branch.

Specified by:
getName in interface LayoutSetBranchModel
Returns:
the name of this layout set branch

setName

public void setName(String name)
Sets the name of this layout set branch.

Specified by:
setName in interface LayoutSetBranchModel
Parameters:
name - the name of this layout set branch

getDescription

public String getDescription()
Returns the description of this layout set branch.

Specified by:
getDescription in interface LayoutSetBranchModel
Returns:
the description of this layout set branch

setDescription

public void setDescription(String description)
Sets the description of this layout set branch.

Specified by:
setDescription in interface LayoutSetBranchModel
Parameters:
description - the description of this layout set branch

getMaster

public boolean getMaster()
Returns the master of this layout set branch.

Specified by:
getMaster in interface LayoutSetBranchModel
Returns:
the master of this layout set branch

isMaster

public boolean isMaster()
Returns true if this layout set branch is master.

Specified by:
isMaster in interface LayoutSetBranchModel
Returns:
true if this layout set branch is master; false otherwise

setMaster

public void setMaster(boolean master)
Sets whether this layout set branch is master.

Specified by:
setMaster in interface LayoutSetBranchModel
Parameters:
master - the master of this layout set branch

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<LayoutSetBranch>
Specified by:
isNew in interface LayoutSetBranchModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

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<LayoutSetBranch>
Specified by:
setNew in interface LayoutSetBranchModel
Parameters:
n - whether this model instance does not yet exist in the database

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<LayoutSetBranch>
Specified by:
isCachedModel in interface LayoutSetBranchModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

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<LayoutSetBranch>
Specified by:
setCachedModel in interface LayoutSetBranchModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

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

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

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<LayoutSetBranch>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface LayoutSetBranchModel
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<LayoutSetBranch>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface LayoutSetBranchModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<LayoutSetBranch>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface LayoutSetBranchModel
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<LayoutSetBranch>
Specified by:
setExpandoBridgeAttributes in interface LayoutSetBranchModel
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

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

Specified by:
clone in interface BaseModel<LayoutSetBranch>
Specified by:
clone in interface LayoutSetBranchModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(LayoutSetBranch layoutSetBranch)
Specified by:
compareTo in interface LayoutSetBranchModel
Specified by:
compareTo in interface Comparable<LayoutSetBranch>

hashCode

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

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<LayoutSetBranch>
Specified by:
toCacheModel in interface LayoutSetBranchModel
Returns:
the cache model object

toEscapedModel

public LayoutSetBranch 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<LayoutSetBranch>
Specified by:
toEscapedModel in interface LayoutSetBranchModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toString

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

persist

public void persist()
             throws SystemException
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
Throws:
SystemException - if a system exception occurred

getWrappedLayoutSetBranch

public LayoutSetBranch getWrappedLayoutSetBranch()
Deprecated. Renamed to getWrappedModel()


getWrappedModel

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

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<LayoutSetBranch>

Liferay 6.1.0-ce-rc1