@Deprecated public class ResourceBlockWrapper extends BaseModelWrapper<ResourceBlock> implements ModelWrapper<ResourceBlock>, ResourceBlock
This class is a wrapper for ResourceBlock.
ResourceBlock,
Serialized FormmodelRESOURCE_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.
|
Map<String,Object> |
getModelAttributes()
Deprecated.
|
long |
getMvccVersion()
Deprecated.
Returns the mvcc version of this resource block.
|
String |
getName()
Deprecated.
Returns the name of this resource block.
|
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(Map<String,Object> attributes)
Deprecated.
|
void |
setMvccVersion(long mvccVersion)
Deprecated.
Sets the mvcc version of this resource block.
|
void |
setName(String name)
Deprecated.
Sets the name of this resource block.
|
void |
setPermissionsHash(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, toXmlStringgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic ResourceBlockWrapper(ResourceBlock resourceBlock)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<ResourceBlock>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ResourceBlock>public long getCompanyId()
getCompanyId in interface ResourceBlockModelgetCompanyId in interface ShardedModelpublic long getGroupId()
getGroupId in interface ResourceBlockModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface ResourceBlockModelpublic String getName()
getName in interface ResourceBlockModelpublic String getPermissionsHash()
getPermissionsHash in interface ResourceBlockModelpublic long getPrimaryKey()
getPrimaryKey in interface ResourceBlockModelpublic long getReferenceCount()
getReferenceCount in interface ResourceBlockModelpublic long getResourceBlockId()
getResourceBlockId in interface PermissionedModelgetResourceBlockId in interface ResourceBlockModelpublic void persist()
ResourceBlock interface instead.persist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface ResourceBlockModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this resource blockpublic void setGroupId(long groupId)
setGroupId in interface ResourceBlockModelgroupId - the group ID of this resource blockpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface ResourceBlockModelmvccVersion - the mvcc version of this resource blockpublic void setName(String name)
setName in interface ResourceBlockModelname - the name of this resource blockpublic void setPermissionsHash(String permissionsHash)
setPermissionsHash in interface ResourceBlockModelpermissionsHash - the permissions hash of this resource blockpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ResourceBlockModelprimaryKey - the primary key of this resource blockpublic void setReferenceCount(long referenceCount)
setReferenceCount in interface ResourceBlockModelreferenceCount - the reference count of this resource blockpublic void setResourceBlockId(long resourceBlockId)
setResourceBlockId in interface PermissionedModelsetResourceBlockId in interface ResourceBlockModelresourceBlockId - the resource block ID of this resource blockprotected ResourceBlockWrapper wrap(ResourceBlock resourceBlock)
wrap in class BaseModelWrapper<ResourceBlock>