|
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<WikiPageResource> com.liferay.portlet.wiki.model.impl.WikiPageResourceModelImpl
public class WikiPageResourceModelImpl
The base model implementation for the WikiPageResource service. Represents a row in the "WikiPageResource" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface WikiPageResourceModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in WikiPageResourceImpl
.
WikiPageResourceImpl
,
WikiPageResource
,
WikiPageResourceModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NODEID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
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 |
UUID_COLUMN_BITMASK
|
Constructor Summary | |
---|---|
WikiPageResourceModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(WikiPageResource wikiPageResource)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getNodeId()
Returns the node ID of this wiki page resource. |
long |
getOriginalNodeId()
|
String |
getOriginalTitle()
|
String |
getOriginalUuid()
|
long |
getPrimaryKey()
Returns the primary key of this wiki page resource. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getResourcePrimKey()
Returns the resource prim key of this wiki page resource. |
String |
getTitle()
Returns the title of this wiki page resource. |
String |
getUuid()
Returns the uuid of this wiki page resource. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setNodeId(long nodeId)
Sets the node ID of this wiki page resource. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this wiki page resource. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this wiki page resource. |
void |
setTitle(String title)
Sets the title of this wiki page resource. |
void |
setUuid(String uuid)
Sets the uuid of this wiki page resource. |
CacheModel<WikiPageResource> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
WikiPageResource |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
WikiPageResource |
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.WikiPageResourceModel |
---|
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 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 NODEID_COLUMN_BITMASK
public static long TITLE_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public WikiPageResourceModelImpl()
Method Detail |
---|
public long getPrimaryKey()
WikiPageResourceModel
getPrimaryKey
in interface WikiPageResourceModel
public void setPrimaryKey(long primaryKey)
WikiPageResourceModel
setPrimaryKey
in interface WikiPageResourceModel
primaryKey
- the primary key of this wiki page resourcepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<WikiPageResource>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface WikiPageResourceModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<WikiPageResource>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface WikiPageResourceModel
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<WikiPageResource>
getModelAttributes
in class BaseModelImpl<WikiPageResource>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<WikiPageResource>
setModelAttributes
in class BaseModelImpl<WikiPageResource>
public String getUuid()
WikiPageResourceModel
getUuid
in interface WikiPageResourceModel
public void setUuid(String uuid)
WikiPageResourceModel
setUuid
in interface WikiPageResourceModel
uuid
- the uuid of this wiki page resourcepublic String getOriginalUuid()
public long getResourcePrimKey()
WikiPageResourceModel
getResourcePrimKey
in interface WikiPageResourceModel
public void setResourcePrimKey(long resourcePrimKey)
WikiPageResourceModel
setResourcePrimKey
in interface WikiPageResourceModel
resourcePrimKey
- the resource prim key of this wiki page resourcepublic long getNodeId()
WikiPageResourceModel
getNodeId
in interface WikiPageResourceModel
public void setNodeId(long nodeId)
WikiPageResourceModel
setNodeId
in interface WikiPageResourceModel
nodeId
- the node ID of this wiki page resourcepublic long getOriginalNodeId()
public String getTitle()
WikiPageResourceModel
getTitle
in interface WikiPageResourceModel
public void setTitle(String title)
WikiPageResourceModel
setTitle
in interface WikiPageResourceModel
title
- the title of this wiki page resourcepublic String getOriginalTitle()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WikiPageResource>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface WikiPageResourceModel
getExpandoBridge
in class BaseModelImpl<WikiPageResource>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<WikiPageResource>
setExpandoBridgeAttributes
in interface WikiPageResourceModel
setExpandoBridgeAttributes
in class BaseModelImpl<WikiPageResource>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public WikiPageResource toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<WikiPageResource>
toEscapedModel
in interface WikiPageResourceModel
toEscapedModel
in class BaseModelImpl<WikiPageResource>
AutoEscapeBeanHandler
public WikiPageResource toUnescapedModel()
toUnescapedModel
in interface BaseModel<WikiPageResource>
toUnescapedModel
in interface WikiPageResourceModel
toUnescapedModel
in class BaseModelImpl<WikiPageResource>
public Object clone()
BaseModel
clone
in interface BaseModel<WikiPageResource>
clone
in interface WikiPageResourceModel
clone
in class BaseModelImpl<WikiPageResource>
public int compareTo(WikiPageResource wikiPageResource)
compareTo
in interface WikiPageResourceModel
compareTo
in interface Comparable<WikiPageResource>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface WikiPageResourceModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<WikiPageResource>
resetOriginalValues
in class BaseModelImpl<WikiPageResource>
public CacheModel<WikiPageResource> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<WikiPageResource>
toCacheModel
in interface WikiPageResourceModel
toCacheModel
in class BaseModelImpl<WikiPageResource>
public String toString()
toString
in interface WikiPageResourceModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<WikiPageResource>
toXmlString
in interface WikiPageResourceModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |