@ProviderType public class WikiPageResourceWrapper extends java.lang.Object implements WikiPageResource, ModelWrapper<WikiPageResource>
This class is a wrapper for WikiPageResource.
WikiPageResource,
Serialized Form| Constructor and Description |
|---|
WikiPageResourceWrapper(WikiPageResource wikiPageResource) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(WikiPageResource wikiPageResource) |
boolean |
equals(java.lang.Object obj) |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getNodeId()
Returns the node ID of this wiki page resource.
|
long |
getPrimaryKey()
Returns the primary key of this wiki page resource.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getResourcePrimKey()
Returns the resource prim key of this wiki page resource.
|
java.lang.String |
getTitle()
Returns the title of this wiki page resource.
|
java.lang.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 |
isEscapedModel()
Returns
true if this model instance is escaped. |
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(java.util.Map<java.lang.String,java.lang.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(java.io.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(java.lang.String title)
Sets the title of this wiki page resource.
|
void |
setUuid(java.lang.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. |
java.lang.String |
toString() |
WikiPageResource |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public WikiPageResourceWrapper(WikiPageResource wikiPageResource)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<WikiPageResource>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<WikiPageResource>public long getPrimaryKey()
getPrimaryKey in interface WikiPageResourceModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface WikiPageResourceModelprimaryKey - the primary key of this wiki page resourcepublic java.lang.String getUuid()
getUuid in interface WikiPageResourceModelpublic void setUuid(java.lang.String uuid)
setUuid in interface WikiPageResourceModeluuid - the uuid of this wiki page resourcepublic long getResourcePrimKey()
getResourcePrimKey in interface WikiPageResourceModelpublic void setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey in interface WikiPageResourceModelresourcePrimKey - the resource prim key of this wiki page resourcepublic long getNodeId()
getNodeId in interface WikiPageResourceModelpublic void setNodeId(long nodeId)
setNodeId in interface WikiPageResourceModelnodeId - the node ID of this wiki page resourcepublic java.lang.String getTitle()
getTitle in interface WikiPageResourceModelpublic void setTitle(java.lang.String title)
setTitle in interface WikiPageResourceModeltitle - the title of this wiki page resourcepublic 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 setNew(boolean n)
BaseModelsetNew in interface BaseModel<WikiPageResource>setNew in interface WikiPageResourceModeln - whether this model instance does not yet exist in the databasepublic 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 void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<WikiPageResource>setCachedModel in interface WikiPageResourceModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<WikiPageResource>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface WikiPageResourceModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<WikiPageResource>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface WikiPageResourceModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<WikiPageResource>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface WikiPageResourceModelpublic 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)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<WikiPageResource>setExpandoBridgeAttributes in interface WikiPageResourceModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<WikiPageResource>clone in interface WikiPageResourceModelclone in class java.lang.Objectpublic int compareTo(WikiPageResource wikiPageResource)
compareTo in interface WikiPageResourceModelcompareTo in interface java.lang.Comparable<WikiPageResource>public int hashCode()
hashCode in interface WikiPageResourceModelhashCode in class java.lang.Objectpublic CacheModel<WikiPageResource> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<WikiPageResource>toCacheModel in interface WikiPageResourceModelpublic WikiPageResource toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<WikiPageResource>toEscapedModel in interface WikiPageResourceModelAutoEscapeBeanHandlerpublic WikiPageResource toUnescapedModel()
toUnescapedModel in interface BaseModel<WikiPageResource>toUnescapedModel in interface WikiPageResourceModelpublic java.lang.String toString()
toString in interface WikiPageResourceModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<WikiPageResource>toXmlString in interface WikiPageResourceModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic WikiPageResource getWrappedWikiPageResource()
getWrappedModel()public WikiPageResource getWrappedModel()
getWrappedModel in interface ModelWrapper<WikiPageResource>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<WikiPageResource>