|
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.portal.model.impl.BaseModelImpl<WikiPage> com.liferay.portlet.wiki.model.impl.WikiPageModelImpl
@JSON(strict=true) 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
.
WikiPageImpl
,
WikiPage
,
WikiPageModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
FORMAT_COLUMN_BITMASK
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
HEAD_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NODEID_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PARENTTITLE_COLUMN_BITMASK
|
static long |
REDIRECTTITLE_COLUMN_BITMASK
|
static long |
RESOURCEPRIMKEY_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static long |
STATUS_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static long |
TITLE_COLUMN_BITMASK
|
static String |
TX_MANAGER
|
static long |
USERID_COLUMN_BITMASK
|
static long |
UUID_COLUMN_BITMASK
|
static long |
VERSION_COLUMN_BITMASK
|
Constructor Summary | |
---|---|
WikiPageModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(WikiPage wikiPage)
|
boolean |
equals(Object obj)
|
boolean |
getApproved()
Deprecated. isApproved() |
long |
getColumnBitmask()
|
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. |
long |
getNodeId()
Returns the node ID of this wiki page. |
String |
getOriginalFormat()
|
long |
getOriginalGroupId()
|
boolean |
getOriginalHead()
|
long |
getOriginalNodeId()
|
String |
getOriginalParentTitle()
|
String |
getOriginalRedirectTitle()
|
long |
getOriginalResourcePrimKey()
|
int |
getOriginalStatus()
|
String |
getOriginalTitle()
|
long |
getOriginalUserId()
|
String |
getOriginalUuid()
|
double |
getOriginalVersion()
|
long |
getPageId()
Returns the page ID of this wiki page. |
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. |
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. |
int |
hashCode()
|
boolean |
isApproved()
Returns true if this wiki page is approved. |
boolean |
isDenied()
Returns true if this wiki page is denied. |
boolean |
isDraft()
Returns true if this wiki page is a draft. |
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 |
isPending()
Returns true if this wiki page is pending. |
boolean |
isResourceMain()
|
boolean |
isScheduled()
Returns true if this wiki page is scheduled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
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 . |
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()
|
WikiPage |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, 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 boolean COLUMN_BITMASK_ENABLED
public static long FORMAT_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long HEAD_COLUMN_BITMASK
public static long NODEID_COLUMN_BITMASK
public static long PARENTTITLE_COLUMN_BITMASK
public static long REDIRECTTITLE_COLUMN_BITMASK
public static long RESOURCEPRIMKEY_COLUMN_BITMASK
public static long STATUS_COLUMN_BITMASK
public static long TITLE_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static long VERSION_COLUMN_BITMASK
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 primaryKey)
WikiPageModel
setPrimaryKey
in interface WikiPageModel
primaryKey
- the primary key of this wiki pagepublic 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 Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<WikiPage>
getModelAttributes
in class BaseModelImpl<WikiPage>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<WikiPage>
setModelAttributes
in class BaseModelImpl<WikiPage>
@JSON 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()
@JSON 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 page@JSON public long getResourcePrimKey()
WikiPageModel
getResourcePrimKey
in interface ResourcedModel
getResourcePrimKey
in interface WikiPageModel
public void setResourcePrimKey(long resourcePrimKey)
WikiPageModel
setResourcePrimKey
in interface WikiPageModel
resourcePrimKey
- the resource prim key of this wiki pagepublic boolean isResourceMain()
isResourceMain
in interface ResourcedModel
isResourceMain
in interface WikiPageModel
public long getOriginalResourcePrimKey()
@JSON public long getGroupId()
WikiPageModel
getGroupId
in interface GroupedModel
getGroupId
in interface WikiPageModel
public void setGroupId(long groupId)
WikiPageModel
setGroupId
in interface GroupedModel
setGroupId
in interface WikiPageModel
groupId
- the group ID of this wiki pagepublic long getOriginalGroupId()
@JSON public long getCompanyId()
WikiPageModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface WikiPageModel
public void setCompanyId(long companyId)
WikiPageModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface WikiPageModel
companyId
- the company ID of this wiki page@JSON public long getUserId()
WikiPageModel
getUserId
in interface AuditedModel
getUserId
in interface WikiPageModel
public void setUserId(long userId)
WikiPageModel
setUserId
in interface AuditedModel
setUserId
in interface WikiPageModel
userId
- the user ID of this wiki pagepublic String getUserUuid() throws SystemException
WikiPageModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface WikiPageModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
WikiPageModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface WikiPageModel
userUuid
- the user uuid of this wiki pagepublic long getOriginalUserId()
@JSON public String getUserName()
WikiPageModel
getUserName
in interface AuditedModel
getUserName
in interface WikiPageModel
public void setUserName(String userName)
WikiPageModel
setUserName
in interface AuditedModel
setUserName
in interface WikiPageModel
userName
- the user name of this wiki page@JSON public Date getCreateDate()
WikiPageModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface WikiPageModel
public void setCreateDate(Date createDate)
WikiPageModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface WikiPageModel
createDate
- the create date of this wiki page@JSON public Date getModifiedDate()
WikiPageModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface WikiPageModel
public void setModifiedDate(Date modifiedDate)
WikiPageModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface WikiPageModel
modifiedDate
- the modified date of this wiki page@JSON public 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()
@JSON 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()
@JSON 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()
@JSON public boolean getMinorEdit()
WikiPageModel
getMinorEdit
in interface WikiPageModel
public boolean isMinorEdit()
WikiPageModel
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)
WikiPageModel
setMinorEdit
in interface WikiPageModel
minorEdit
- the minor edit of this wiki page@JSON public String getContent()
WikiPageModel
getContent
in interface WikiPageModel
public void setContent(String content)
WikiPageModel
setContent
in interface WikiPageModel
content
- the content of this wiki page@JSON public String getSummary()
WikiPageModel
getSummary
in interface WikiPageModel
public void setSummary(String summary)
WikiPageModel
setSummary
in interface WikiPageModel
summary
- the summary of this wiki page@JSON public String getFormat()
WikiPageModel
getFormat
in interface WikiPageModel
public void setFormat(String format)
WikiPageModel
setFormat
in interface WikiPageModel
format
- the format of this wiki pagepublic String getOriginalFormat()
@JSON public boolean getHead()
WikiPageModel
getHead
in interface WikiPageModel
public boolean isHead()
WikiPageModel
true
if this wiki page is head.
isHead
in interface WikiPageModel
true
if this wiki page is head; false
otherwisepublic void setHead(boolean head)
WikiPageModel
setHead
in interface WikiPageModel
head
- the head of this wiki pagepublic boolean getOriginalHead()
@JSON public 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 getOriginalParentTitle()
@JSON public 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 String getOriginalRedirectTitle()
@JSON public int getStatus()
WikiPageModel
getStatus
in interface WorkflowedModel
getStatus
in interface WikiPageModel
public void setStatus(int status)
WikiPageModel
setStatus
in interface WorkflowedModel
setStatus
in interface WikiPageModel
status
- the status of this wiki pagepublic int getOriginalStatus()
@JSON public long getStatusByUserId()
WikiPageModel
getStatusByUserId
in interface WorkflowedModel
getStatusByUserId
in interface WikiPageModel
public void setStatusByUserId(long statusByUserId)
WikiPageModel
setStatusByUserId
in interface WorkflowedModel
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 page@JSON public String getStatusByUserName()
WikiPageModel
getStatusByUserName
in interface WorkflowedModel
getStatusByUserName
in interface WikiPageModel
public void setStatusByUserName(String statusByUserName)
WikiPageModel
setStatusByUserName
in interface WorkflowedModel
setStatusByUserName
in interface WikiPageModel
statusByUserName
- the status by user name of this wiki page@JSON public Date getStatusDate()
WikiPageModel
getStatusDate
in interface WorkflowedModel
getStatusDate
in interface WikiPageModel
public void setStatusDate(Date statusDate)
WikiPageModel
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()
WikiPageModel
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()
WikiPageModel
true
if this wiki page is denied.
isDenied
in interface WikiPageModel
true
if this wiki page is denied; false
otherwisepublic boolean isDraft()
WikiPageModel
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()
WikiPageModel
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()
WikiPageModel
true
if this wiki page is inactive.
isInactive
in interface WikiPageModel
true
if this wiki page is inactive; false
otherwisepublic boolean isIncomplete()
WikiPageModel
true
if this wiki page is incomplete.
isIncomplete
in interface WikiPageModel
true
if this wiki page is incomplete; false
otherwisepublic boolean isPending()
WikiPageModel
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()
WikiPageModel
true
if this wiki page is scheduled.
isScheduled
in interface WikiPageModel
true
if this wiki page is scheduled; false
otherwisepublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WikiPage>
getExpandoBridge
in interface ClassedModel
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 contextServiceContext.getExpandoBridgeAttributes(
)
public WikiPage toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<WikiPage>
toEscapedModel
in interface WikiPageModel
toEscapedModel
in class BaseModelImpl<WikiPage>
AutoEscapeBeanHandler
public WikiPage toUnescapedModel()
toUnescapedModel
in interface BaseModel<WikiPage>
toUnescapedModel
in interface WikiPageModel
toUnescapedModel
in class BaseModelImpl<WikiPage>
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 void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<WikiPage>
resetOriginalValues
in class BaseModelImpl<WikiPage>
public CacheModel<WikiPage> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<WikiPage>
toCacheModel
in interface WikiPageModel
toCacheModel
in class BaseModelImpl<WikiPage>
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.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |