@Deprecated @ProviderType public class ResourceTypePermissionWrapper extends Object implements ResourceTypePermission, ModelWrapper<ResourceTypePermission>
This class is a wrapper for ResourceTypePermission
.
ResourceTypePermission
,
Serialized FormRESOURCE_TYPE_PERMISSION_ID_ACCESSOR
Constructor and Description |
---|
ResourceTypePermissionWrapper(ResourceTypePermission resourceTypePermission)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Deprecated.
Creates a shallow clone of this model instance.
|
int |
compareTo(ResourceTypePermission resourceTypePermission)
Deprecated.
|
boolean |
equals(Object obj)
Deprecated.
|
long |
getActionIds()
Deprecated.
Returns the action IDs of this resource type permission.
|
long |
getCompanyId()
Deprecated.
Returns the company ID of this resource type permission.
|
ExpandoBridge |
getExpandoBridge()
Deprecated.
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Deprecated.
Returns the group ID of this resource type permission.
|
Map<String,Object> |
getModelAttributes()
Deprecated.
|
Class<?> |
getModelClass()
Deprecated.
|
String |
getModelClassName()
Deprecated.
|
long |
getMvccVersion()
Deprecated.
Returns the mvcc version of this resource type permission.
|
String |
getName()
Deprecated.
Returns the name of this resource type permission.
|
long |
getPrimaryKey()
Deprecated.
Returns the primary key of this resource type permission.
|
Serializable |
getPrimaryKeyObj()
Deprecated.
Returns the primary key of this model instance.
|
long |
getResourceTypePermissionId()
Deprecated.
Returns the resource type permission ID of this resource type permission.
|
long |
getRoleId()
Deprecated.
Returns the role ID of this resource type permission.
|
ResourceTypePermission |
getWrappedModel()
Deprecated.
|
boolean |
hasAction(ResourceAction resourceAction)
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isCachedModel()
Deprecated.
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isCompanyScope()
Deprecated.
|
boolean |
isEntityCacheEnabled()
Deprecated.
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Deprecated.
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Deprecated.
Returns
true if this model's finder cache is enabled. |
boolean |
isGroupScope()
Deprecated.
|
boolean |
isNew()
Deprecated.
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Deprecated.
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Deprecated.
Reset all original fields to current values.
|
void |
setActionIds(long actionIds)
Deprecated.
Sets the action IDs of this resource type permission.
|
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 type permission.
|
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 type permission.
|
void |
setModelAttributes(Map<String,Object> attributes)
Deprecated.
|
void |
setMvccVersion(long mvccVersion)
Deprecated.
Sets the mvcc version of this resource type permission.
|
void |
setName(String name)
Deprecated.
Sets the name of this resource type permission.
|
void |
setNew(boolean n)
Deprecated.
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Deprecated.
Sets the primary key of this resource type permission.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Deprecated.
Sets the primary key of this model instance.
|
void |
setResourceTypePermissionId(long resourceTypePermissionId)
Deprecated.
Sets the resource type permission ID of this resource type permission.
|
void |
setRoleId(long roleId)
Deprecated.
Sets the role ID of this resource type permission.
|
CacheModel<ResourceTypePermission> |
toCacheModel()
Deprecated.
Returns a cache model object for this entity used by entity cache.
|
ResourceTypePermission |
toEscapedModel()
Deprecated.
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString()
Deprecated.
|
ResourceTypePermission |
toUnescapedModel()
Deprecated.
|
String |
toXmlString()
Deprecated.
Returns the XML representation of this model instance.
|
public ResourceTypePermissionWrapper(ResourceTypePermission resourceTypePermission)
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<ResourceTypePermission>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<ResourceTypePermission>
public Object clone()
BaseModel
clone
in interface BaseModel<ResourceTypePermission>
clone
in interface ResourceTypePermissionModel
clone
in class Object
public int compareTo(ResourceTypePermission resourceTypePermission)
compareTo
in interface ResourceTypePermissionModel
compareTo
in interface Comparable<ResourceTypePermission>
public long getActionIds()
getActionIds
in interface ResourceTypePermissionModel
public long getCompanyId()
getCompanyId
in interface ResourceTypePermissionModel
getCompanyId
in interface ShardedModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ResourceTypePermission>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ResourceTypePermissionModel
public long getGroupId()
getGroupId
in interface ResourceTypePermissionModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface ResourceTypePermissionModel
public String getName()
getName
in interface ResourceTypePermissionModel
public long getPrimaryKey()
getPrimaryKey
in interface ResourceTypePermissionModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ResourceTypePermission>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface ResourceTypePermissionModel
public long getResourceTypePermissionId()
getResourceTypePermissionId
in interface ResourceTypePermissionModel
public long getRoleId()
getRoleId
in interface ResourceTypePermissionModel
public boolean hasAction(ResourceAction resourceAction)
hasAction
in interface ResourceTypePermission
public int hashCode()
hashCode
in interface ResourceTypePermissionModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<ResourceTypePermission>
isCachedModel
in interface ResourceTypePermissionModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isCompanyScope()
isCompanyScope
in interface ResourceTypePermission
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<ResourceTypePermission>
isEscapedModel
in interface ResourceTypePermissionModel
true
if this model instance is escaped;
false
otherwisepublic boolean isGroupScope()
isGroupScope
in interface ResourceTypePermission
public boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<ResourceTypePermission>
isNew
in interface ResourceTypePermissionModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setActionIds(long actionIds)
setActionIds
in interface ResourceTypePermissionModel
actionIds
- the action IDs of this resource type permissionpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<ResourceTypePermission>
setCachedModel
in interface ResourceTypePermissionModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setCompanyId(long companyId)
setCompanyId
in interface ResourceTypePermissionModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this resource type permissionpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<ResourceTypePermission>
setExpandoBridgeAttributes
in interface ResourceTypePermissionModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<ResourceTypePermission>
setExpandoBridgeAttributes
in interface ResourceTypePermissionModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ResourceTypePermission>
setExpandoBridgeAttributes
in interface ResourceTypePermissionModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setGroupId(long groupId)
setGroupId
in interface ResourceTypePermissionModel
groupId
- the group ID of this resource type permissionpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface ResourceTypePermissionModel
mvccVersion
- the mvcc version of this resource type permissionpublic void setName(String name)
setName
in interface ResourceTypePermissionModel
name
- the name of this resource type permissionpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<ResourceTypePermission>
setNew
in interface ResourceTypePermissionModel
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ResourceTypePermissionModel
primaryKey
- the primary key of this resource type permissionpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ResourceTypePermission>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface ResourceTypePermissionModel
primaryKeyObj
- the primary key of this model instancepublic void setResourceTypePermissionId(long resourceTypePermissionId)
setResourceTypePermissionId
in interface ResourceTypePermissionModel
resourceTypePermissionId
- the resource type permission ID of this resource type permissionpublic void setRoleId(long roleId)
setRoleId
in interface ResourceTypePermissionModel
roleId
- the role ID of this resource type permissionpublic CacheModel<ResourceTypePermission> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ResourceTypePermission>
toCacheModel
in interface ResourceTypePermissionModel
public ResourceTypePermission toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<ResourceTypePermission>
toEscapedModel
in interface ResourceTypePermissionModel
AutoEscapeBeanHandler
public String toString()
toString
in interface ResourceTypePermissionModel
toString
in class Object
public ResourceTypePermission toUnescapedModel()
toUnescapedModel
in interface BaseModel<ResourceTypePermission>
toUnescapedModel
in interface ResourceTypePermissionModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ResourceTypePermission>
toXmlString
in interface ResourceTypePermissionModel
public boolean equals(Object obj)
equals
in class Object
public ResourceTypePermission getWrappedModel()
getWrappedModel
in interface ModelWrapper<ResourceTypePermission>
public boolean isEntityCacheEnabled()
BaseModel
true
if this model's entity cache is enabled.isEntityCacheEnabled
in interface BaseModel<ResourceTypePermission>
true
if this model's entity cache is enabled;
false
otherwisepublic boolean isFinderCacheEnabled()
BaseModel
true
if this model's finder cache is enabled.isFinderCacheEnabled
in interface BaseModel<ResourceTypePermission>
true
if this model's finder cache is enabled;
false
otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<ResourceTypePermission>