|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<WikiPage>
com.liferay.portlet.wiki.model.impl.WikiPageModelImpl
public class WikiPageModelImpl
The base model implementation for the WikiPage service. Represents a row in the "WikiPage" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface WikiPageModel 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 class directly. All methods that expect a wiki page model instance should use the WikiPage interface instead.
WikiPageImpl,
WikiPage,
WikiPageModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
WikiPageModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(WikiPage wikiPage)
|
boolean |
equals(Object obj)
|
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 |
getOriginalGroupId()
|
long |
getOriginalNodeId()
|
long |
getOriginalResourcePrimKey()
|
String |
getOriginalTitle()
|
String |
getOriginalUuid()
|
double |
getOriginalVersion()
|
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 |
isDraft()
Determines whether this wiki page is a draft. |
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 |
isPending()
Determines whether this wiki page is pending. |
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 {$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 |
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. |
static WikiPage |
toModel(WikiPageSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<WikiPage> |
toModels(WikiPageSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.wiki.model.WikiPageModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public WikiPageModelImpl()
| Method Detail |
|---|
public static WikiPage toModel(WikiPageSoap soapModel)
soapModel - the soap model instance to convert
public static List<WikiPage> toModels(WikiPageSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
WikiPageModel
getPrimaryKey in interface WikiPageModelpublic void setPrimaryKey(long pk)
WikiPageModel
setPrimaryKey in interface WikiPageModelpk - the primary key of this wiki pagepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<WikiPage>getPrimaryKeyObj in interface WikiPageModelpublic String getUuid()
WikiPageModel
getUuid in interface WikiPageModelpublic void setUuid(String uuid)
WikiPageModel
setUuid in interface WikiPageModeluuid - the uuid of this wiki pagepublic String getOriginalUuid()
public long getPageId()
WikiPageModel
getPageId in interface WikiPageModelpublic void setPageId(long pageId)
WikiPageModel
setPageId in interface WikiPageModelpageId - the page id of this wiki pagepublic long getResourcePrimKey()
WikiPageModel
getResourcePrimKey in interface WikiPageModelpublic void setResourcePrimKey(long resourcePrimKey)
WikiPageModel
setResourcePrimKey in interface WikiPageModelresourcePrimKey - the resource prim key of this wiki pagepublic long getOriginalResourcePrimKey()
public long getGroupId()
WikiPageModel
getGroupId in interface WikiPageModelpublic void setGroupId(long groupId)
WikiPageModel
setGroupId in interface WikiPageModelgroupId - the group id of this wiki pagepublic long getOriginalGroupId()
public long getCompanyId()
WikiPageModel
getCompanyId in interface WikiPageModelpublic void setCompanyId(long companyId)
WikiPageModel
setCompanyId in interface WikiPageModelcompanyId - the company id of this wiki pagepublic long getUserId()
WikiPageModel
getUserId in interface WikiPageModelpublic void setUserId(long userId)
WikiPageModel
setUserId in interface WikiPageModeluserId - the user id of this wiki page
public String getUserUuid()
throws SystemException
WikiPageModel
getUserUuid in interface WikiPageModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
WikiPageModel
setUserUuid in interface WikiPageModeluserUuid - the user uuid of this wiki pagepublic String getUserName()
WikiPageModel
getUserName in interface WikiPageModelpublic void setUserName(String userName)
WikiPageModel
setUserName in interface WikiPageModeluserName - the user name of this wiki pagepublic Date getCreateDate()
WikiPageModel
getCreateDate in interface WikiPageModelpublic void setCreateDate(Date createDate)
WikiPageModel
setCreateDate in interface WikiPageModelcreateDate - the create date of this wiki pagepublic Date getModifiedDate()
WikiPageModel
getModifiedDate in interface WikiPageModelpublic void setModifiedDate(Date modifiedDate)
WikiPageModel
setModifiedDate in interface WikiPageModelmodifiedDate - the modified date of this wiki pagepublic long getNodeId()
WikiPageModel
getNodeId in interface WikiPageModelpublic void setNodeId(long nodeId)
WikiPageModel
setNodeId in interface WikiPageModelnodeId - the node id of this wiki pagepublic long getOriginalNodeId()
public String getTitle()
WikiPageModel
getTitle in interface WikiPageModelpublic void setTitle(String title)
WikiPageModel
setTitle in interface WikiPageModeltitle - the title of this wiki pagepublic String getOriginalTitle()
public double getVersion()
WikiPageModel
getVersion in interface WikiPageModelpublic void setVersion(double version)
WikiPageModel
setVersion in interface WikiPageModelversion - the version of this wiki pagepublic double getOriginalVersion()
public boolean getMinorEdit()
WikiPageModel
getMinorEdit in interface WikiPageModelpublic boolean isMinorEdit()
WikiPageModel
isMinorEdit in interface WikiPageModelpublic void setMinorEdit(boolean minorEdit)
WikiPageModel
setMinorEdit in interface WikiPageModelminorEdit - the minor edit of this wiki pagepublic String getContent()
WikiPageModel
getContent in interface WikiPageModelpublic void setContent(String content)
WikiPageModel
setContent in interface WikiPageModelcontent - the content of this wiki pagepublic String getSummary()
WikiPageModel
getSummary in interface WikiPageModelpublic void setSummary(String summary)
WikiPageModel
setSummary in interface WikiPageModelsummary - the summary of this wiki pagepublic String getFormat()
WikiPageModel
getFormat in interface WikiPageModelpublic void setFormat(String format)
WikiPageModel
setFormat in interface WikiPageModelformat - the format of this wiki pagepublic boolean getHead()
WikiPageModel
getHead in interface WikiPageModelpublic boolean isHead()
WikiPageModel
isHead in interface WikiPageModelpublic void setHead(boolean head)
WikiPageModel
setHead in interface WikiPageModelhead - the head of this wiki pagepublic String getParentTitle()
WikiPageModel
getParentTitle in interface WikiPageModelpublic void setParentTitle(String parentTitle)
WikiPageModel
setParentTitle in interface WikiPageModelparentTitle - the parent title of this wiki pagepublic String getRedirectTitle()
WikiPageModel
getRedirectTitle in interface WikiPageModelpublic void setRedirectTitle(String redirectTitle)
WikiPageModel
setRedirectTitle in interface WikiPageModelredirectTitle - the redirect title of this wiki pagepublic int getStatus()
WikiPageModel
getStatus in interface WikiPageModelpublic void setStatus(int status)
WikiPageModel
setStatus in interface WikiPageModelstatus - the status of this wiki pagepublic long getStatusByUserId()
WikiPageModel
getStatusByUserId in interface WikiPageModelpublic void setStatusByUserId(long statusByUserId)
WikiPageModel
setStatusByUserId in interface WikiPageModelstatusByUserId - the status by user id of this wiki page
public String getStatusByUserUuid()
throws SystemException
WikiPageModel
getStatusByUserUuid in interface WikiPageModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
WikiPageModel
setStatusByUserUuid in interface WikiPageModelstatusByUserUuid - the status by user uuid of this wiki pagepublic String getStatusByUserName()
WikiPageModel
getStatusByUserName in interface WikiPageModelpublic void setStatusByUserName(String statusByUserName)
WikiPageModel
setStatusByUserName in interface WikiPageModelstatusByUserName - the status by user name of this wiki pagepublic Date getStatusDate()
WikiPageModel
getStatusDate in interface WikiPageModelpublic void setStatusDate(Date statusDate)
WikiPageModel
setStatusDate in interface WikiPageModelstatusDate - the status date of this wiki pagepublic boolean isApproved()
WikiPageModel
isApproved in interface WikiPageModelpublic boolean isDraft()
WikiPageModel
isDraft in interface WikiPageModelpublic boolean isExpired()
WikiPageModel
isExpired in interface WikiPageModelpublic boolean isPending()
WikiPageModel
isPending in interface WikiPageModelpublic WikiPage toEscapedModel()
WikiPageModelAutoEscapeBeanHandler.
toEscapedModel in interface WikiPageModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<WikiPage>getExpandoBridge in interface WikiPageModelgetExpandoBridge in class BaseModelImpl<WikiPage>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<WikiPage>setExpandoBridgeAttributes in interface WikiPageModelsetExpandoBridgeAttributes in class BaseModelImpl<WikiPage>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<WikiPage>clone in interface WikiPageModelclone in class BaseModelImpl<WikiPage>public int compareTo(WikiPage wikiPage)
compareTo in interface WikiPageModelcompareTo in interface Comparable<WikiPage>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface WikiPageModelhashCode in class Objectpublic String toString()
toString in interface WikiPageModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<WikiPage>toXmlString in interface WikiPageModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||