|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.ResourceTypePermissionWrapper
public class ResourceTypePermissionWrapper
This class is a wrapper for ResourceTypePermission.
ResourceTypePermission,
Serialized Form| Constructor Summary | |
|---|---|
ResourceTypePermissionWrapper(ResourceTypePermission resourceTypePermission)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ResourceTypePermission resourceTypePermission)
|
long |
getActionIds()
Returns the action IDs of this resource type permission. |
long |
getCompanyId()
Returns the company ID of this resource type permission. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this resource type permission. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this resource type permission. |
long |
getPrimaryKey()
Returns the primary key of this resource type permission. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getResourceTypePermissionId()
Returns the resource type permission ID of this resource type permission. |
long |
getRoleId()
Returns the role ID of this resource type permission. |
ResourceTypePermission |
getWrappedModel()
|
ResourceTypePermission |
getWrappedResourceTypePermission()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isCompanyScope()
|
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isGroupScope()
|
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setActionIds(long actionIds)
Sets the action IDs of this resource type permission. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
Sets the company ID of this resource type permission. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this resource type permission. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this resource type permission. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this resource type permission. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setResourceTypePermissionId(long resourceTypePermissionId)
Sets the resource type permission ID of this resource type permission. |
void |
setRoleId(long roleId)
Sets the role ID of this resource type permission. |
CacheModel<ResourceTypePermission> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ResourceTypePermission |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
ResourceTypePermission |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceTypePermissionWrapper(ResourceTypePermission resourceTypePermission)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<ResourceTypePermission>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ResourceTypePermission>public long getPrimaryKey()
getPrimaryKey in interface ResourceTypePermissionModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ResourceTypePermissionModelprimaryKey - the primary key of this resource type permissionpublic long getResourceTypePermissionId()
getResourceTypePermissionId in interface ResourceTypePermissionModelpublic void setResourceTypePermissionId(long resourceTypePermissionId)
setResourceTypePermissionId in interface ResourceTypePermissionModelresourceTypePermissionId - the resource type permission ID of this resource type permissionpublic long getCompanyId()
getCompanyId in interface ResourceTypePermissionModelpublic void setCompanyId(long companyId)
setCompanyId in interface ResourceTypePermissionModelcompanyId - the company ID of this resource type permissionpublic long getGroupId()
getGroupId in interface ResourceTypePermissionModelpublic void setGroupId(long groupId)
setGroupId in interface ResourceTypePermissionModelgroupId - the group ID of this resource type permissionpublic String getName()
getName in interface ResourceTypePermissionModelpublic void setName(String name)
setName in interface ResourceTypePermissionModelname - the name of this resource type permissionpublic long getRoleId()
getRoleId in interface ResourceTypePermissionModelpublic void setRoleId(long roleId)
setRoleId in interface ResourceTypePermissionModelroleId - the role ID of this resource type permissionpublic long getActionIds()
getActionIds in interface ResourceTypePermissionModelpublic void setActionIds(long actionIds)
setActionIds in interface ResourceTypePermissionModelactionIds - the action IDs of this resource type permissionpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<ResourceTypePermission>isNew in interface ResourceTypePermissionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ResourceTypePermission>setNew in interface ResourceTypePermissionModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<ResourceTypePermission>isCachedModel in interface ResourceTypePermissionModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ResourceTypePermission>setCachedModel in interface ResourceTypePermissionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<ResourceTypePermission>isEscapedModel in interface ResourceTypePermissionModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ResourceTypePermission>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ResourceTypePermissionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ResourceTypePermission>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ResourceTypePermissionModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ResourceTypePermission>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ResourceTypePermissionModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ResourceTypePermission>setExpandoBridgeAttributes in interface ResourceTypePermissionModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ResourceTypePermission>setExpandoBridgeAttributes in interface ResourceTypePermissionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ResourceTypePermission>setExpandoBridgeAttributes in interface ResourceTypePermissionModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ResourceTypePermission>clone in interface ResourceTypePermissionModelclone in class Objectpublic int compareTo(ResourceTypePermission resourceTypePermission)
compareTo in interface ResourceTypePermissionModelcompareTo in interface Comparable<ResourceTypePermission>public int hashCode()
hashCode in interface ResourceTypePermissionModelhashCode in class Objectpublic CacheModel<ResourceTypePermission> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ResourceTypePermission>toCacheModel in interface ResourceTypePermissionModelpublic ResourceTypePermission toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ResourceTypePermission>toEscapedModel in interface ResourceTypePermissionModelAutoEscapeBeanHandlerpublic ResourceTypePermission toUnescapedModel()
toUnescapedModel in interface BaseModel<ResourceTypePermission>toUnescapedModel in interface ResourceTypePermissionModelpublic String toString()
toString in interface ResourceTypePermissionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ResourceTypePermission>toXmlString in interface ResourceTypePermissionModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic boolean isCompanyScope()
isCompanyScope in interface ResourceTypePermissionpublic boolean isGroupScope()
isGroupScope in interface ResourceTypePermissionpublic ResourceTypePermission getWrappedResourceTypePermission()
getWrappedModel()
public ResourceTypePermission getWrappedModel()
getWrappedModel in interface ModelWrapper<ResourceTypePermission>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ResourceTypePermission>
|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||