|
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<ResourceBlockPermission>
com.liferay.portal.model.impl.ResourceBlockPermissionModelImpl
@ProviderType 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 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 | |
|---|---|
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()
|
long |
getCompanyId()
Returns the company ID of this resource block permission. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getMvccVersion()
Returns the mvcc version of this resource block permission. |
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()
|
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 block permission. |
void |
setCompanyId(long companyId)
Sets the company ID 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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this resource block permission. |
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 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 RESOURCEBLOCKID_COLUMN_BITMASK
public static final long ROLEID_COLUMN_BITMASK
public static final 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 getMvccVersion()
ResourceBlockPermissionModel
getMvccVersion in interface MVCCModelgetMvccVersion in interface ResourceBlockPermissionModelpublic void setMvccVersion(long mvccVersion)
ResourceBlockPermissionModel
setMvccVersion in interface MVCCModelsetMvccVersion in interface ResourceBlockPermissionModelmvccVersion - the mvcc version of this resource block permissionpublic 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 getCompanyId()
ResourceBlockPermissionModel
getCompanyId in interface ResourceBlockPermissionModelgetCompanyId in interface ShardedModelpublic void setCompanyId(long companyId)
ResourceBlockPermissionModel
setCompanyId in interface ResourceBlockPermissionModelsetCompanyId in interface ShardedModelcompanyId - the company 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 boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<ResourceBlockPermission>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<ResourceBlockPermission>true if this model's finder cache is enabled;
false otherwisepublic 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 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||