|
Liferay 6.2-ce-ga5 | |||||||||
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<WikiNode> com.liferay.portlet.wiki.model.impl.WikiNodeModelImpl
@JSON(strict=true) public class WikiNodeModelImpl
The base model implementation for the WikiNode service. Represents a row in the "WikiNode" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface WikiNodeModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in WikiNodeImpl
.
WikiNodeImpl
,
WikiNode
,
WikiNodeModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
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 String |
TX_MANAGER
|
static long |
UUID_COLUMN_BITMASK
|
Constructor Summary | |
---|---|
WikiNodeModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(WikiNode wikiNode)
|
boolean |
equals(Object obj)
|
boolean |
getApproved()
Deprecated. As of 6.1.0, replaced by isApproved() |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this wiki node. |
long |
getContainerModelId()
Returns the container model ID of this wiki node. |
String |
getContainerModelName()
Returns the container name of this wiki node. |
Date |
getCreateDate()
Returns the create date of this wiki node. |
String |
getDescription()
Returns the description of this wiki node. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this wiki node. |
Date |
getLastPostDate()
Returns the last post date of this wiki node. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this wiki node. |
String |
getName()
Returns the name of this wiki node. |
long |
getNodeId()
Returns the node ID of this wiki node. |
long |
getOriginalCompanyId()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
int |
getOriginalStatus()
|
String |
getOriginalUuid()
|
long |
getParentContainerModelId()
Returns the parent container model ID of this wiki node. |
long |
getPrimaryKey()
Returns the primary key of this wiki node. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
StagedModelType |
getStagedModelType()
|
int |
getStatus()
Returns the status of this wiki node. |
long |
getStatusByUserId()
Returns the status by user ID of this wiki node. |
String |
getStatusByUserName()
Returns the status by user name of this wiki node. |
String |
getStatusByUserUuid()
Returns the status by user uuid of this wiki node. |
Date |
getStatusDate()
Returns the status date of this wiki node. |
TrashEntry |
getTrashEntry()
Returns the trash entry created when this wiki node was moved to the Recycle Bin. |
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this wiki node. |
TrashHandler |
getTrashHandler()
Returns the trash handler for this wiki node. |
long |
getUserId()
Returns the user ID of this wiki node. |
String |
getUserName()
Returns the user name of this wiki node. |
String |
getUserUuid()
Returns the user uuid of this wiki node. |
String |
getUuid()
Returns the uuid of this wiki node. |
int |
hashCode()
|
boolean |
isApproved()
Returns true if this wiki node is approved. |
boolean |
isDenied()
Returns true if this wiki node is denied. |
boolean |
isDraft()
Returns true if this wiki node is a draft. |
boolean |
isExpired()
Returns true if this wiki node is expired. |
boolean |
isInactive()
Returns true if this wiki node is inactive. |
boolean |
isIncomplete()
Returns true if this wiki node is incomplete. |
boolean |
isInTrash()
Returns true if this wiki node is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns true if the parent of this wiki node is in the Recycle Bin. |
boolean |
isPending()
Returns true if this wiki node is pending. |
boolean |
isScheduled()
Returns true if this wiki node is scheduled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCompanyId(long companyId)
Sets the company ID of this wiki node. |
void |
setContainerModelId(long containerModelId)
Sets the container model ID of this wiki node. |
void |
setCreateDate(Date createDate)
Sets the create date of this wiki node. |
void |
setDescription(String description)
Sets the description of this wiki node. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this wiki node. |
void |
setLastPostDate(Date lastPostDate)
Sets the last post date of this wiki node. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this wiki node. |
void |
setName(String name)
Sets the name of this wiki node. |
void |
setNodeId(long nodeId)
Sets the node ID of this wiki node. |
void |
setParentContainerModelId(long parentContainerModelId)
Sets the parent container model ID of this wiki node. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this wiki node. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setStatus(int status)
Sets the status of this wiki node. |
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this wiki node. |
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this wiki node. |
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this wiki node. |
void |
setStatusDate(Date statusDate)
Sets the status date of this wiki node. |
void |
setUserId(long userId)
Sets the user ID of this wiki node. |
void |
setUserName(String userName)
Sets the user name of this wiki node. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this wiki node. |
void |
setUuid(String uuid)
Sets the uuid of this wiki node. |
CacheModel<WikiNode> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
WikiNode |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
static WikiNode |
toModel(WikiNodeSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<WikiNode> |
toModels(WikiNodeSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.wiki.model.WikiNodeModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
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 COMPANYID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long STATUS_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public WikiNodeModelImpl()
Method Detail |
---|
public static WikiNode toModel(WikiNodeSoap soapModel)
soapModel
- the soap model instance to convert
public static List<WikiNode> toModels(WikiNodeSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
WikiNodeModel
getPrimaryKey
in interface WikiNodeModel
public void setPrimaryKey(long primaryKey)
WikiNodeModel
setPrimaryKey
in interface WikiNodeModel
primaryKey
- the primary key of this wiki nodepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<WikiNode>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface WikiNodeModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<WikiNode>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface WikiNodeModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
getModelClass
in interface ContainerModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
getModelClassName
in interface ContainerModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<WikiNode>
getModelAttributes
in class BaseModelImpl<WikiNode>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<WikiNode>
setModelAttributes
in class BaseModelImpl<WikiNode>
@JSON public String getUuid()
WikiNodeModel
getUuid
in interface StagedModel
getUuid
in interface WikiNodeModel
public void setUuid(String uuid)
WikiNodeModel
setUuid
in interface StagedModel
setUuid
in interface WikiNodeModel
uuid
- the uuid of this wiki nodepublic String getOriginalUuid()
@JSON public long getNodeId()
WikiNodeModel
getNodeId
in interface WikiNodeModel
public void setNodeId(long nodeId)
WikiNodeModel
setNodeId
in interface WikiNodeModel
nodeId
- the node ID of this wiki node@JSON public long getGroupId()
WikiNodeModel
getGroupId
in interface GroupedModel
getGroupId
in interface WikiNodeModel
public void setGroupId(long groupId)
WikiNodeModel
setGroupId
in interface GroupedModel
setGroupId
in interface WikiNodeModel
groupId
- the group ID of this wiki nodepublic long getOriginalGroupId()
@JSON public long getCompanyId()
WikiNodeModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface WikiNodeModel
public void setCompanyId(long companyId)
WikiNodeModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface WikiNodeModel
companyId
- the company ID of this wiki nodepublic long getOriginalCompanyId()
@JSON public long getUserId()
WikiNodeModel
getUserId
in interface AuditedModel
getUserId
in interface WikiNodeModel
public void setUserId(long userId)
WikiNodeModel
setUserId
in interface AuditedModel
setUserId
in interface WikiNodeModel
userId
- the user ID of this wiki nodepublic String getUserUuid() throws SystemException
WikiNodeModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface WikiNodeModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
WikiNodeModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface WikiNodeModel
userUuid
- the user uuid of this wiki node@JSON public String getUserName()
WikiNodeModel
getUserName
in interface AuditedModel
getUserName
in interface WikiNodeModel
public void setUserName(String userName)
WikiNodeModel
setUserName
in interface AuditedModel
setUserName
in interface WikiNodeModel
userName
- the user name of this wiki node@JSON public Date getCreateDate()
WikiNodeModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface WikiNodeModel
public void setCreateDate(Date createDate)
WikiNodeModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
setCreateDate
in interface WikiNodeModel
createDate
- the create date of this wiki node@JSON public Date getModifiedDate()
WikiNodeModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface WikiNodeModel
public void setModifiedDate(Date modifiedDate)
WikiNodeModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
setModifiedDate
in interface WikiNodeModel
modifiedDate
- the modified date of this wiki node@JSON public String getName()
WikiNodeModel
getName
in interface WikiNodeModel
public void setName(String name)
WikiNodeModel
setName
in interface WikiNodeModel
name
- the name of this wiki nodepublic String getOriginalName()
@JSON public String getDescription()
WikiNodeModel
getDescription
in interface WikiNodeModel
public void setDescription(String description)
WikiNodeModel
setDescription
in interface WikiNodeModel
description
- the description of this wiki node@JSON public Date getLastPostDate()
WikiNodeModel
getLastPostDate
in interface WikiNodeModel
public void setLastPostDate(Date lastPostDate)
WikiNodeModel
setLastPostDate
in interface WikiNodeModel
lastPostDate
- the last post date of this wiki node@JSON public int getStatus()
WikiNodeModel
getStatus
in interface TrashedModel
getStatus
in interface WorkflowedModel
getStatus
in interface WikiNodeModel
public void setStatus(int status)
WikiNodeModel
setStatus
in interface WorkflowedModel
setStatus
in interface WikiNodeModel
status
- the status of this wiki nodepublic int getOriginalStatus()
@JSON public long getStatusByUserId()
WikiNodeModel
getStatusByUserId
in interface WorkflowedModel
getStatusByUserId
in interface WikiNodeModel
public void setStatusByUserId(long statusByUserId)
WikiNodeModel
setStatusByUserId
in interface WorkflowedModel
setStatusByUserId
in interface WikiNodeModel
statusByUserId
- the status by user ID of this wiki nodepublic String getStatusByUserUuid() throws SystemException
WikiNodeModel
getStatusByUserUuid
in interface WorkflowedModel
getStatusByUserUuid
in interface WikiNodeModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
WikiNodeModel
setStatusByUserUuid
in interface WorkflowedModel
setStatusByUserUuid
in interface WikiNodeModel
statusByUserUuid
- the status by user uuid of this wiki node@JSON public String getStatusByUserName()
WikiNodeModel
getStatusByUserName
in interface WorkflowedModel
getStatusByUserName
in interface WikiNodeModel
public void setStatusByUserName(String statusByUserName)
WikiNodeModel
setStatusByUserName
in interface WorkflowedModel
setStatusByUserName
in interface WikiNodeModel
statusByUserName
- the status by user name of this wiki node@JSON public Date getStatusDate()
WikiNodeModel
getStatusDate
in interface WorkflowedModel
getStatusDate
in interface WikiNodeModel
public void setStatusDate(Date statusDate)
WikiNodeModel
setStatusDate
in interface WorkflowedModel
setStatusDate
in interface WikiNodeModel
statusDate
- the status date of this wiki nodepublic long getContainerModelId()
WikiNodeModel
getContainerModelId
in interface ContainerModel
getContainerModelId
in interface WikiNodeModel
public void setContainerModelId(long containerModelId)
WikiNodeModel
setContainerModelId
in interface ContainerModel
setContainerModelId
in interface WikiNodeModel
containerModelId
- the container model ID of this wiki nodepublic String getContainerModelName()
WikiNodeModel
getContainerModelName
in interface ContainerModel
getContainerModelName
in interface WikiNodeModel
public long getParentContainerModelId()
WikiNodeModel
getParentContainerModelId
in interface ContainerModel
getParentContainerModelId
in interface WikiNodeModel
public void setParentContainerModelId(long parentContainerModelId)
WikiNodeModel
setParentContainerModelId
in interface ContainerModel
setParentContainerModelId
in interface WikiNodeModel
parentContainerModelId
- the parent container model ID of this wiki nodepublic StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public TrashEntry getTrashEntry() throws PortalException, SystemException
WikiNodeModel
getTrashEntry
in interface TrashedModel
getTrashEntry
in interface WikiNodeModel
SystemException
- if a system exception occurred
PortalException
public long getTrashEntryClassPK()
WikiNodeModel
getTrashEntryClassPK
in interface TrashedModel
getTrashEntryClassPK
in interface WikiNodeModel
public TrashHandler getTrashHandler()
WikiNodeModel
getTrashHandler
in interface TrashedModel
getTrashHandler
in interface WikiNodeModel
public boolean isInTrash()
WikiNodeModel
true
if this wiki node is in the Recycle Bin.
isInTrash
in interface TrashedModel
isInTrash
in interface WikiNodeModel
true
if this wiki node is in the Recycle Bin; false
otherwisepublic boolean isInTrashContainer()
WikiNodeModel
true
if the parent of this wiki node is in the Recycle Bin.
isInTrashContainer
in interface TrashedModel
isInTrashContainer
in interface WikiNodeModel
true
if the parent of this wiki node is in the Recycle Bin; false
otherwisepublic boolean getApproved()
isApproved()
getApproved
in interface WorkflowedModel
getApproved
in interface WikiNodeModel
public boolean isApproved()
WikiNodeModel
true
if this wiki node is approved.
isApproved
in interface WorkflowedModel
isApproved
in interface WikiNodeModel
true
if this wiki node is approved; false
otherwisepublic boolean isDenied()
WikiNodeModel
true
if this wiki node is denied.
isDenied
in interface WorkflowedModel
isDenied
in interface WikiNodeModel
true
if this wiki node is denied; false
otherwisepublic boolean isDraft()
WikiNodeModel
true
if this wiki node is a draft.
isDraft
in interface WorkflowedModel
isDraft
in interface WikiNodeModel
true
if this wiki node is a draft; false
otherwisepublic boolean isExpired()
WikiNodeModel
true
if this wiki node is expired.
isExpired
in interface WorkflowedModel
isExpired
in interface WikiNodeModel
true
if this wiki node is expired; false
otherwisepublic boolean isInactive()
WikiNodeModel
true
if this wiki node is inactive.
isInactive
in interface WorkflowedModel
isInactive
in interface WikiNodeModel
true
if this wiki node is inactive; false
otherwisepublic boolean isIncomplete()
WikiNodeModel
true
if this wiki node is incomplete.
isIncomplete
in interface WorkflowedModel
isIncomplete
in interface WikiNodeModel
true
if this wiki node is incomplete; false
otherwisepublic boolean isPending()
WikiNodeModel
true
if this wiki node is pending.
isPending
in interface WorkflowedModel
isPending
in interface WikiNodeModel
true
if this wiki node is pending; false
otherwisepublic boolean isScheduled()
WikiNodeModel
true
if this wiki node is scheduled.
isScheduled
in interface WorkflowedModel
isScheduled
in interface WikiNodeModel
true
if this wiki node is scheduled; false
otherwisepublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WikiNode>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface WikiNodeModel
getExpandoBridge
in class BaseModelImpl<WikiNode>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<WikiNode>
setExpandoBridgeAttributes
in interface WikiNodeModel
setExpandoBridgeAttributes
in class BaseModelImpl<WikiNode>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public WikiNode toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<WikiNode>
toEscapedModel
in interface WikiNodeModel
toEscapedModel
in class BaseModelImpl<WikiNode>
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BaseModel<WikiNode>
clone
in interface StagedModel
clone
in interface WikiNodeModel
clone
in class BaseModelImpl<WikiNode>
public int compareTo(WikiNode wikiNode)
compareTo
in interface WikiNodeModel
compareTo
in interface Comparable<WikiNode>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface WikiNodeModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<WikiNode>
resetOriginalValues
in class BaseModelImpl<WikiNode>
public CacheModel<WikiNode> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<WikiNode>
toCacheModel
in interface WikiNodeModel
toCacheModel
in class BaseModelImpl<WikiNode>
public String toString()
toString
in interface WikiNodeModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<WikiNode>
toXmlString
in interface WikiNodeModel
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |