@Deprecated public class ResourceBlockWrapper extends BaseModelWrapper<ResourceBlock> implements ModelWrapper<ResourceBlock>, ResourceBlock
This class is a wrapper for ResourceBlock
.
ResourceBlock
,
Serialized Formmodel
RESOURCE_BLOCK_ID_ACCESSOR
Constructor and Description |
---|
ResourceBlockWrapper(ResourceBlock resourceBlock)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
getCompanyId()
Deprecated.
Returns the company ID of this resource block.
|
long |
getGroupId()
Deprecated.
Returns the group ID of this resource block.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes()
Deprecated.
|
long |
getMvccVersion()
Deprecated.
Returns the mvcc version of this resource block.
|
java.lang.String |
getName()
Deprecated.
Returns the name of this resource block.
|
java.lang.String |
getPermissionsHash()
Deprecated.
Returns the permissions hash of this resource block.
|
long |
getPrimaryKey()
Deprecated.
Returns the primary key of this resource block.
|
long |
getReferenceCount()
Deprecated.
Returns the reference count of this resource block.
|
long |
getResourceBlockId()
Deprecated.
Returns the resource block ID of this resource block.
|
void |
persist()
Deprecated.
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setCompanyId(long companyId)
Deprecated.
Sets the company ID of this resource block.
|
void |
setGroupId(long groupId)
Deprecated.
Sets the group ID of this resource block.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
Deprecated.
|
void |
setMvccVersion(long mvccVersion)
Deprecated.
Sets the mvcc version of this resource block.
|
void |
setName(java.lang.String name)
Deprecated.
Sets the name of this resource block.
|
void |
setPermissionsHash(java.lang.String permissionsHash)
Deprecated.
Sets the permissions hash of this resource block.
|
void |
setPrimaryKey(long primaryKey)
Deprecated.
Sets the primary key of this resource block.
|
void |
setReferenceCount(long referenceCount)
Deprecated.
Sets the reference count of this resource block.
|
void |
setResourceBlockId(long resourceBlockId)
Deprecated.
Sets the resource block ID of this resource block.
|
protected ResourceBlockWrapper |
wrap(ResourceBlock resourceBlock)
Deprecated.
|
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public ResourceBlockWrapper(ResourceBlock resourceBlock)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface BaseModel<ResourceBlock>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface BaseModel<ResourceBlock>
public long getCompanyId()
getCompanyId
in interface ResourceBlockModel
getCompanyId
in interface ShardedModel
public long getGroupId()
getGroupId
in interface ResourceBlockModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface ResourceBlockModel
public java.lang.String getName()
getName
in interface ResourceBlockModel
public java.lang.String getPermissionsHash()
getPermissionsHash
in interface ResourceBlockModel
public long getPrimaryKey()
getPrimaryKey
in interface ResourceBlockModel
public long getReferenceCount()
getReferenceCount
in interface ResourceBlockModel
public long getResourceBlockId()
getResourceBlockId
in interface PermissionedModel
getResourceBlockId
in interface ResourceBlockModel
public void persist()
ResourceBlock
interface instead.persist
in interface PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface ResourceBlockModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this resource blockpublic void setGroupId(long groupId)
setGroupId
in interface ResourceBlockModel
groupId
- the group ID of this resource blockpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface ResourceBlockModel
mvccVersion
- the mvcc version of this resource blockpublic void setName(java.lang.String name)
setName
in interface ResourceBlockModel
name
- the name of this resource blockpublic void setPermissionsHash(java.lang.String permissionsHash)
setPermissionsHash
in interface ResourceBlockModel
permissionsHash
- the permissions hash of this resource blockpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ResourceBlockModel
primaryKey
- the primary key of this resource blockpublic void setReferenceCount(long referenceCount)
setReferenceCount
in interface ResourceBlockModel
referenceCount
- the reference count of this resource blockpublic void setResourceBlockId(long resourceBlockId)
setResourceBlockId
in interface PermissionedModel
setResourceBlockId
in interface ResourceBlockModel
resourceBlockId
- the resource block ID of this resource blockprotected ResourceBlockWrapper wrap(ResourceBlock resourceBlock)
wrap
in class BaseModelWrapper<ResourceBlock>