|
Liferay 7.0-ce-b4 | |||||||||
| 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
@ProviderType 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 String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
RESOURCETYPEPERMISSIONID_COLUMN_BITMASK
|
static long |
ROLEID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
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()
|
long |
getMvccVersion()
Returns the mvcc version of this resource type permission. |
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()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this resource type permission. |
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()
|
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 final long COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long ROLEID_COLUMN_BITMASK
public static final long RESOURCETYPEPERMISSIONID_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 getMvccVersion()
ResourceTypePermissionModel
getMvccVersion in interface MVCCModelgetMvccVersion in interface ResourceTypePermissionModelpublic void setMvccVersion(long mvccVersion)
ResourceTypePermissionModel
setMvccVersion in interface MVCCModelsetMvccVersion in interface ResourceTypePermissionModelmvccVersion - the mvcc version of this resource type permissionpublic 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 ResourceTypePermissionModelgetCompanyId in interface ShardedModelpublic void setCompanyId(long companyId)
ResourceTypePermissionModel
setCompanyId in interface ResourceTypePermissionModelsetCompanyId in interface ShardedModelcompanyId - 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 context to be appliedServiceContext.getExpandoBridgeAttributes()public ResourceTypePermission toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ResourceTypePermission>toEscapedModel in interface ResourceTypePermissionModeltoEscapedModel in class BaseModelImpl<ResourceTypePermission>AutoEscapeBeanHandlerpublic 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 boolean isEntityCacheEnabled()
BaseModeltrue 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()
BaseModeltrue 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>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 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||