|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 Form| Field 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 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)
|
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID 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. |
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()
|
String |
getOriginalUuid()
|
long |
getPrimaryKey()
Returns the primary key of this wiki node. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
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()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCompanyId(long companyId)
Sets the company 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 |
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 |
setPrimaryKey(long primaryKey)
Sets the primary key of this wiki node. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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, setNew |
| 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, 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 COMPANYID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long NAME_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 WikiNodeModelpublic void setPrimaryKey(long primaryKey)
WikiNodeModel
setPrimaryKey in interface WikiNodeModelprimaryKey - the primary key of this wiki nodepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<WikiNode>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface WikiNodeModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<WikiNode>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface WikiNodeModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModel@JSON public String getUuid()
WikiNodeModel
getUuid in interface WikiNodeModelpublic void setUuid(String uuid)
WikiNodeModel
setUuid in interface WikiNodeModeluuid - the uuid of this wiki nodepublic String getOriginalUuid()
@JSON public long getNodeId()
WikiNodeModel
getNodeId in interface WikiNodeModelpublic void setNodeId(long nodeId)
WikiNodeModel
setNodeId in interface WikiNodeModelnodeId - the node ID of this wiki node@JSON public long getGroupId()
WikiNodeModel
getGroupId in interface GroupedModelgetGroupId in interface WikiNodeModelpublic void setGroupId(long groupId)
WikiNodeModel
setGroupId in interface GroupedModelsetGroupId in interface WikiNodeModelgroupId - the group ID of this wiki nodepublic long getOriginalGroupId()
@JSON public long getCompanyId()
WikiNodeModel
getCompanyId in interface AuditedModelgetCompanyId in interface WikiNodeModelpublic void setCompanyId(long companyId)
WikiNodeModel
setCompanyId in interface AuditedModelsetCompanyId in interface WikiNodeModelcompanyId - the company ID of this wiki nodepublic long getOriginalCompanyId()
@JSON public long getUserId()
WikiNodeModel
getUserId in interface AuditedModelgetUserId in interface WikiNodeModelpublic void setUserId(long userId)
WikiNodeModel
setUserId in interface AuditedModelsetUserId in interface WikiNodeModeluserId - the user ID of this wiki node
public String getUserUuid()
throws SystemException
WikiNodeModel
getUserUuid in interface AuditedModelgetUserUuid in interface WikiNodeModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
WikiNodeModel
setUserUuid in interface AuditedModelsetUserUuid in interface WikiNodeModeluserUuid - the user uuid of this wiki node@JSON public String getUserName()
WikiNodeModel
getUserName in interface AuditedModelgetUserName in interface WikiNodeModelpublic void setUserName(String userName)
WikiNodeModel
setUserName in interface AuditedModelsetUserName in interface WikiNodeModeluserName - the user name of this wiki node@JSON public Date getCreateDate()
WikiNodeModel
getCreateDate in interface AuditedModelgetCreateDate in interface WikiNodeModelpublic void setCreateDate(Date createDate)
WikiNodeModel
setCreateDate in interface AuditedModelsetCreateDate in interface WikiNodeModelcreateDate - the create date of this wiki node@JSON public Date getModifiedDate()
WikiNodeModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface WikiNodeModelpublic void setModifiedDate(Date modifiedDate)
WikiNodeModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface WikiNodeModelmodifiedDate - the modified date of this wiki node@JSON public String getName()
WikiNodeModel
getName in interface WikiNodeModelpublic void setName(String name)
WikiNodeModel
setName in interface WikiNodeModelname - the name of this wiki nodepublic String getOriginalName()
@JSON public String getDescription()
WikiNodeModel
getDescription in interface WikiNodeModelpublic void setDescription(String description)
WikiNodeModel
setDescription in interface WikiNodeModeldescription - the description of this wiki node@JSON public Date getLastPostDate()
WikiNodeModel
getLastPostDate in interface WikiNodeModelpublic void setLastPostDate(Date lastPostDate)
WikiNodeModel
setLastPostDate in interface WikiNodeModellastPostDate - the last post date of this wiki nodepublic long getColumnBitmask()
public WikiNode toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<WikiNode>toEscapedModel in interface WikiNodeModeltoEscapedModel in class BaseModelImpl<WikiNode>AutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<WikiNode>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface WikiNodeModelgetExpandoBridge in class BaseModelImpl<WikiNode>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<WikiNode>setExpandoBridgeAttributes in interface WikiNodeModelsetExpandoBridgeAttributes in class BaseModelImpl<WikiNode>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<WikiNode>clone in interface WikiNodeModelclone in class BaseModelImpl<WikiNode>public int compareTo(WikiNode wikiNode)
compareTo in interface WikiNodeModelcompareTo in interface Comparable<WikiNode>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface WikiNodeModelhashCode in class Objectpublic 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 WikiNodeModeltoCacheModel in class BaseModelImpl<WikiNode>public String toString()
toString in interface WikiNodeModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<WikiNode>toXmlString in interface WikiNodeModel
|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||