|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<WikiPageResource>
com.liferay.portlet.wiki.model.impl.WikiPageResourceModelImpl
@ProviderType 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 Form| Field 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 |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
RESOURCEPRIMKEY_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()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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()
|
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.WikiPageResourceModel |
|---|
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 final long NODEID_COLUMN_BITMASK
public static final long TITLE_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long RESOURCEPRIMKEY_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public WikiPageResourceModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
WikiPageResourceModel
getPrimaryKey in interface WikiPageResourceModelpublic void setPrimaryKey(long primaryKey)
WikiPageResourceModel
setPrimaryKey in interface WikiPageResourceModelprimaryKey - the primary key of this wiki page resourcepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<WikiPageResource>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface WikiPageResourceModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<WikiPageResource>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface WikiPageResourceModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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 WikiPageResourceModelpublic void setUuid(String uuid)
WikiPageResourceModel
setUuid in interface WikiPageResourceModeluuid - the uuid of this wiki page resourcepublic String getOriginalUuid()
public long getResourcePrimKey()
WikiPageResourceModel
getResourcePrimKey in interface WikiPageResourceModelpublic void setResourcePrimKey(long resourcePrimKey)
WikiPageResourceModel
setResourcePrimKey in interface WikiPageResourceModelresourcePrimKey - the resource prim key of this wiki page resourcepublic long getNodeId()
WikiPageResourceModel
getNodeId in interface WikiPageResourceModelpublic void setNodeId(long nodeId)
WikiPageResourceModel
setNodeId in interface WikiPageResourceModelnodeId - the node ID of this wiki page resourcepublic long getOriginalNodeId()
public String getTitle()
WikiPageResourceModel
getTitle in interface WikiPageResourceModelpublic void setTitle(String title)
WikiPageResourceModel
setTitle in interface WikiPageResourceModeltitle - the title of this wiki page resourcepublic String getOriginalTitle()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<WikiPageResource>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface WikiPageResourceModelgetExpandoBridge in class BaseModelImpl<WikiPageResource>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<WikiPageResource>setExpandoBridgeAttributes in interface WikiPageResourceModelsetExpandoBridgeAttributes in class BaseModelImpl<WikiPageResource>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public WikiPageResource toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<WikiPageResource>toEscapedModel in interface WikiPageResourceModeltoEscapedModel in class BaseModelImpl<WikiPageResource>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<WikiPageResource>clone in interface WikiPageResourceModelclone in class BaseModelImpl<WikiPageResource>public int compareTo(WikiPageResource wikiPageResource)
compareTo in interface WikiPageResourceModelcompareTo in interface Comparable<WikiPageResource>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface WikiPageResourceModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<WikiPageResource>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<WikiPageResource>true if this model's finder cache is enabled;
false otherwisepublic 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 WikiPageResourceModeltoCacheModel in class BaseModelImpl<WikiPageResource>public String toString()
toString in interface WikiPageResourceModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<WikiPageResource>toXmlString in interface WikiPageResourceModel
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||