@Deprecated @ProviderType public interface ResourceBlockModel extends BaseModel<ResourceBlock>, MVCCModel, ShardedModel
This interface and its corresponding implementation ResourceBlockModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ResourceBlockImpl
.
ResourceBlock
,
ResourceBlockImpl
,
ResourceBlockModelImpl
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Deprecated.
Creates a shallow clone of this model instance.
|
int |
compareTo(ResourceBlock resourceBlock)
Deprecated.
|
long |
getCompanyId()
Deprecated.
Returns the company ID of this resource block.
|
ExpandoBridge |
getExpandoBridge()
Deprecated.
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Deprecated.
Returns the group ID of this resource block.
|
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.
|
java.io.Serializable |
getPrimaryKeyObj()
Deprecated.
Returns the primary key of this model instance.
|
long |
getReferenceCount()
Deprecated.
Returns the reference count of this resource block.
|
long |
getResourceBlockId()
Deprecated.
Returns the resource block ID of this resource block.
|
int |
hashCode()
Deprecated.
|
boolean |
isCachedModel()
Deprecated.
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Deprecated.
Returns
true if this model instance is escaped. |
boolean |
isNew()
Deprecated.
Returns
true if this model instance does not yet exist in
the database. |
void |
setCachedModel(boolean cachedModel)
Deprecated.
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCompanyId(long companyId)
Deprecated.
Sets the company ID of this resource block.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
Deprecated.
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Deprecated.
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Deprecated.
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setGroupId(long groupId)
Deprecated.
Sets the group ID of this resource block.
|
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 |
setNew(boolean n)
Deprecated.
Sets whether this model instance does not yet exist in the database.
|
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 |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Deprecated.
Sets the primary key of this model instance.
|
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.
|
CacheModel<ResourceBlock> |
toCacheModel()
Deprecated.
Returns a cache model object for this entity used by entity cache.
|
ResourceBlock |
toEscapedModel()
Deprecated.
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
java.lang.String |
toString()
Deprecated.
|
ResourceBlock |
toUnescapedModel()
Deprecated.
|
java.lang.String |
toXmlString()
Deprecated.
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this resource blocklong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this resource blocklong getResourceBlockId()
void setResourceBlockId(long resourceBlockId)
resourceBlockId
- the resource block ID of this resource blocklong getCompanyId()
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
companyId
- the company ID of this resource blocklong getGroupId()
void setGroupId(long groupId)
groupId
- the group ID of this resource block@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name
- the name of this resource block@AutoEscape java.lang.String getPermissionsHash()
void setPermissionsHash(java.lang.String permissionsHash)
permissionsHash
- the permissions hash of this resource blocklong getReferenceCount()
void setReferenceCount(long referenceCount)
referenceCount
- the reference count of this resource blockboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<ResourceBlock>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<ResourceBlock>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<ResourceBlock>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<ResourceBlock>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<ResourceBlock>
true
if this model instance is escaped;
false
otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ResourceBlock>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ResourceBlock>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ResourceBlock>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<ResourceBlock>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<ResourceBlock>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ResourceBlock>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
java.lang.Object clone()
BaseModel
clone
in interface BaseModel<ResourceBlock>
int compareTo(ResourceBlock resourceBlock)
compareTo
in interface java.lang.Comparable<ResourceBlock>
int hashCode()
hashCode
in class java.lang.Object
CacheModel<ResourceBlock> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ResourceBlock>
ResourceBlock toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<ResourceBlock>
AutoEscapeBeanHandler
ResourceBlock toUnescapedModel()
toUnescapedModel
in interface BaseModel<ResourceBlock>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ResourceBlock>