|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.wiki.model.WikiNodeWrapper
public class WikiNodeWrapper
This class is a wrapper for WikiNode.
WikiNode,
Serialized Form| Constructor Summary | |
|---|---|
WikiNodeWrapper(WikiNode wikiNode)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(WikiNode wikiNode)
|
long |
getCompanyId()
Gets the company id of this wiki node. |
Date |
getCreateDate()
Gets the create date of this wiki node. |
String |
getDescription()
Gets the description of this wiki node. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this wiki node. |
Date |
getLastPostDate()
Gets the last post date of this wiki node. |
Date |
getModifiedDate()
Gets the modified date of this wiki node. |
String |
getName()
Gets the name of this wiki node. |
long |
getNodeId()
Gets the node id of this wiki node. |
long |
getPrimaryKey()
Gets the primary key of this wiki node. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getUserId()
Gets the user id of this wiki node. |
String |
getUserName()
Gets the user name of this wiki node. |
String |
getUserUuid()
Gets the user uuid of this wiki node. |
String |
getUuid()
Gets the uuid of this wiki node. |
WikiNode |
getWrappedWikiNode()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
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 wiki node. |
void |
setCreateDate(Date createDate)
Sets the create date of this wiki node. |
void |
setDescription(String description)
Sets the description of this wiki node. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 wiki node. |
void |
setLastPostDate(Date lastPostDate)
Sets the last post date of this wiki node. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this wiki node. |
void |
setName(String name)
Sets the name of this wiki node. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setNodeId(long nodeId)
Sets the node id of this wiki node. |
void |
setPrimaryKey(long pk)
Sets the primary key of this wiki node |
void |
setUserId(long userId)
Sets the user id of this wiki node. |
void |
setUserName(String userName)
Sets the user name of this wiki node. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this wiki node. |
void |
setUuid(String uuid)
Sets the uuid of this wiki node. |
WikiNode |
toEscapedModel()
Gets a copy of this wiki node as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WikiNodeWrapper(WikiNode wikiNode)
| Method Detail |
|---|
public long getPrimaryKey()
WikiNodeModel
getPrimaryKey in interface WikiNodeModelpublic void setPrimaryKey(long pk)
WikiNodeModel
setPrimaryKey in interface WikiNodeModelpk - the primary key of this wiki nodepublic String getUuid()
WikiNodeModel
getUuid in interface WikiNodeModelpublic void setUuid(String uuid)
WikiNodeModel
setUuid in interface WikiNodeModeluuid - the uuid of this wiki nodepublic long getNodeId()
WikiNodeModel
getNodeId in interface WikiNodeModelpublic void setNodeId(long nodeId)
WikiNodeModel
setNodeId in interface WikiNodeModelnodeId - the node id of this wiki nodepublic long getGroupId()
WikiNodeModel
getGroupId in interface WikiNodeModelpublic void setGroupId(long groupId)
WikiNodeModel
setGroupId in interface WikiNodeModelgroupId - the group id of this wiki nodepublic long getCompanyId()
WikiNodeModel
getCompanyId in interface WikiNodeModelpublic void setCompanyId(long companyId)
WikiNodeModel
setCompanyId in interface WikiNodeModelcompanyId - the company id of this wiki nodepublic long getUserId()
WikiNodeModel
getUserId in interface WikiNodeModelpublic void setUserId(long userId)
WikiNodeModel
setUserId in interface WikiNodeModeluserId - the user id of this wiki node
public String getUserUuid()
throws SystemException
WikiNodeModel
getUserUuid in interface WikiNodeModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
WikiNodeModel
setUserUuid in interface WikiNodeModeluserUuid - the user uuid of this wiki nodepublic String getUserName()
WikiNodeModel
getUserName in interface WikiNodeModelpublic void setUserName(String userName)
WikiNodeModel
setUserName in interface WikiNodeModeluserName - the user name of this wiki nodepublic Date getCreateDate()
WikiNodeModel
getCreateDate in interface WikiNodeModelpublic void setCreateDate(Date createDate)
WikiNodeModel
setCreateDate in interface WikiNodeModelcreateDate - the create date of this wiki nodepublic Date getModifiedDate()
WikiNodeModel
getModifiedDate in interface WikiNodeModelpublic void setModifiedDate(Date modifiedDate)
WikiNodeModel
setModifiedDate in interface WikiNodeModelmodifiedDate - the modified date of this wiki nodepublic String getName()
WikiNodeModel
getName in interface WikiNodeModelpublic void setName(String name)
WikiNodeModel
setName in interface WikiNodeModelname - the name of this wiki nodepublic String getDescription()
WikiNodeModel
getDescription in interface WikiNodeModelpublic void setDescription(String description)
WikiNodeModel
setDescription in interface WikiNodeModeldescription - the description of this wiki nodepublic Date getLastPostDate()
WikiNodeModel
getLastPostDate in interface WikiNodeModelpublic void setLastPostDate(Date lastPostDate)
WikiNodeModel
setLastPostDate in interface WikiNodeModellastPostDate - the last post date of this wiki nodepublic WikiNode toEscapedModel()
WikiNodeModelAutoEscapeBeanHandler.
toEscapedModel in interface WikiNodeModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<WikiNode>isNew in interface WikiNodeModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<WikiNode>setNew in interface WikiNodeModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<WikiNode>isCachedModel in interface WikiNodeModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<WikiNode>setCachedModel in interface WikiNodeModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<WikiNode>isEscapedModel in interface WikiNodeModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<WikiNode>setEscapedModel in interface WikiNodeModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<WikiNode>getPrimaryKeyObj in interface WikiNodeModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<WikiNode>getExpandoBridge in interface WikiNodeModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<WikiNode>setExpandoBridgeAttributes in interface WikiNodeModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<WikiNode>clone in interface WikiNodeModelclone in class Objectpublic int compareTo(WikiNode wikiNode)
compareTo in interface WikiNodeModelcompareTo in interface Comparable<WikiNode>public int hashCode()
hashCode in interface WikiNodeModelhashCode in class Objectpublic String toString()
toString in interface WikiNodeModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<WikiNode>toXmlString in interface WikiNodeModelpublic WikiNode getWrappedWikiNode()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||