|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ResourceTypePermission>
com.liferay.portal.model.impl.ResourceTypePermissionModelImpl
public class ResourceTypePermissionModelImpl
The base model implementation for the ResourceTypePermission service. Represents a row in the "ResourceTypePermission" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ResourceTypePermissionModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ResourceTypePermissionImpl
.
ResourceTypePermissionImpl
,
ResourceTypePermission
,
ResourceTypePermissionModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NAME_COLUMN_BITMASK
|
static long |
ROLEID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
Constructor Summary | |
---|---|
ResourceTypePermissionModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ResourceTypePermission resourceTypePermission)
|
boolean |
equals(Object obj)
|
long |
getActionIds()
Returns the action IDs of this resource type permission. |
long |
getColumnBitmask()
|
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 |
getOriginalCompanyId()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
long |
getOriginalRoleId()
|
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. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setActionIds(long actionIds)
Sets the action IDs of this resource type permission. |
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 |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this resource type permission. |
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 com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portal.model.ResourceTypePermissionModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long COMPANYID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long ROLEID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public ResourceTypePermissionModelImpl()
Method Detail |
---|
public long getPrimaryKey()
ResourceTypePermissionModel
getPrimaryKey
in interface ResourceTypePermissionModel
public void setPrimaryKey(long primaryKey)
ResourceTypePermissionModel
setPrimaryKey
in interface ResourceTypePermissionModel
primaryKey
- the primary key of this resource type permissionpublic 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 Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<ResourceTypePermission>
getModelAttributes
in class BaseModelImpl<ResourceTypePermission>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<ResourceTypePermission>
setModelAttributes
in class BaseModelImpl<ResourceTypePermission>
public long getResourceTypePermissionId()
ResourceTypePermissionModel
getResourceTypePermissionId
in interface ResourceTypePermissionModel
public void setResourceTypePermissionId(long resourceTypePermissionId)
ResourceTypePermissionModel
setResourceTypePermissionId
in interface ResourceTypePermissionModel
resourceTypePermissionId
- the resource type permission ID of this resource type permissionpublic long getCompanyId()
ResourceTypePermissionModel
getCompanyId
in interface ResourceTypePermissionModel
public void setCompanyId(long companyId)
ResourceTypePermissionModel
setCompanyId
in interface ResourceTypePermissionModel
companyId
- the company ID of this resource type permissionpublic long getOriginalCompanyId()
public long getGroupId()
ResourceTypePermissionModel
getGroupId
in interface ResourceTypePermissionModel
public void setGroupId(long groupId)
ResourceTypePermissionModel
setGroupId
in interface ResourceTypePermissionModel
groupId
- the group ID of this resource type permissionpublic long getOriginalGroupId()
public String getName()
ResourceTypePermissionModel
getName
in interface ResourceTypePermissionModel
public void setName(String name)
ResourceTypePermissionModel
setName
in interface ResourceTypePermissionModel
name
- the name of this resource type permissionpublic String getOriginalName()
public long getRoleId()
ResourceTypePermissionModel
getRoleId
in interface ResourceTypePermissionModel
public void setRoleId(long roleId)
ResourceTypePermissionModel
setRoleId
in interface ResourceTypePermissionModel
roleId
- the role ID of this resource type permissionpublic long getOriginalRoleId()
public long getActionIds()
ResourceTypePermissionModel
getActionIds
in interface ResourceTypePermissionModel
public void setActionIds(long actionIds)
ResourceTypePermissionModel
setActionIds
in interface ResourceTypePermissionModel
actionIds
- the action IDs of this resource type permissionpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ResourceTypePermission>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ResourceTypePermissionModel
getExpandoBridge
in class BaseModelImpl<ResourceTypePermission>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ResourceTypePermission>
setExpandoBridgeAttributes
in interface ResourceTypePermissionModel
setExpandoBridgeAttributes
in class BaseModelImpl<ResourceTypePermission>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public ResourceTypePermission toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ResourceTypePermission>
toEscapedModel
in interface ResourceTypePermissionModel
toEscapedModel
in class BaseModelImpl<ResourceTypePermission>
AutoEscapeBeanHandler
public ResourceTypePermission toUnescapedModel()
toUnescapedModel
in interface BaseModel<ResourceTypePermission>
toUnescapedModel
in interface ResourceTypePermissionModel
toUnescapedModel
in class BaseModelImpl<ResourceTypePermission>
public Object clone()
BaseModel
clone
in interface BaseModel<ResourceTypePermission>
clone
in interface ResourceTypePermissionModel
clone
in class BaseModelImpl<ResourceTypePermission>
public int compareTo(ResourceTypePermission resourceTypePermission)
compareTo
in interface ResourceTypePermissionModel
compareTo
in interface Comparable<ResourceTypePermission>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ResourceTypePermissionModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<ResourceTypePermission>
resetOriginalValues
in class BaseModelImpl<ResourceTypePermission>
public CacheModel<ResourceTypePermission> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ResourceTypePermission>
toCacheModel
in interface ResourceTypePermissionModel
toCacheModel
in class BaseModelImpl<ResourceTypePermission>
public String toString()
toString
in interface ResourceTypePermissionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ResourceTypePermission>
toXmlString
in interface ResourceTypePermissionModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |