|
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.portlet.wiki.model.WikiPageWrapper
public class WikiPageWrapper
This class is a wrapper for WikiPage
.
WikiPage
,
Serialized FormConstructor Summary | |
---|---|
WikiPageWrapper(WikiPage wikiPage)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(WikiPage wikiPage)
|
boolean |
equals(Object obj)
|
boolean |
getApproved()
Deprecated. Renamed to isApproved() |
String |
getAttachmentsDir()
|
String[] |
getAttachmentsFiles()
|
List<WikiPage> |
getChildPages()
|
long |
getCompanyId()
Returns the company ID of this wiki page. |
String |
getContent()
Returns the content of this wiki page. |
Date |
getCreateDate()
Returns the create date of this wiki page. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getFormat()
Returns the format of this wiki page. |
long |
getGroupId()
Returns the group ID of this wiki page. |
boolean |
getHead()
Returns the head of this wiki page. |
boolean |
getMinorEdit()
Returns the minor edit of this wiki page. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this wiki page. |
WikiNode |
getNode()
|
long |
getNodeId()
Returns the node ID of this wiki page. |
long |
getPageId()
Returns the page ID of this wiki page. |
WikiPage |
getParentPage()
|
List<WikiPage> |
getParentPages()
|
String |
getParentTitle()
Returns the parent title of this wiki page. |
long |
getPrimaryKey()
Returns the primary key of this wiki page. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
WikiPage |
getRedirectPage()
|
String |
getRedirectTitle()
Returns the redirect title of this wiki page. |
long |
getResourcePrimKey()
Returns the resource prim key of this wiki page. |
int |
getStatus()
Returns the status of this wiki page. |
long |
getStatusByUserId()
Returns the status by user ID of this wiki page. |
String |
getStatusByUserName()
Returns the status by user name of this wiki page. |
String |
getStatusByUserUuid()
Returns the status by user uuid of this wiki page. |
Date |
getStatusDate()
Returns the status date of this wiki page. |
String |
getSummary()
Returns the summary of this wiki page. |
String |
getTitle()
Returns the title of this wiki page. |
long |
getUserId()
Returns the user ID of this wiki page. |
String |
getUserName()
Returns the user name of this wiki page. |
String |
getUserUuid()
Returns the user uuid of this wiki page. |
String |
getUuid()
Returns the uuid of this wiki page. |
double |
getVersion()
Returns the version of this wiki page. |
List<WikiPage> |
getViewableChildPages()
|
WikiPage |
getViewableParentPage()
|
List<WikiPage> |
getViewableParentPages()
|
WikiPage |
getWrappedModel()
|
WikiPage |
getWrappedWikiPage()
Deprecated. Renamed to getWrappedModel() |
int |
hashCode()
|
boolean |
isApproved()
Returns true if this wiki page is approved. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isDenied()
Returns true if this wiki page is denied. |
boolean |
isDraft()
Returns true if this wiki page is a draft. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
Returns true if this wiki page is expired. |
boolean |
isHead()
Returns true if this wiki page is head. |
boolean |
isInactive()
Returns true if this wiki page is inactive. |
boolean |
isIncomplete()
Returns true if this wiki page is incomplete. |
boolean |
isMinorEdit()
Returns true if this wiki page is minor edit. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Returns true if this wiki page is pending. |
boolean |
isResourceMain()
|
boolean |
isScheduled()
Returns true if this wiki page 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 |
setAttachmentsDir(String attachmentsDir)
|
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 page. |
void |
setContent(String content)
Sets the content of this wiki page. |
void |
setCreateDate(Date createDate)
Sets the create date of this wiki page. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFormat(String format)
Sets the format of this wiki page. |
void |
setGroupId(long groupId)
Sets the group ID of this wiki page. |
void |
setHead(boolean head)
Sets whether this wiki page is head. |
void |
setMinorEdit(boolean minorEdit)
Sets whether this wiki page is minor edit. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this wiki page. |
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 page. |
void |
setPageId(long pageId)
Sets the page ID of this wiki page. |
void |
setParentTitle(String parentTitle)
Sets the parent title of this wiki page. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this wiki page. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRedirectTitle(String redirectTitle)
Sets the redirect title of this wiki page. |
void |
setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this wiki page. |
void |
setStatus(int status)
Sets the status of this wiki page. |
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this wiki page. |
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this wiki page. |
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this wiki page. |
void |
setStatusDate(Date statusDate)
Sets the status date of this wiki page. |
void |
setSummary(String summary)
Sets the summary of this wiki page. |
void |
setTitle(String title)
Sets the title of this wiki page. |
void |
setUserId(long userId)
Sets the user ID of this wiki page. |
void |
setUserName(String userName)
Sets the user name of this wiki page. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this wiki page. |
void |
setUuid(String uuid)
Sets the uuid of this wiki page. |
void |
setVersion(double version)
Sets the version of this wiki page. |
CacheModel<WikiPage> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
WikiPage |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
WikiPage |
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 WikiPageWrapper(WikiPage wikiPage)
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<WikiPage>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<WikiPage>
public long getPrimaryKey()
getPrimaryKey
in interface WikiPageModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface WikiPageModel
primaryKey
- the primary key of this wiki pagepublic String getUuid()
getUuid
in interface WikiPageModel
public void setUuid(String uuid)
setUuid
in interface WikiPageModel
uuid
- the uuid of this wiki pagepublic long getPageId()
getPageId
in interface WikiPageModel
public void setPageId(long pageId)
setPageId
in interface WikiPageModel
pageId
- the page ID of this wiki pagepublic long getResourcePrimKey()
getResourcePrimKey
in interface ResourcedModel
getResourcePrimKey
in interface WikiPageModel
public void setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey
in interface WikiPageModel
resourcePrimKey
- the resource prim key of this wiki pagepublic boolean isResourceMain()
isResourceMain
in interface ResourcedModel
isResourceMain
in interface WikiPage
isResourceMain
in interface WikiPageModel
public long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface WikiPageModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface WikiPageModel
groupId
- the group ID of this wiki pagepublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface WikiPageModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface WikiPageModel
companyId
- the company ID of this wiki pagepublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface WikiPageModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface WikiPageModel
userId
- the user ID of this wiki pagepublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface WikiPageModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface WikiPageModel
userUuid
- the user uuid of this wiki pagepublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface WikiPageModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface WikiPageModel
userName
- the user name of this wiki pagepublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface WikiPageModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface WikiPageModel
createDate
- the create date of this wiki pagepublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface WikiPageModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface WikiPageModel
modifiedDate
- the modified date of this wiki pagepublic long getNodeId()
getNodeId
in interface WikiPageModel
public void setNodeId(long nodeId)
setNodeId
in interface WikiPageModel
nodeId
- the node ID of this wiki pagepublic String getTitle()
getTitle
in interface WikiPageModel
public void setTitle(String title)
setTitle
in interface WikiPageModel
title
- the title of this wiki pagepublic double getVersion()
getVersion
in interface WikiPageModel
public void setVersion(double version)
setVersion
in interface WikiPageModel
version
- the version of this wiki pagepublic boolean getMinorEdit()
getMinorEdit
in interface WikiPageModel
public boolean isMinorEdit()
true
if this wiki page is minor edit.
isMinorEdit
in interface WikiPageModel
true
if this wiki page is minor edit; false
otherwisepublic void setMinorEdit(boolean minorEdit)
setMinorEdit
in interface WikiPageModel
minorEdit
- the minor edit of this wiki pagepublic String getContent()
getContent
in interface WikiPageModel
public void setContent(String content)
setContent
in interface WikiPageModel
content
- the content of this wiki pagepublic String getSummary()
getSummary
in interface WikiPageModel
public void setSummary(String summary)
setSummary
in interface WikiPageModel
summary
- the summary of this wiki pagepublic String getFormat()
getFormat
in interface WikiPageModel
public void setFormat(String format)
setFormat
in interface WikiPageModel
format
- the format of this wiki pagepublic boolean getHead()
getHead
in interface WikiPageModel
public boolean isHead()
true
if this wiki page is head.
isHead
in interface WikiPageModel
true
if this wiki page is head; false
otherwisepublic void setHead(boolean head)
setHead
in interface WikiPageModel
head
- the head of this wiki pagepublic String getParentTitle()
getParentTitle
in interface WikiPageModel
public void setParentTitle(String parentTitle)
setParentTitle
in interface WikiPageModel
parentTitle
- the parent title of this wiki pagepublic String getRedirectTitle()
getRedirectTitle
in interface WikiPageModel
public void setRedirectTitle(String redirectTitle)
setRedirectTitle
in interface WikiPageModel
redirectTitle
- the redirect title of this wiki pagepublic int getStatus()
getStatus
in interface WorkflowedModel
getStatus
in interface WikiPageModel
public void setStatus(int status)
setStatus
in interface WorkflowedModel
setStatus
in interface WikiPageModel
status
- the status of this wiki pagepublic long getStatusByUserId()
getStatusByUserId
in interface WorkflowedModel
getStatusByUserId
in interface WikiPageModel
public void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface WorkflowedModel
setStatusByUserId
in interface WikiPageModel
statusByUserId
- the status by user ID of this wiki pagepublic String getStatusByUserUuid() throws SystemException
getStatusByUserUuid
in interface WikiPageModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid
in interface WikiPageModel
statusByUserUuid
- the status by user uuid of this wiki pagepublic String getStatusByUserName()
getStatusByUserName
in interface WorkflowedModel
getStatusByUserName
in interface WikiPageModel
public void setStatusByUserName(String statusByUserName)
setStatusByUserName
in interface WorkflowedModel
setStatusByUserName
in interface WikiPageModel
statusByUserName
- the status by user name of this wiki pagepublic Date getStatusDate()
getStatusDate
in interface WorkflowedModel
getStatusDate
in interface WikiPageModel
public void setStatusDate(Date statusDate)
setStatusDate
in interface WorkflowedModel
setStatusDate
in interface WikiPageModel
statusDate
- the status date of this wiki pagepublic boolean getApproved()
isApproved()
getApproved
in interface WikiPageModel
public boolean isApproved()
true
if this wiki page is approved.
isApproved
in interface WorkflowedModel
isApproved
in interface WikiPageModel
true
if this wiki page is approved; false
otherwisepublic boolean isDenied()
true
if this wiki page is denied.
isDenied
in interface WikiPageModel
true
if this wiki page is denied; false
otherwisepublic boolean isDraft()
true
if this wiki page is a draft.
isDraft
in interface WorkflowedModel
isDraft
in interface WikiPageModel
true
if this wiki page is a draft; false
otherwisepublic boolean isExpired()
true
if this wiki page is expired.
isExpired
in interface WorkflowedModel
isExpired
in interface WikiPageModel
true
if this wiki page is expired; false
otherwisepublic boolean isInactive()
true
if this wiki page is inactive.
isInactive
in interface WikiPageModel
true
if this wiki page is inactive; false
otherwisepublic boolean isIncomplete()
true
if this wiki page is incomplete.
isIncomplete
in interface WikiPageModel
true
if this wiki page is incomplete; false
otherwisepublic boolean isPending()
true
if this wiki page is pending.
isPending
in interface WorkflowedModel
isPending
in interface WikiPageModel
true
if this wiki page is pending; false
otherwisepublic boolean isScheduled()
true
if this wiki page is scheduled.
isScheduled
in interface WikiPageModel
true
if this wiki page is scheduled; false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<WikiPage>
isNew
in interface WikiPageModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<WikiPage>
setNew
in interface WikiPageModel
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<WikiPage>
isCachedModel
in interface WikiPageModel
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<WikiPage>
setCachedModel
in interface WikiPageModel
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<WikiPage>
isEscapedModel
in interface WikiPageModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<WikiPage>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface WikiPageModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<WikiPage>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface WikiPageModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WikiPage>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface WikiPageModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<WikiPage>
setExpandoBridgeAttributes
in interface WikiPageModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<WikiPage>
clone
in interface WikiPageModel
clone
in class Object
public int compareTo(WikiPage wikiPage)
compareTo
in interface WikiPageModel
compareTo
in interface Comparable<WikiPage>
public int hashCode()
hashCode
in interface WikiPageModel
hashCode
in class Object
public CacheModel<WikiPage> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<WikiPage>
toCacheModel
in interface WikiPageModel
public WikiPage toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<WikiPage>
toEscapedModel
in interface WikiPageModel
AutoEscapeBeanHandler
public WikiPage toUnescapedModel()
toUnescapedModel
in interface BaseModel<WikiPage>
toUnescapedModel
in interface WikiPageModel
public String toString()
toString
in interface WikiPageModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<WikiPage>
toXmlString
in interface WikiPageModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic String getAttachmentsDir()
getAttachmentsDir
in interface WikiPage
public String[] getAttachmentsFiles() throws PortalException, SystemException
getAttachmentsFiles
in interface WikiPage
PortalException
SystemException
public List<WikiPage> getChildPages()
getChildPages
in interface WikiPage
public WikiNode getNode()
getNode
in interface WikiPage
public WikiPage getParentPage()
getParentPage
in interface WikiPage
public List<WikiPage> getParentPages()
getParentPages
in interface WikiPage
public WikiPage getRedirectPage()
getRedirectPage
in interface WikiPage
public List<WikiPage> getViewableChildPages()
getViewableChildPages
in interface WikiPage
public WikiPage getViewableParentPage()
getViewableParentPage
in interface WikiPage
public List<WikiPage> getViewableParentPages()
getViewableParentPages
in interface WikiPage
public void setAttachmentsDir(String attachmentsDir)
setAttachmentsDir
in interface WikiPage
public boolean equals(Object obj)
equals
in class Object
public WikiPage getWrappedWikiPage()
getWrappedModel()
public WikiPage getWrappedModel()
getWrappedModel
in interface ModelWrapper<WikiPage>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<WikiPage>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |