|
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.portlet.wiki.model.WikiPageResourceWrapper
@ProviderType public class WikiPageResourceWrapper
This class is a wrapper for WikiPageResource.
WikiPageResource,
Serialized Form| Constructor Summary | |
|---|---|
WikiPageResourceWrapper(WikiPageResource wikiPageResource)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(WikiPageResource wikiPageResource)
|
boolean |
equals(Object obj)
|
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 |
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. |
WikiPageResource |
getWrappedModel()
|
WikiPageResource |
getWrappedWikiPageResource()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WikiPageResourceWrapper(WikiPageResource wikiPageResource)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<WikiPageResource>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<WikiPageResource>public Object clone()
BaseModel
clone in interface BaseModel<WikiPageResource>clone in interface WikiPageResourceModelclone in class Objectpublic int compareTo(WikiPageResource wikiPageResource)
compareTo in interface WikiPageResourceModelcompareTo in interface Comparable<WikiPageResource>public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<WikiPageResource>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface WikiPageResourceModelpublic long getNodeId()
getNodeId in interface WikiPageResourceModelpublic long getPrimaryKey()
getPrimaryKey in interface WikiPageResourceModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<WikiPageResource>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface WikiPageResourceModelpublic long getResourcePrimKey()
getResourcePrimKey in interface WikiPageResourceModelpublic String getTitle()
getTitle in interface WikiPageResourceModelpublic String getUuid()
getUuid in interface WikiPageResourceModelpublic int hashCode()
hashCode in interface WikiPageResourceModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<WikiPageResource>isCachedModel in interface WikiPageResourceModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<WikiPageResource>isEscapedModel in interface WikiPageResourceModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<WikiPageResource>isNew in interface WikiPageResourceModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<WikiPageResource>setCachedModel in interface WikiPageResourceModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<WikiPageResource>setExpandoBridgeAttributes in interface WikiPageResourceModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<WikiPageResource>setExpandoBridgeAttributes in interface WikiPageResourceModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<WikiPageResource>setExpandoBridgeAttributes in interface WikiPageResourceModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public void setNew(boolean n)
BaseModel
setNew in interface BaseModel<WikiPageResource>setNew in interface WikiPageResourceModeln - whether this model instance does not yet exist in the databasepublic void setNodeId(long nodeId)
setNodeId in interface WikiPageResourceModelnodeId - the node ID of this wiki page resourcepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface WikiPageResourceModelprimaryKey - the primary key of this wiki page resourcepublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<WikiPageResource>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface WikiPageResourceModelprimaryKeyObj - the primary key of this model instancepublic void setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey in interface WikiPageResourceModelresourcePrimKey - the resource prim key of this wiki page resourcepublic void setTitle(String title)
setTitle in interface WikiPageResourceModeltitle - the title of this wiki page resourcepublic void setUuid(String uuid)
setUuid in interface WikiPageResourceModeluuid - the uuid of this wiki page resourcepublic CacheModel<WikiPageResource> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<WikiPageResource>toCacheModel in interface WikiPageResourceModelpublic WikiPageResource toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<WikiPageResource>toEscapedModel in interface WikiPageResourceModelAutoEscapeBeanHandlerpublic String toString()
toString in interface WikiPageResourceModeltoString in class Objectpublic WikiPageResource toUnescapedModel()
toUnescapedModel in interface BaseModel<WikiPageResource>toUnescapedModel in interface WikiPageResourceModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<WikiPageResource>toXmlString in interface WikiPageResourceModelpublic boolean equals(Object obj)
equals in class Object@Deprecated public WikiPageResource getWrappedWikiPageResource()
getWrappedModel()
public WikiPageResource getWrappedModel()
getWrappedModel in interface ModelWrapper<WikiPageResource>public 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>
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||