|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.LayoutBranchWrapper
public class LayoutBranchWrapper
This class is a wrapper for LayoutBranch
.
LayoutBranch
,
Serialized FormConstructor Summary | |
---|---|
LayoutBranchWrapper(LayoutBranch layoutBranch)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(LayoutBranch layoutBranch)
|
boolean |
equals(Object obj)
|
long |
getCompanyId()
Returns the company ID of this layout branch. |
String |
getDescription()
Returns the description of this layout branch. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this layout branch. |
long |
getLayoutBranchId()
Returns the layout branch ID of this layout branch. |
long |
getLayoutSetBranchId()
Returns the layout set branch ID of this layout branch. |
boolean |
getMaster()
Returns the master of this layout branch. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this layout branch. |
long |
getPlid()
Returns the plid of this layout branch. |
long |
getPrimaryKey()
Returns the primary key of this layout branch. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getUserId()
Returns the user ID of this layout branch. |
String |
getUserName()
Returns the user name of this layout branch. |
String |
getUserUuid()
Returns the user uuid of this layout branch. |
LayoutBranch |
getWrappedLayoutBranch()
Deprecated. Renamed to getWrappedModel() |
LayoutBranch |
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 branch is master. |
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 layout branch. |
void |
setDescription(String description)
Sets the description of this layout 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 branch. |
void |
setLayoutBranchId(long LayoutBranchId)
Sets the layout branch ID of this layout branch. |
void |
setLayoutSetBranchId(long layoutSetBranchId)
Sets the layout set branch ID of this layout branch. |
void |
setMaster(boolean master)
Sets whether this layout branch is master. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this 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 layout branch. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this layout branch. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setUserId(long userId)
Sets the user ID of this layout branch. |
void |
setUserName(String userName)
Sets the user name of this layout branch. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this layout branch. |
CacheModel<LayoutBranch> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
LayoutBranch |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
LayoutBranch |
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 |
---|
public LayoutBranchWrapper(LayoutBranch layoutBranch)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<LayoutBranch>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<LayoutBranch>
public long getPrimaryKey()
getPrimaryKey
in interface LayoutBranchModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface LayoutBranchModel
primaryKey
- the primary key of this layout branchpublic long getLayoutBranchId()
getLayoutBranchId
in interface LayoutBranchModel
public void setLayoutBranchId(long LayoutBranchId)
setLayoutBranchId
in interface LayoutBranchModel
LayoutBranchId
- the layout branch ID of this layout branchpublic long getGroupId()
getGroupId
in interface LayoutBranchModel
public void setGroupId(long groupId)
setGroupId
in interface LayoutBranchModel
groupId
- the group ID of this layout branchpublic long getCompanyId()
getCompanyId
in interface LayoutBranchModel
public void setCompanyId(long companyId)
setCompanyId
in interface LayoutBranchModel
companyId
- the company ID of this layout branchpublic long getUserId()
getUserId
in interface LayoutBranchModel
public void setUserId(long userId)
setUserId
in interface LayoutBranchModel
userId
- the user ID of this layout branchpublic String getUserUuid() throws SystemException
getUserUuid
in interface LayoutBranchModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface LayoutBranchModel
userUuid
- the user uuid of this layout branchpublic String getUserName()
getUserName
in interface LayoutBranchModel
public void setUserName(String userName)
setUserName
in interface LayoutBranchModel
userName
- the user name of this layout branchpublic long getLayoutSetBranchId()
getLayoutSetBranchId
in interface LayoutBranchModel
public void setLayoutSetBranchId(long layoutSetBranchId)
setLayoutSetBranchId
in interface LayoutBranchModel
layoutSetBranchId
- the layout set branch ID of this layout branchpublic long getPlid()
getPlid
in interface LayoutBranchModel
public void setPlid(long plid)
setPlid
in interface LayoutBranchModel
plid
- the plid of this layout branchpublic String getName()
getName
in interface LayoutBranchModel
public void setName(String name)
setName
in interface LayoutBranchModel
name
- the name of this layout branchpublic String getDescription()
getDescription
in interface LayoutBranchModel
public void setDescription(String description)
setDescription
in interface LayoutBranchModel
description
- the description of this layout branchpublic boolean getMaster()
getMaster
in interface LayoutBranchModel
public boolean isMaster()
true
if this layout branch is master.
isMaster
in interface LayoutBranchModel
true
if this layout branch is master; false
otherwisepublic void setMaster(boolean master)
setMaster
in interface LayoutBranchModel
master
- the master of this layout branchpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<LayoutBranch>
isNew
in interface LayoutBranchModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<LayoutBranch>
setNew
in interface LayoutBranchModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<LayoutBranch>
isCachedModel
in interface LayoutBranchModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<LayoutBranch>
setCachedModel
in interface LayoutBranchModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<LayoutBranch>
isEscapedModel
in interface LayoutBranchModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<LayoutBranch>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface LayoutBranchModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<LayoutBranch>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface LayoutBranchModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<LayoutBranch>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface LayoutBranchModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<LayoutBranch>
setExpandoBridgeAttributes
in interface LayoutBranchModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<LayoutBranch>
clone
in interface LayoutBranchModel
clone
in class Object
public int compareTo(LayoutBranch layoutBranch)
compareTo
in interface LayoutBranchModel
compareTo
in interface Comparable<LayoutBranch>
public int hashCode()
hashCode
in interface LayoutBranchModel
hashCode
in class Object
public CacheModel<LayoutBranch> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<LayoutBranch>
toCacheModel
in interface LayoutBranchModel
public LayoutBranch toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<LayoutBranch>
toEscapedModel
in interface LayoutBranchModel
AutoEscapeBeanHandler
public LayoutBranch toUnescapedModel()
toUnescapedModel
in interface BaseModel<LayoutBranch>
toUnescapedModel
in interface LayoutBranchModel
public String toString()
toString
in interface LayoutBranchModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<LayoutBranch>
toXmlString
in interface LayoutBranchModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public LayoutBranch getWrappedLayoutBranch()
getWrappedModel()
public LayoutBranch getWrappedModel()
getWrappedModel
in interface ModelWrapper<LayoutBranch>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<LayoutBranch>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |