|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.wiki.model.WikiNodeWrapper
@ProviderType public class WikiNodeWrapper
This class is a wrapper for WikiNode.
WikiNode,
Serialized Form| Constructor Summary | |
|---|---|
WikiNodeWrapper(WikiNode wikiNode)
|
|
| Method Summary | |
|---|---|
Folder |
addAttachmentsFolder()
|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(WikiNode wikiNode)
|
boolean |
equals(Object obj)
|
boolean |
getApproved()
Deprecated. As of 6.1.0, replaced by isApproved() |
long |
getAttachmentsFolderId()
|
long |
getCompanyId()
Returns the company ID of this wiki node. |
long |
getContainerModelId()
Returns the container model ID of this wiki node. |
String |
getContainerModelName()
Returns the container name of this wiki node. |
Date |
getCreateDate()
Returns the create date of this wiki node. |
List<FileEntry> |
getDeletedAttachmentsFiles()
|
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. |
Map<String,Object> |
getModelAttributes()
|
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 |
getParentContainerModelId()
Returns the parent container model 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. |
StagedModelType |
getStagedModelType()
|
int |
getStatus()
Returns the status of this wiki node. |
long |
getStatusByUserId()
Returns the status by user ID of this wiki node. |
String |
getStatusByUserName()
Returns the status by user name of this wiki node. |
String |
getStatusByUserUuid()
Returns the status by user uuid of this wiki node. |
Date |
getStatusDate()
Returns the status date of this wiki node. |
TrashEntry |
getTrashEntry()
Returns the trash entry created when this wiki node was moved to the Recycle Bin. |
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this wiki node. |
TrashHandler |
getTrashHandler()
Returns the trash handler for this wiki node. |
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 |
getWrappedModel()
|
WikiNode |
getWrappedWikiNode()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
int |
hashCode()
|
boolean |
isApproved()
Returns true if this wiki node is approved. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isDenied()
Returns true if this wiki node is denied. |
boolean |
isDraft()
Returns true if this wiki node is a draft. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
Returns true if this wiki node is expired. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isInactive()
Returns true if this wiki node is inactive. |
boolean |
isIncomplete()
Returns true if this wiki node is incomplete. |
boolean |
isInTrash()
Returns true if this wiki node is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns true if the parent of this wiki node is in the Recycle Bin. |
boolean |
isInTrashExplicitly()
|
boolean |
isInTrashImplicitly()
|
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Returns true if this wiki node is pending. |
boolean |
isScheduled()
Returns true if this wiki node is scheduled. |
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 |
setContainerModelId(long containerModelId)
Sets the container model 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(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 |
setModelAttributes(Map<String,Object> attributes)
|
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 |
setParentContainerModelId(long parentContainerModelId)
Sets the parent container model 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 |
setStatus(int status)
Sets the status of this wiki node. |
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this wiki node. |
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this wiki node. |
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this wiki node. |
void |
setStatusDate(Date statusDate)
Sets the status date 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. |
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()
|
WikiNode |
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 WikiNodeWrapper(WikiNode wikiNode)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelgetModelClass in interface ContainerModelpublic String getModelClassName()
getModelClassName in interface ClassedModelgetModelClassName in interface ContainerModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<WikiNode>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<WikiNode>
public Folder addAttachmentsFolder()
throws PortalException
addAttachmentsFolder in interface WikiNodePortalExceptionpublic Object clone()
BaseModel
clone in interface BaseModel<WikiNode>clone in interface StagedModelclone in interface WikiNodeModelclone in class Objectpublic int compareTo(WikiNode wikiNode)
compareTo in interface WikiNodeModelcompareTo in interface Comparable<WikiNode>@Deprecated public boolean getApproved()
isApproved()
getApproved in interface WorkflowedModelgetApproved in interface WikiNodeModelpublic long getAttachmentsFolderId()
getAttachmentsFolderId in interface WikiNodepublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelgetCompanyId in interface WikiNodeModelpublic long getContainerModelId()
getContainerModelId in interface ContainerModelgetContainerModelId in interface WikiNodeModelpublic String getContainerModelName()
getContainerModelName in interface ContainerModelgetContainerModelName in interface WikiNodeModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface WikiNodeModelpublic List<FileEntry> getDeletedAttachmentsFiles()
getDeletedAttachmentsFiles in interface WikiNodepublic String getDescription()
getDescription in interface WikiNodeModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<WikiNode>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface WikiNodeModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface WikiNodeModelpublic Date getLastPostDate()
getLastPostDate in interface WikiNodeModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface WikiNodeModelpublic String getName()
getName in interface WikiNodeModelpublic long getNodeId()
getNodeId in interface WikiNodeModelpublic long getParentContainerModelId()
getParentContainerModelId in interface ContainerModelgetParentContainerModelId in interface WikiNodeModelpublic long getPrimaryKey()
getPrimaryKey in interface WikiNodeModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<WikiNode>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface WikiNodeModelpublic int getStatus()
getStatus in interface TrashedModelgetStatus in interface WorkflowedModelgetStatus in interface WikiNodeModelpublic long getStatusByUserId()
getStatusByUserId in interface WorkflowedModelgetStatusByUserId in interface WikiNodeModelpublic String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelgetStatusByUserName in interface WikiNodeModelpublic String getStatusByUserUuid()
getStatusByUserUuid in interface WorkflowedModelgetStatusByUserUuid in interface WikiNodeModelpublic Date getStatusDate()
getStatusDate in interface WorkflowedModelgetStatusDate in interface WikiNodeModel
public TrashEntry getTrashEntry()
throws PortalException
getTrashEntry in interface TrashedModelgetTrashEntry in interface WikiNodeModelPortalExceptionpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface TrashedModelgetTrashEntryClassPK in interface WikiNodeModelpublic TrashHandler getTrashHandler()
getTrashHandler in interface TrashedModelgetTrashHandler in interface WikiNodeModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface WikiNodeModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface WikiNodeModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface WikiNodeModelpublic String getUuid()
getUuid in interface StagedModelgetUuid in interface WikiNodeModelpublic int hashCode()
hashCode in interface WikiNodeModelhashCode in class Objectpublic boolean isApproved()
true if this wiki node is approved.
isApproved in interface WorkflowedModelisApproved in interface WikiNodeModeltrue if this wiki node is approved; false otherwisepublic 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 boolean isDenied()
true if this wiki node is denied.
isDenied in interface WorkflowedModelisDenied in interface WikiNodeModeltrue if this wiki node is denied; false otherwisepublic boolean isDraft()
true if this wiki node is a draft.
isDraft in interface WorkflowedModelisDraft in interface WikiNodeModeltrue if this wiki node is a draft; false otherwisepublic 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 boolean isExpired()
true if this wiki node is expired.
isExpired in interface WorkflowedModelisExpired in interface WikiNodeModeltrue if this wiki node is expired; false otherwisepublic boolean isInTrash()
true if this wiki node is in the Recycle Bin.
isInTrash in interface TrashedModelisInTrash in interface WikiNodeModeltrue if this wiki node is in the Recycle Bin; false otherwisepublic boolean isInTrashContainer()
true if the parent of this wiki node is in the Recycle Bin.
isInTrashContainer in interface TrashedModelisInTrashContainer in interface WikiNodeModeltrue if the parent of this wiki node is in the Recycle Bin; false otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly in interface TrashedModelisInTrashExplicitly in interface WikiNodeModelpublic boolean isInTrashImplicitly()
isInTrashImplicitly in interface TrashedModelisInTrashImplicitly in interface WikiNodeModelpublic boolean isInactive()
true if this wiki node is inactive.
isInactive in interface WorkflowedModelisInactive in interface WikiNodeModeltrue if this wiki node is inactive; false otherwisepublic boolean isIncomplete()
true if this wiki node is incomplete.
isIncomplete in interface WorkflowedModelisIncomplete in interface WikiNodeModeltrue if this wiki node is incomplete; false otherwisepublic 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 boolean isPending()
true if this wiki node is pending.
isPending in interface WorkflowedModelisPending in interface WikiNodeModeltrue if this wiki node is pending; false otherwisepublic boolean isScheduled()
true if this wiki node is scheduled.
isScheduled in interface WorkflowedModelisScheduled in interface WikiNodeModeltrue if this wiki node is scheduled; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<WikiNode>setCachedModel in interface WikiNodeModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelsetCompanyId in interface WikiNodeModelcompanyId - the company ID of this wiki nodepublic void setContainerModelId(long containerModelId)
setContainerModelId in interface ContainerModelsetContainerModelId in interface WikiNodeModelcontainerModelId - the container model ID of this wiki nodepublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface WikiNodeModelcreateDate - the create date of this wiki nodepublic void setDescription(String description)
setDescription in interface WikiNodeModeldescription - the description of this wiki nodepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<WikiNode>setExpandoBridgeAttributes in interface WikiNodeModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<WikiNode>setExpandoBridgeAttributes in interface WikiNodeModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<WikiNode>setExpandoBridgeAttributes in interface WikiNodeModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface WikiNodeModelgroupId - the group ID of this wiki nodepublic void setLastPostDate(Date lastPostDate)
setLastPostDate in interface WikiNodeModellastPostDate - the last post date of this wiki nodepublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface WikiNodeModelmodifiedDate - the modified date of this wiki nodepublic void setName(String name)
setName in interface WikiNodeModelname - the name of this wiki nodepublic 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 void setNodeId(long nodeId)
setNodeId in interface WikiNodeModelnodeId - the node ID of this wiki nodepublic void setParentContainerModelId(long parentContainerModelId)
setParentContainerModelId in interface ContainerModelsetParentContainerModelId in interface WikiNodeModelparentContainerModelId - the parent container model ID of this wiki nodepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface WikiNodeModelprimaryKey - the primary key of this wiki nodepublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<WikiNode>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface WikiNodeModelprimaryKeyObj - the primary key of this model instancepublic void setStatus(int status)
setStatus in interface WorkflowedModelsetStatus in interface WikiNodeModelstatus - the status of this wiki nodepublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelsetStatusByUserId in interface WikiNodeModelstatusByUserId - the status by user ID of this wiki nodepublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface WorkflowedModelsetStatusByUserName in interface WikiNodeModelstatusByUserName - the status by user name of this wiki nodepublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface WorkflowedModelsetStatusByUserUuid in interface WikiNodeModelstatusByUserUuid - the status by user uuid of this wiki nodepublic void setStatusDate(Date statusDate)
setStatusDate in interface WorkflowedModelsetStatusDate in interface WikiNodeModelstatusDate - the status date of this wiki nodepublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface WikiNodeModeluserId - the user ID of this wiki nodepublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface WikiNodeModeluserName - the user name of this wiki nodepublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface WikiNodeModeluserUuid - the user uuid of this wiki nodepublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface WikiNodeModeluuid - the uuid of this wiki nodepublic 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 WikiNode toUnescapedModel()
toUnescapedModel in interface BaseModel<WikiNode>toUnescapedModel in interface WikiNodeModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<WikiNode>toXmlString in interface WikiNodeModelpublic boolean equals(Object obj)
equals in class Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModel@Deprecated public WikiNode getWrappedWikiNode()
getWrappedModel()
public WikiNode getWrappedModel()
getWrappedModel in interface ModelWrapper<WikiNode>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<WikiNode>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<WikiNode>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<WikiNode>
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||