|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 WikiPageModel
public void setPrimaryKey(long pk)
WikiPageModel
setPrimaryKey
in interface WikiPageModel
pk
- the primary key of this wiki pagepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<WikiPage>
getPrimaryKeyObj
in interface WikiPageModel
public String getUuid()
WikiPageModel
getUuid
in interface WikiPageModel
public void setUuid(String uuid)
WikiPageModel
setUuid
in interface WikiPageModel
uuid
- the uuid of this wiki pagepublic String getOriginalUuid()
public long getPageId()
WikiPageModel
getPageId
in interface WikiPageModel
public void setPageId(long pageId)
WikiPageModel
setPageId
in interface WikiPageModel
pageId
- the page id of this wiki pagepublic long getResourcePrimKey()
WikiPageModel
getResourcePrimKey
in interface WikiPageModel
public void setResourcePrimKey(long resourcePrimKey)
WikiPageModel
setResourcePrimKey
in interface WikiPageModel
resourcePrimKey
- the resource prim key of this wiki pagepublic long getOriginalResourcePrimKey()
public long getGroupId()
WikiPageModel
getGroupId
in interface WikiPageModel
public void setGroupId(long groupId)
WikiPageModel
setGroupId
in interface WikiPageModel
groupId
- the group id of this wiki pagepublic long getOriginalGroupId()
public long getCompanyId()
WikiPageModel
getCompanyId
in interface WikiPageModel
public void setCompanyId(long companyId)
WikiPageModel
setCompanyId
in interface WikiPageModel
companyId
- the company id of this wiki pagepublic long getUserId()
WikiPageModel
getUserId
in interface WikiPageModel
public void setUserId(long userId)
WikiPageModel
setUserId
in interface WikiPageModel
userId
- the user id of this wiki pagepublic String getUserUuid() throws SystemException
WikiPageModel
getUserUuid
in interface WikiPageModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
WikiPageModel
setUserUuid
in interface WikiPageModel
userUuid
- the user uuid of this wiki pagepublic String getUserName()
WikiPageModel
getUserName
in interface WikiPageModel
public void setUserName(String userName)
WikiPageModel
setUserName
in interface WikiPageModel
userName
- the user name of this wiki pagepublic Date getCreateDate()
WikiPageModel
getCreateDate
in interface WikiPageModel
public void setCreateDate(Date createDate)
WikiPageModel
setCreateDate
in interface WikiPageModel
createDate
- the create date of this wiki pagepublic Date getModifiedDate()
WikiPageModel
getModifiedDate
in interface WikiPageModel
public void setModifiedDate(Date modifiedDate)
WikiPageModel
setModifiedDate
in interface WikiPageModel
modifiedDate
- the modified date of this wiki pagepublic long getNodeId()
WikiPageModel
getNodeId
in interface WikiPageModel
public void setNodeId(long nodeId)
WikiPageModel
setNodeId
in interface WikiPageModel
nodeId
- the node id of this wiki pagepublic long getOriginalNodeId()
public String getTitle()
WikiPageModel
getTitle
in interface WikiPageModel
public void setTitle(String title)
WikiPageModel
setTitle
in interface WikiPageModel
title
- the title of this wiki pagepublic String getOriginalTitle()
public double getVersion()
WikiPageModel
getVersion
in interface WikiPageModel
public void setVersion(double version)
WikiPageModel
setVersion
in interface WikiPageModel
version
- the version of this wiki pagepublic double getOriginalVersion()
public boolean getMinorEdit()
WikiPageModel
getMinorEdit
in interface WikiPageModel
public boolean isMinorEdit()
WikiPageModel
isMinorEdit
in interface WikiPageModel
public void setMinorEdit(boolean minorEdit)
WikiPageModel
setMinorEdit
in interface WikiPageModel
minorEdit
- the minor edit of this wiki pagepublic String getContent()
WikiPageModel
getContent
in interface WikiPageModel
public void setContent(String content)
WikiPageModel
setContent
in interface WikiPageModel
content
- the content of this wiki pagepublic String getSummary()
WikiPageModel
getSummary
in interface WikiPageModel
public void setSummary(String summary)
WikiPageModel
setSummary
in interface WikiPageModel
summary
- the summary of this wiki pagepublic String getFormat()
WikiPageModel
getFormat
in interface WikiPageModel
public void setFormat(String format)
WikiPageModel
setFormat
in interface WikiPageModel
format
- the format of this wiki pagepublic boolean getHead()
WikiPageModel
getHead
in interface WikiPageModel
public boolean isHead()
WikiPageModel
isHead
in interface WikiPageModel
public void setHead(boolean head)
WikiPageModel
setHead
in interface WikiPageModel
head
- the head of this wiki pagepublic String getParentTitle()
WikiPageModel
getParentTitle
in interface WikiPageModel
public void setParentTitle(String parentTitle)
WikiPageModel
setParentTitle
in interface WikiPageModel
parentTitle
- the parent title of this wiki pagepublic String getRedirectTitle()
WikiPageModel
getRedirectTitle
in interface WikiPageModel
public void setRedirectTitle(String redirectTitle)
WikiPageModel
setRedirectTitle
in interface WikiPageModel
redirectTitle
- the redirect title of this wiki pagepublic int getStatus()
WikiPageModel
getStatus
in interface WikiPageModel
public void setStatus(int status)
WikiPageModel
setStatus
in interface WikiPageModel
status
- the status of this wiki pagepublic long getStatusByUserId()
WikiPageModel
getStatusByUserId
in interface WikiPageModel
public void setStatusByUserId(long statusByUserId)
WikiPageModel
setStatusByUserId
in interface WikiPageModel
statusByUserId
- the status by user id of this wiki pagepublic String getStatusByUserUuid() throws SystemException
WikiPageModel
getStatusByUserUuid
in interface WikiPageModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
WikiPageModel
setStatusByUserUuid
in interface WikiPageModel
statusByUserUuid
- the status by user uuid of this wiki pagepublic String getStatusByUserName()
WikiPageModel
getStatusByUserName
in interface WikiPageModel
public void setStatusByUserName(String statusByUserName)
WikiPageModel
setStatusByUserName
in interface WikiPageModel
statusByUserName
- the status by user name of this wiki pagepublic Date getStatusDate()
WikiPageModel
getStatusDate
in interface WikiPageModel
public void setStatusDate(Date statusDate)
WikiPageModel
setStatusDate
in interface WikiPageModel
statusDate
- the status date of this wiki pagepublic boolean isApproved()
WikiPageModel
isApproved
in interface WikiPageModel
public boolean isDraft()
WikiPageModel
isDraft
in interface WikiPageModel
public boolean isExpired()
WikiPageModel
isExpired
in interface WikiPageModel
public boolean isPending()
WikiPageModel
isPending
in interface WikiPageModel
public WikiPage toEscapedModel()
WikiPageModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface WikiPageModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WikiPage>
getExpandoBridge
in interface WikiPageModel
getExpandoBridge
in class BaseModelImpl<WikiPage>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<WikiPage>
setExpandoBridgeAttributes
in interface WikiPageModel
setExpandoBridgeAttributes
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 WikiPageModel
clone
in class BaseModelImpl<WikiPage>
public int compareTo(WikiPage wikiPage)
compareTo
in interface WikiPageModel
compareTo
in interface Comparable<WikiPage>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface WikiPageModel
hashCode
in class Object
public String toString()
toString
in interface WikiPageModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<WikiPage>
toXmlString
in interface WikiPageModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |