|
Liferay 6.1.10-ee-ga1 | |||||||||
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 FormConstructor 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. |
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. Renamed to 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(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 |
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()
|
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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public long getPrimaryKey()
getPrimaryKey
in interface ResourceTypePermissionModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ResourceTypePermissionModel
primaryKey
- the primary key of this resource type permissionpublic long getResourceTypePermissionId()
getResourceTypePermissionId
in interface ResourceTypePermissionModel
public void setResourceTypePermissionId(long resourceTypePermissionId)
setResourceTypePermissionId
in interface ResourceTypePermissionModel
resourceTypePermissionId
- the resource type permission ID of this resource type permissionpublic long getCompanyId()
getCompanyId
in interface ResourceTypePermissionModel
public void setCompanyId(long companyId)
setCompanyId
in interface ResourceTypePermissionModel
companyId
- the company ID of this resource type permissionpublic long getGroupId()
getGroupId
in interface ResourceTypePermissionModel
public void setGroupId(long groupId)
setGroupId
in interface ResourceTypePermissionModel
groupId
- the group ID of this resource type permissionpublic String getName()
getName
in interface ResourceTypePermissionModel
public void setName(String name)
setName
in interface ResourceTypePermissionModel
name
- the name of this resource type permissionpublic long getRoleId()
getRoleId
in interface ResourceTypePermissionModel
public void setRoleId(long roleId)
setRoleId
in interface ResourceTypePermissionModel
roleId
- the role ID of this resource type permissionpublic long getActionIds()
getActionIds
in interface ResourceTypePermissionModel
public void setActionIds(long actionIds)
setActionIds
in interface ResourceTypePermissionModel
actionIds
- the action IDs of this resource type permissionpublic 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 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 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 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 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 Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ResourceTypePermission>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface ResourceTypePermissionModel
public 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ResourceTypePermission>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ResourceTypePermissionModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ResourceTypePermission>
setExpandoBridgeAttributes
in interface ResourceTypePermissionModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
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 int hashCode()
hashCode
in interface ResourceTypePermissionModel
hashCode
in class Object
public 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 String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ResourceTypePermission>
toXmlString
in interface ResourceTypePermissionModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean isCompanyScope()
isCompanyScope
in interface ResourceTypePermission
public boolean isGroupScope()
isGroupScope
in interface ResourceTypePermission
public ResourceTypePermission getWrappedResourceTypePermission()
getWrappedModel()
public ResourceTypePermission getWrappedModel()
getWrappedModel
in interface ModelWrapper<ResourceTypePermission>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<ResourceTypePermission>
|
Liferay 6.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |