|
Liferay 6.2.0-ce-rc2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ResourceBlockPermission>
com.liferay.portal.model.impl.ResourceBlockPermissionModelImpl
public class ResourceBlockPermissionModelImpl
The base model implementation for the ResourceBlockPermission service. Represents a row in the "ResourceBlockPermission" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ResourceBlockPermissionModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ResourceBlockPermissionImpl.
ResourceBlockPermissionImpl,
ResourceBlockPermission,
ResourceBlockPermissionModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
RESOURCEBLOCKID_COLUMN_BITMASK
|
static long |
RESOURCEBLOCKPERMISSIONID_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 | |
|---|---|
ResourceBlockPermissionModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ResourceBlockPermission resourceBlockPermission)
|
boolean |
equals(Object obj)
|
long |
getActionIds()
Returns the action IDs of this resource block permission. |
long |
getColumnBitmask()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalResourceBlockId()
|
long |
getOriginalRoleId()
|
long |
getPrimaryKey()
Returns the primary key of this resource block permission. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getResourceBlockId()
Returns the resource block ID of this resource block permission. |
long |
getResourceBlockPermissionId()
Returns the resource block permission ID of this resource block permission. |
long |
getRoleId()
Returns the role ID of this resource block permission. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setActionIds(long actionIds)
Sets the action IDs of this resource block permission. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this resource block permission. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setResourceBlockId(long resourceBlockId)
Sets the resource block ID of this resource block permission. |
void |
setResourceBlockPermissionId(long resourceBlockPermissionId)
Sets the resource block permission ID of this resource block permission. |
void |
setRoleId(long roleId)
Sets the role ID of this resource block permission. |
CacheModel<ResourceBlockPermission> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ResourceBlockPermission |
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.ResourceBlockPermissionModel |
|---|
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 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 long RESOURCEBLOCKID_COLUMN_BITMASK
public static long ROLEID_COLUMN_BITMASK
public static long RESOURCEBLOCKPERMISSIONID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ResourceBlockPermissionModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
ResourceBlockPermissionModel
getPrimaryKey in interface ResourceBlockPermissionModelpublic void setPrimaryKey(long primaryKey)
ResourceBlockPermissionModel
setPrimaryKey in interface ResourceBlockPermissionModelprimaryKey - the primary key of this resource block permissionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ResourceBlockPermission>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ResourceBlockPermissionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ResourceBlockPermission>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ResourceBlockPermissionModelprimaryKeyObj - 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<ResourceBlockPermission>getModelAttributes in class BaseModelImpl<ResourceBlockPermission>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ResourceBlockPermission>setModelAttributes in class BaseModelImpl<ResourceBlockPermission>public long getResourceBlockPermissionId()
ResourceBlockPermissionModel
getResourceBlockPermissionId in interface ResourceBlockPermissionModelpublic void setResourceBlockPermissionId(long resourceBlockPermissionId)
ResourceBlockPermissionModel
setResourceBlockPermissionId in interface ResourceBlockPermissionModelresourceBlockPermissionId - the resource block permission ID of this resource block permissionpublic long getResourceBlockId()
ResourceBlockPermissionModel
getResourceBlockId in interface ResourceBlockPermissionModelpublic void setResourceBlockId(long resourceBlockId)
ResourceBlockPermissionModel
setResourceBlockId in interface ResourceBlockPermissionModelresourceBlockId - the resource block ID of this resource block permissionpublic long getOriginalResourceBlockId()
public long getRoleId()
ResourceBlockPermissionModel
getRoleId in interface ResourceBlockPermissionModelpublic void setRoleId(long roleId)
ResourceBlockPermissionModel
setRoleId in interface ResourceBlockPermissionModelroleId - the role ID of this resource block permissionpublic long getOriginalRoleId()
public long getActionIds()
ResourceBlockPermissionModel
getActionIds in interface ResourceBlockPermissionModelpublic void setActionIds(long actionIds)
ResourceBlockPermissionModel
setActionIds in interface ResourceBlockPermissionModelactionIds - the action IDs of this resource block permissionpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ResourceBlockPermission>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ResourceBlockPermissionModelgetExpandoBridge in class BaseModelImpl<ResourceBlockPermission>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ResourceBlockPermission>setExpandoBridgeAttributes in interface ResourceBlockPermissionModelsetExpandoBridgeAttributes in class BaseModelImpl<ResourceBlockPermission>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public ResourceBlockPermission toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ResourceBlockPermission>toEscapedModel in interface ResourceBlockPermissionModeltoEscapedModel in class BaseModelImpl<ResourceBlockPermission>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<ResourceBlockPermission>clone in interface ResourceBlockPermissionModelclone in class BaseModelImpl<ResourceBlockPermission>public int compareTo(ResourceBlockPermission resourceBlockPermission)
compareTo in interface ResourceBlockPermissionModelcompareTo in interface Comparable<ResourceBlockPermission>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ResourceBlockPermissionModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ResourceBlockPermission>resetOriginalValues in class BaseModelImpl<ResourceBlockPermission>public CacheModel<ResourceBlockPermission> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ResourceBlockPermission>toCacheModel in interface ResourceBlockPermissionModeltoCacheModel in class BaseModelImpl<ResourceBlockPermission>public String toString()
toString in interface ResourceBlockPermissionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ResourceBlockPermission>toXmlString in interface ResourceBlockPermissionModel
|
Liferay 6.2.0-ce-rc2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||