|
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 Form| Field 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 ResourceTypePermissionModelpublic void setPrimaryKey(long primaryKey)
ResourceTypePermissionModel
setPrimaryKey in interface ResourceTypePermissionModelprimaryKey - the primary key of this resource type permissionpublic 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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 ResourceTypePermissionModelpublic void setResourceTypePermissionId(long resourceTypePermissionId)
ResourceTypePermissionModel
setResourceTypePermissionId in interface ResourceTypePermissionModelresourceTypePermissionId - the resource type permission ID of this resource type permissionpublic long getCompanyId()
ResourceTypePermissionModel
getCompanyId in interface ResourceTypePermissionModelpublic void setCompanyId(long companyId)
ResourceTypePermissionModel
setCompanyId in interface ResourceTypePermissionModelcompanyId - the company ID of this resource type permissionpublic long getOriginalCompanyId()
public long getGroupId()
ResourceTypePermissionModel
getGroupId in interface ResourceTypePermissionModelpublic void setGroupId(long groupId)
ResourceTypePermissionModel
setGroupId in interface ResourceTypePermissionModelgroupId - the group ID of this resource type permissionpublic long getOriginalGroupId()
public String getName()
ResourceTypePermissionModel
getName in interface ResourceTypePermissionModelpublic void setName(String name)
ResourceTypePermissionModel
setName in interface ResourceTypePermissionModelname - the name of this resource type permissionpublic String getOriginalName()
public long getRoleId()
ResourceTypePermissionModel
getRoleId in interface ResourceTypePermissionModelpublic void setRoleId(long roleId)
ResourceTypePermissionModel
setRoleId in interface ResourceTypePermissionModelroleId - the role ID of this resource type permissionpublic long getOriginalRoleId()
public long getActionIds()
ResourceTypePermissionModel
getActionIds in interface ResourceTypePermissionModelpublic void setActionIds(long actionIds)
ResourceTypePermissionModel
setActionIds in interface ResourceTypePermissionModelactionIds - the action IDs of this resource type permissionpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ResourceTypePermission>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ResourceTypePermissionModelgetExpandoBridge in class BaseModelImpl<ResourceTypePermission>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ResourceTypePermission>setExpandoBridgeAttributes in interface ResourceTypePermissionModelsetExpandoBridgeAttributes in class BaseModelImpl<ResourceTypePermission>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public ResourceTypePermission toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ResourceTypePermission>toEscapedModel in interface ResourceTypePermissionModeltoEscapedModel in class BaseModelImpl<ResourceTypePermission>AutoEscapeBeanHandlerpublic ResourceTypePermission toUnescapedModel()
toUnescapedModel in interface BaseModel<ResourceTypePermission>toUnescapedModel in interface ResourceTypePermissionModeltoUnescapedModel in class BaseModelImpl<ResourceTypePermission>public Object clone()
BaseModel
clone in interface BaseModel<ResourceTypePermission>clone in interface ResourceTypePermissionModelclone in class BaseModelImpl<ResourceTypePermission>public int compareTo(ResourceTypePermission resourceTypePermission)
compareTo in interface ResourceTypePermissionModelcompareTo in interface Comparable<ResourceTypePermission>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ResourceTypePermissionModelhashCode in class Objectpublic 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 ResourceTypePermissionModeltoCacheModel in class BaseModelImpl<ResourceTypePermission>public String toString()
toString in interface ResourceTypePermissionModeltoString in class Objectpublic 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 | |||||||||