public class WikiPageResourceWrapper extends BaseModelWrapper<WikiPageResource> implements ModelWrapper<WikiPageResource>, WikiPageResource
This class is a wrapper for WikiPageResource.
WikiPageResource,
Serialized FormmodelRESOURCE_PRIM_KEY_ACCESSOR| Constructor and Description |
|---|
WikiPageResourceWrapper(WikiPageResource wikiPageResource) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCompanyId()
Returns the company ID of this wiki page resource.
|
long |
getGroupId()
Returns the group ID of this wiki page resource.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this wiki page resource.
|
long |
getNodeId()
Returns the node ID of this wiki page resource.
|
long |
getPrimaryKey()
Returns the primary key of this wiki page resource.
|
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.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setCompanyId(long companyId)
Sets the company ID of this wiki page resource.
|
void |
setGroupId(long groupId)
Sets the group ID of this wiki page resource.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this wiki page resource.
|
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 |
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.
|
protected WikiPageResourceWrapper |
wrap(WikiPageResource wikiPageResource) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetWrappedModelclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic WikiPageResourceWrapper(WikiPageResource wikiPageResource)
public 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 getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface WikiPageResourceModelpublic long getGroupId()
getGroupId in interface WikiPageResourceModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface WikiPageResourceModelpublic long getNodeId()
getNodeId in interface WikiPageResourceModelpublic long getPrimaryKey()
getPrimaryKey in interface WikiPageResourceModelpublic long getResourcePrimKey()
getResourcePrimKey in interface WikiPageResourceModelpublic java.lang.String getTitle()
getTitle in interface WikiPageResourceModelpublic java.lang.String getUuid()
getUuid in interface WikiPageResourceModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface WikiPageResourceModelcompanyId - the company ID of this wiki page resourcepublic void setGroupId(long groupId)
setGroupId in interface WikiPageResourceModelgroupId - the group ID of this wiki page resourcepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface WikiPageResourceModelmvccVersion - the mvcc version of this wiki page resourcepublic 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 setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey in interface WikiPageResourceModelresourcePrimKey - the resource prim key of this wiki page resourcepublic void setTitle(java.lang.String title)
setTitle in interface WikiPageResourceModeltitle - the title of this wiki page resourcepublic void setUuid(java.lang.String uuid)
setUuid in interface WikiPageResourceModeluuid - the uuid of this wiki page resourceprotected WikiPageResourceWrapper wrap(WikiPageResource wikiPageResource)
wrap in class BaseModelWrapper<WikiPageResource>