|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.wiki.model.WikiNodeWrapper
public class WikiNodeWrapper
This class is a wrapper for WikiNode
.
WikiNode
,
Serialized FormConstructor 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 WikiNodeModel
public void setPrimaryKey(long pk)
WikiNodeModel
setPrimaryKey
in interface WikiNodeModel
pk
- the primary key of this wiki nodepublic String getUuid()
WikiNodeModel
getUuid
in interface WikiNodeModel
public void setUuid(String uuid)
WikiNodeModel
setUuid
in interface WikiNodeModel
uuid
- the uuid of this wiki nodepublic long getNodeId()
WikiNodeModel
getNodeId
in interface WikiNodeModel
public void setNodeId(long nodeId)
WikiNodeModel
setNodeId
in interface WikiNodeModel
nodeId
- the node id of this wiki nodepublic long getGroupId()
WikiNodeModel
getGroupId
in interface WikiNodeModel
public void setGroupId(long groupId)
WikiNodeModel
setGroupId
in interface WikiNodeModel
groupId
- the group id of this wiki nodepublic long getCompanyId()
WikiNodeModel
getCompanyId
in interface WikiNodeModel
public void setCompanyId(long companyId)
WikiNodeModel
setCompanyId
in interface WikiNodeModel
companyId
- the company id of this wiki nodepublic long getUserId()
WikiNodeModel
getUserId
in interface WikiNodeModel
public void setUserId(long userId)
WikiNodeModel
setUserId
in interface WikiNodeModel
userId
- the user id of this wiki nodepublic String getUserUuid() throws SystemException
WikiNodeModel
getUserUuid
in interface WikiNodeModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
WikiNodeModel
setUserUuid
in interface WikiNodeModel
userUuid
- the user uuid of this wiki nodepublic String getUserName()
WikiNodeModel
getUserName
in interface WikiNodeModel
public void setUserName(String userName)
WikiNodeModel
setUserName
in interface WikiNodeModel
userName
- the user name of this wiki nodepublic Date getCreateDate()
WikiNodeModel
getCreateDate
in interface WikiNodeModel
public void setCreateDate(Date createDate)
WikiNodeModel
setCreateDate
in interface WikiNodeModel
createDate
- the create date of this wiki nodepublic Date getModifiedDate()
WikiNodeModel
getModifiedDate
in interface WikiNodeModel
public void setModifiedDate(Date modifiedDate)
WikiNodeModel
setModifiedDate
in interface WikiNodeModel
modifiedDate
- the modified date of this wiki nodepublic String getName()
WikiNodeModel
getName
in interface WikiNodeModel
public void setName(String name)
WikiNodeModel
setName
in interface WikiNodeModel
name
- the name of this wiki nodepublic String getDescription()
WikiNodeModel
getDescription
in interface WikiNodeModel
public void setDescription(String description)
WikiNodeModel
setDescription
in interface WikiNodeModel
description
- the description of this wiki nodepublic Date getLastPostDate()
WikiNodeModel
getLastPostDate
in interface WikiNodeModel
public void setLastPostDate(Date lastPostDate)
WikiNodeModel
setLastPostDate
in interface WikiNodeModel
lastPostDate
- the last post date of this wiki nodepublic WikiNode toEscapedModel()
WikiNodeModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface WikiNodeModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
isNew
in interface BaseModel<WikiNode>
isNew
in interface WikiNodeModel
true
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 WikiNodeModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<WikiNode>
isCachedModel
in interface WikiNodeModel
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<WikiNode>
setCachedModel
in interface WikiNodeModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<WikiNode>
isEscapedModel
in interface WikiNodeModel
true
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 WikiNodeModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<WikiNode>
getPrimaryKeyObj
in interface WikiNodeModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WikiNode>
getExpandoBridge
in interface WikiNodeModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<WikiNode>
setExpandoBridgeAttributes
in interface WikiNodeModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<WikiNode>
clone
in interface WikiNodeModel
clone
in class Object
public int compareTo(WikiNode wikiNode)
compareTo
in interface WikiNodeModel
compareTo
in interface Comparable<WikiNode>
public int hashCode()
hashCode
in interface WikiNodeModel
hashCode
in class Object
public String toString()
toString
in interface WikiNodeModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<WikiNode>
toXmlString
in interface WikiNodeModel
public WikiNode getWrappedWikiNode()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |