@JSON(strict=true)
@ProviderType
public class ResourcePermissionModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourcePermission>
implements com.liferay.portal.kernel.model.ResourcePermissionModel
This implementation and its corresponding interface ResourcePermissionModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ResourcePermissionImpl.
ResourcePermissionImpl,
ResourcePermission,
ResourcePermissionModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
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 |
LOCK_EXPIRATION_TIME |
static long |
NAME_COLUMN_BITMASK |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static long |
PRIMKEY_COLUMN_BITMASK |
static long |
PRIMKEYID_COLUMN_BITMASK |
static long |
RESOURCEPERMISSIONID_COLUMN_BITMASK |
static long |
ROLEID_COLUMN_BITMASK |
static long |
SCOPE_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 |
static long |
VIEWACTIONID_COLUMN_BITMASK |
| Constructor and Description |
|---|
ResourcePermissionModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.ResourcePermission resourcePermission) |
boolean |
equals(Object obj) |
long |
getActionIds() |
long |
getColumnBitmask() |
long |
getCompanyId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion() |
String |
getName() |
long |
getOriginalCompanyId() |
String |
getOriginalName() |
String |
getOriginalPrimKey() |
long |
getOriginalPrimKeyId() |
long |
getOriginalRoleId() |
int |
getOriginalScope() |
boolean |
getOriginalViewActionId() |
long |
getOwnerId() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
String |
getPrimKey() |
long |
getPrimKeyId() |
long |
getResourcePermissionId() |
long |
getRoleId() |
int |
getScope() |
boolean |
getViewActionId() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
boolean |
isViewActionId() |
void |
resetOriginalValues() |
void |
setActionIds(long actionIds) |
void |
setCompanyId(long companyId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion) |
void |
setName(String name) |
void |
setOwnerId(long ownerId) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setPrimKey(String primKey) |
void |
setPrimKeyId(long primKeyId) |
void |
setResourcePermissionId(long resourcePermissionId) |
void |
setRoleId(long roleId) |
void |
setScope(int scope) |
void |
setViewActionId(boolean viewActionId) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.ResourcePermission> |
toCacheModel() |
com.liferay.portal.kernel.model.ResourcePermission |
toEscapedModel() |
static com.liferay.portal.kernel.model.ResourcePermission |
toModel(com.liferay.portal.kernel.model.ResourcePermissionSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static List<com.liferay.portal.kernel.model.ResourcePermission> |
toModels(com.liferay.portal.kernel.model.ResourcePermissionSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
String |
toString() |
String |
toXmlString() |
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 final long COMPANYID_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long PRIMKEY_COLUMN_BITMASK
public static final long PRIMKEYID_COLUMN_BITMASK
public static final long ROLEID_COLUMN_BITMASK
public static final long SCOPE_COLUMN_BITMASK
public static final long VIEWACTIONID_COLUMN_BITMASK
public static final long RESOURCEPERMISSIONID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portal.kernel.model.ResourcePermission toModel(com.liferay.portal.kernel.model.ResourcePermissionSoap soapModel)
soapModel - the soap model instance to convertpublic static List<com.liferay.portal.kernel.model.ResourcePermission> toModels(com.liferay.portal.kernel.model.ResourcePermissionSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourcePermission>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourcePermission>@JSON public long getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelgetMvccVersion in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelsetMvccVersion in interface com.liferay.portal.kernel.model.ResourcePermissionModel@JSON public long getResourcePermissionId()
getResourcePermissionId in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic void setResourcePermissionId(long resourcePermissionId)
setResourcePermissionId in interface com.liferay.portal.kernel.model.ResourcePermissionModel@JSON public long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.ResourcePermissionModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.ResourcePermissionModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic long getOriginalCompanyId()
@JSON public String getName()
getName in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic void setName(String name)
setName in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic String getOriginalName()
@JSON public int getScope()
getScope in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic void setScope(int scope)
setScope in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic int getOriginalScope()
@JSON public String getPrimKey()
getPrimKey in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic void setPrimKey(String primKey)
setPrimKey in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic String getOriginalPrimKey()
@JSON public long getPrimKeyId()
getPrimKeyId in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic void setPrimKeyId(long primKeyId)
setPrimKeyId in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic long getOriginalPrimKeyId()
@JSON public long getRoleId()
getRoleId in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic void setRoleId(long roleId)
setRoleId in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic long getOriginalRoleId()
@JSON public long getOwnerId()
getOwnerId in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic void setOwnerId(long ownerId)
setOwnerId in interface com.liferay.portal.kernel.model.ResourcePermissionModel@JSON public long getActionIds()
getActionIds in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic void setActionIds(long actionIds)
setActionIds in interface com.liferay.portal.kernel.model.ResourcePermissionModel@JSON public boolean getViewActionId()
getViewActionId in interface com.liferay.portal.kernel.model.ResourcePermissionModel@JSON public boolean isViewActionId()
isViewActionId in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic void setViewActionId(boolean viewActionId)
setViewActionId in interface com.liferay.portal.kernel.model.ResourcePermissionModelpublic boolean getOriginalViewActionId()
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in interface com.liferay.portal.kernel.model.ResourcePermissionModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourcePermission>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.ResourcePermissionModelsetExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourcePermission>public com.liferay.portal.kernel.model.ResourcePermission toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>toEscapedModel in interface com.liferay.portal.kernel.model.ResourcePermissionModeltoEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourcePermission>public Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>clone in interface com.liferay.portal.kernel.model.ResourcePermissionModelclone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourcePermission>public int compareTo(com.liferay.portal.kernel.model.ResourcePermission resourcePermission)
compareTo in interface com.liferay.portal.kernel.model.ResourcePermissionModelcompareTo in interface Comparable<com.liferay.portal.kernel.model.ResourcePermission>public int hashCode()
public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourcePermission>public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.ResourcePermission> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>toCacheModel in interface com.liferay.portal.kernel.model.ResourcePermissionModeltoCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourcePermission>public String toString()
public String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>toXmlString in interface com.liferay.portal.kernel.model.ResourcePermissionModel