|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WikiPageModel
The base model interface for the WikiPage service. Represents a row in the "WikiPage" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation WikiPageModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in WikiPageImpl
.
Never modify or reference this interface directly. All methods that expect a wiki page model instance should use the WikiPage
interface instead.
WikiPage
,
WikiPageImpl
,
WikiPageModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(WikiPage wikiPage)
|
long |
getCompanyId()
Gets the company id of this wiki page. |
String |
getContent()
Gets the content of this wiki page. |
Date |
getCreateDate()
Gets the create date of this wiki page. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getFormat()
Gets the format of this wiki page. |
long |
getGroupId()
Gets the group id of this wiki page. |
boolean |
getHead()
Gets the head of this wiki page. |
boolean |
getMinorEdit()
Gets the minor edit of this wiki page. |
Date |
getModifiedDate()
Gets the modified date of this wiki page. |
long |
getNodeId()
Gets the node id of this wiki page. |
long |
getPageId()
Gets the page id of this wiki page. |
String |
getParentTitle()
Gets the parent title of this wiki page. |
long |
getPrimaryKey()
Gets the primary key of this wiki page. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
String |
getRedirectTitle()
Gets the redirect title of this wiki page. |
long |
getResourcePrimKey()
Gets the resource prim key of this wiki page. |
int |
getStatus()
Gets the status of this wiki page. |
long |
getStatusByUserId()
Gets the status by user id of this wiki page. |
String |
getStatusByUserName()
Gets the status by user name of this wiki page. |
String |
getStatusByUserUuid()
Gets the status by user uuid of this wiki page. |
Date |
getStatusDate()
Gets the status date of this wiki page. |
String |
getSummary()
Gets the summary of this wiki page. |
String |
getTitle()
Gets the title of this wiki page. |
long |
getUserId()
Gets the user id of this wiki page. |
String |
getUserName()
Gets the user name of this wiki page. |
String |
getUserUuid()
Gets the user uuid of this wiki page. |
String |
getUuid()
Gets the uuid of this wiki page. |
double |
getVersion()
Gets the version of this wiki page. |
int |
hashCode()
|
boolean |
isApproved()
Determines whether this wiki page is approved. |
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isDraft()
Determines whether this wiki page is a draft. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isExpired()
Determines whether this wiki page is expired. |
boolean |
isHead()
Determines whether this wiki page is head. |
boolean |
isMinorEdit()
Determines whether this wiki page is minor edit. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPending()
Determines whether this wiki page is pending. |
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 |
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 |
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 {$entity.humanName} is head. |
void |
setMinorEdit(boolean minorEdit)
Sets whether this {$entity.humanName} is minor edit. |
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 pk)
Sets the primary key of this wiki page |
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. |
WikiPage |
toEscapedModel()
Gets a copy of this wiki page as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long pk)
pk
- the primary key of this wiki page@AutoEscape String getUuid()
void setUuid(String uuid)
uuid
- the uuid of this wiki pagelong getPageId()
void setPageId(long pageId)
pageId
- the page id of this wiki pagelong getResourcePrimKey()
void setResourcePrimKey(long resourcePrimKey)
resourcePrimKey
- the resource prim key of this wiki pagelong getGroupId()
void setGroupId(long groupId)
groupId
- the group id of this wiki pagelong getCompanyId()
void setCompanyId(long companyId)
companyId
- the company id of this wiki pagelong getUserId()
void setUserId(long userId)
userId
- the user id of this wiki pageString getUserUuid() throws SystemException
SystemException
- if a system exception occurredvoid setUserUuid(String userUuid)
userUuid
- the user uuid of this wiki page@AutoEscape String getUserName()
void setUserName(String userName)
userName
- the user name of this wiki pageDate getCreateDate()
void setCreateDate(Date createDate)
createDate
- the create date of this wiki pageDate getModifiedDate()
void setModifiedDate(Date modifiedDate)
modifiedDate
- the modified date of this wiki pagelong getNodeId()
void setNodeId(long nodeId)
nodeId
- the node id of this wiki page@AutoEscape String getTitle()
void setTitle(String title)
title
- the title of this wiki pagedouble getVersion()
void setVersion(double version)
version
- the version of this wiki pageboolean getMinorEdit()
boolean isMinorEdit()
void setMinorEdit(boolean minorEdit)
minorEdit
- the minor edit of this wiki page@AutoEscape String getContent()
void setContent(String content)
content
- the content of this wiki page@AutoEscape String getSummary()
void setSummary(String summary)
summary
- the summary of this wiki page@AutoEscape String getFormat()
void setFormat(String format)
format
- the format of this wiki pageboolean getHead()
boolean isHead()
void setHead(boolean head)
head
- the head of this wiki page@AutoEscape String getParentTitle()
void setParentTitle(String parentTitle)
parentTitle
- the parent title of this wiki page@AutoEscape String getRedirectTitle()
void setRedirectTitle(String redirectTitle)
redirectTitle
- the redirect title of this wiki pageint getStatus()
void setStatus(int status)
status
- the status of this wiki pagelong getStatusByUserId()
void setStatusByUserId(long statusByUserId)
statusByUserId
- the status by user id of this wiki pageString getStatusByUserUuid() throws SystemException
SystemException
- if a system exception occurredvoid setStatusByUserUuid(String statusByUserUuid)
statusByUserUuid
- the status by user uuid of this wiki page@AutoEscape String getStatusByUserName()
void setStatusByUserName(String statusByUserName)
statusByUserName
- the status by user name of this wiki pageDate getStatusDate()
void setStatusDate(Date statusDate)
statusDate
- the status date of this wiki pageboolean isApproved()
boolean isDraft()
boolean isExpired()
boolean isPending()
WikiPage toEscapedModel()
AutoEscapeBeanHandler
.
AutoEscapeBeanHandler
boolean isNew()
BaseModel
isNew
in interface BaseModel<WikiPage>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<WikiPage>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<WikiPage>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<WikiPage>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<WikiPage>
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
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<WikiPage>
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<WikiPage>
ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WikiPage>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<WikiPage>
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<WikiPage>
int compareTo(WikiPage wikiPage)
compareTo
in interface Comparable<WikiPage>
int hashCode()
hashCode
in class Object
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<WikiPage>
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |