@JSON(strict=true)
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
,
Serialized FormModifier and Type | Field and Description |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
COMPANYID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
FINDER_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
LOCK_EXPIRATION_TIME |
static long |
NAME_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static long |
PRIMKEY_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
PRIMKEYID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
RESOURCEPERMISSIONID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
ROLEID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
SCOPE_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
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
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
Constructor and Description |
---|
ResourcePermissionModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
com.liferay.portal.kernel.model.ResourcePermission |
cloneWithOriginalValues() |
int |
compareTo(com.liferay.portal.kernel.model.ResourcePermission resourcePermission) |
boolean |
equals(Object object) |
long |
getActionIds() |
Map<String,Function<com.liferay.portal.kernel.model.ResourcePermission,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<com.liferay.portal.kernel.model.ResourcePermission,Object>> |
getAttributeSetterBiConsumers() |
long |
getColumnBitmask() |
static long |
getColumnBitmask(String columnName) |
<T> T |
getColumnOriginalValue(String columnName) |
<T> T |
getColumnValue(String columnName) |
long |
getCompanyId() |
long |
getCtCollectionId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion() |
String |
getName() |
long |
getOriginalCompanyId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
String |
getOriginalName()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
String |
getOriginalPrimKey()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getOriginalPrimKeyId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getOriginalRoleId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
int |
getOriginalScope()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
boolean |
getOriginalViewActionId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getOwnerId() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
String |
getPrimKey() |
long |
getPrimKeyId() |
long |
getResourcePermissionId() |
long |
getRoleId() |
int |
getScope() |
boolean |
getViewActionId() |
int |
hashCode() |
boolean |
isEntityCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isFinderCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isViewActionId() |
void |
resetOriginalValues() |
void |
setActionIds(long actionIds) |
void |
setCompanyId(long companyId) |
void |
setCtCollectionId(long ctCollectionId) |
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() |
String |
toString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
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
@Deprecated public static final boolean ENTITY_CACHE_ENABLED
@Deprecated public static final boolean FINDER_CACHE_ENABLED
@Deprecated public static final boolean COLUMN_BITMASK_ENABLED
@Deprecated public static final long COMPANYID_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long NAME_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long PRIMKEY_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long PRIMKEYID_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long ROLEID_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long SCOPE_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long VIEWACTIONID_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long RESOURCEPERMISSIONID_COLUMN_BITMASK
getColumnBitmask(String)
public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.ResourcePermission>
getPrimaryKey
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.ResourcePermission>
setPrimaryKey
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
public 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.ClassedModel
public 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.ClassedModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public 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>
public Map<String,Function<com.liferay.portal.kernel.model.ResourcePermission,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>
public Map<String,BiConsumer<com.liferay.portal.kernel.model.ResourcePermission,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>
@JSON public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
getMvccVersion
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
@JSON public long getCtCollectionId()
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.ResourcePermission>
getCtCollectionId
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
public void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.ResourcePermission>
setCtCollectionId
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
@JSON public long getResourcePermissionId()
getResourcePermissionId
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
public 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.ResourcePermissionModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
@Deprecated public long getOriginalCompanyId()
getColumnOriginalValue(String)
@JSON public String getName()
getName
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
public void setName(String name)
setName
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
@Deprecated public String getOriginalName()
getColumnOriginalValue(String)
@JSON public int getScope()
getScope
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
public void setScope(int scope)
setScope
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
@Deprecated public int getOriginalScope()
getColumnOriginalValue(String)
@JSON public String getPrimKey()
getPrimKey
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
public void setPrimKey(String primKey)
setPrimKey
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
@Deprecated public String getOriginalPrimKey()
getColumnOriginalValue(String)
@JSON public long getPrimKeyId()
getPrimKeyId
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
public void setPrimKeyId(long primKeyId)
setPrimKeyId
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
@Deprecated public long getOriginalPrimKeyId()
getColumnOriginalValue(String)
@JSON public long getRoleId()
getRoleId
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
public void setRoleId(long roleId)
setRoleId
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
@Deprecated public long getOriginalRoleId()
getColumnOriginalValue(String)
@JSON public long getOwnerId()
getOwnerId
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
public 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.ResourcePermissionModel
public 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.ResourcePermissionModel
public void setViewActionId(boolean viewActionId)
setViewActionId
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
@Deprecated public boolean getOriginalViewActionId()
getColumnOriginalValue(String)
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.ClassedModel
getExpandoBridge
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 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 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 class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourcePermission>
public com.liferay.portal.kernel.model.ResourcePermission cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
public int compareTo(com.liferay.portal.kernel.model.ResourcePermission resourcePermission)
compareTo
in interface Comparable<com.liferay.portal.kernel.model.ResourcePermission>
public boolean equals(Object object)
equals
in class Object
public int hashCode()
hashCode
in class Object
@Deprecated public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>
@Deprecated 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 class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourcePermission>
public String toString()
toString
in class Object
public <T> T getColumnValue(String columnName)
public <T> T getColumnOriginalValue(String columnName)
public static long getColumnBitmask(String columnName)