|
Liferay 6.1.0 | |||||||||
| 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()
Returns the company ID of this wiki node. |
Date |
getCreateDate()
Returns the create date of this wiki node. |
String |
getDescription()
Returns the description of this wiki node. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this wiki node. |
Date |
getLastPostDate()
Returns the last post date of this wiki node. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this wiki node. |
String |
getName()
Returns the name of this wiki node. |
long |
getNodeId()
Returns the node ID of this wiki node. |
long |
getPrimaryKey()
Returns the primary key of this wiki node. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getUserId()
Returns the user ID of this wiki node. |
String |
getUserName()
Returns the user name of this wiki node. |
String |
getUserUuid()
Returns the user uuid of this wiki node. |
String |
getUuid()
Returns the uuid of this wiki node. |
WikiNode |
getWrappedWikiNode()
|
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 |
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 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 |
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 primaryKey)
Sets the primary key of this wiki node. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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. |
CacheModel<WikiNode> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
WikiNode |
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 |
|---|
public WikiNodeWrapper(WikiNode wikiNode)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface WikiNodeModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface WikiNodeModelprimaryKey - the primary key of this wiki nodepublic String getUuid()
getUuid in interface WikiNodeModelpublic void setUuid(String uuid)
setUuid in interface WikiNodeModeluuid - the uuid of this wiki nodepublic long getNodeId()
getNodeId in interface WikiNodeModelpublic void setNodeId(long nodeId)
setNodeId in interface WikiNodeModelnodeId - the node ID of this wiki nodepublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface WikiNodeModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface WikiNodeModelgroupId - the group ID of this wiki nodepublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface WikiNodeModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface WikiNodeModelcompanyId - the company ID of this wiki nodepublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface WikiNodeModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface WikiNodeModeluserId - the user ID of this wiki node
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface WikiNodeModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface WikiNodeModeluserUuid - the user uuid of this wiki nodepublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface WikiNodeModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface WikiNodeModeluserName - the user name of this wiki nodepublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface WikiNodeModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface WikiNodeModelcreateDate - the create date of this wiki nodepublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface WikiNodeModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface WikiNodeModelmodifiedDate - the modified date of this wiki nodepublic String getName()
getName in interface WikiNodeModelpublic void setName(String name)
setName in interface WikiNodeModelname - the name of this wiki nodepublic String getDescription()
getDescription in interface WikiNodeModelpublic void setDescription(String description)
setDescription in interface WikiNodeModeldescription - the description of this wiki nodepublic Date getLastPostDate()
getLastPostDate in interface WikiNodeModelpublic void setLastPostDate(Date lastPostDate)
setLastPostDate in interface WikiNodeModellastPostDate - the last post date of this wiki nodepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
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()
BaseModeltrue if this model instance was retrieved from the
entity cache.
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()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<WikiNode>isEscapedModel in interface WikiNodeModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<WikiNode>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface WikiNodeModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<WikiNode>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface WikiNodeModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<WikiNode>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface WikiNodeModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<WikiNode>setExpandoBridgeAttributes in interface WikiNodeModelserviceContext - the service contextServiceContext.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 CacheModel<WikiNode> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<WikiNode>toCacheModel in interface WikiNodeModelpublic WikiNode toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<WikiNode>toEscapedModel in interface WikiNodeModelAutoEscapeBeanHandlerpublic String toString()
toString in interface WikiNodeModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<WikiNode>toXmlString in interface WikiNodeModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic WikiNode getWrappedWikiNode()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<WikiNode>
|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||