@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 {@link #getColumnBitmask(String)
|
static java.lang.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 {@link #getColumnBitmask(String)
|
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static long |
PRIMKEY_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by {@link #getColumnBitmask(String)
|
static long |
PRIMKEYID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by {@link #getColumnBitmask(String)
|
static long |
RESOURCEPERMISSIONID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by {@link
#getColumnBitmask(String)
|
static long |
ROLEID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by {@link #getColumnBitmask(String)
|
static long |
SCOPE_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by {@link #getColumnBitmask(String)
|
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
VIEWACTIONID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by {@link #getColumnBitmask(String)
|
Constructor and Description |
---|
ResourcePermissionModelImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.ResourcePermission resourcePermission) |
boolean |
equals(java.lang.Object object) |
long |
getActionIds() |
java.util.Map<java.lang.String,java.util.function.Function<com.liferay.portal.kernel.model.ResourcePermission,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<com.liferay.portal.kernel.model.ResourcePermission,java.lang.Object>> |
getAttributeSetterBiConsumers() |
long |
getColumnBitmask() |
static long |
getColumnBitmask(java.lang.String columnName) |
<T> T |
getColumnOriginalValue(java.lang.String columnName) |
<T> T |
getColumnValue(java.lang.String columnName) |
long |
getCompanyId() |
long |
getCtCollectionId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getMvccVersion() |
java.lang.String |
getName() |
long |
getOriginalCompanyId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
java.lang.String |
getOriginalName()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
java.lang.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() |
java.io.Serializable |
getPrimaryKeyObj() |
java.lang.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(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion) |
void |
setName(java.lang.String name) |
void |
setOwnerId(long ownerId) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setPrimKey(java.lang.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)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static java.util.List<com.liferay.portal.kernel.model.ResourcePermission> |
toModels(com.liferay.portal.kernel.model.ResourcePermissionSoap[] soapModels)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
public static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.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
@Deprecated public static final long NAME_COLUMN_BITMASK
@Deprecated public static final long PRIMKEY_COLUMN_BITMASK
@Deprecated public static final long PRIMKEYID_COLUMN_BITMASK
@Deprecated public static final long ROLEID_COLUMN_BITMASK
@Deprecated public static final long SCOPE_COLUMN_BITMASK
@Deprecated public static final long VIEWACTIONID_COLUMN_BITMASK
@Deprecated public static final long RESOURCEPERMISSIONID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
@Deprecated public static com.liferay.portal.kernel.model.ResourcePermission toModel(com.liferay.portal.kernel.model.ResourcePermissionSoap soapModel)
soapModel
- the soap model instance to convert@Deprecated public static java.util.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.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 java.io.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(java.io.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 java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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 java.util.Map<java.lang.String,java.util.function.Function<com.liferay.portal.kernel.model.ResourcePermission,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>
public java.util.Map<java.lang.String,java.util.function.BiConsumer<com.liferay.portal.kernel.model.ResourcePermission,java.lang.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 java.lang.String getName()
getName
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
public void setName(java.lang.String name)
setName
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
@Deprecated public java.lang.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 java.lang.String getPrimKey()
getPrimKey
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
public void setPrimKey(java.lang.String primKey)
setPrimKey
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
@Deprecated public java.lang.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 java.lang.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 int compareTo(com.liferay.portal.kernel.model.ResourcePermission resourcePermission)
compareTo
in interface java.lang.Comparable<com.liferay.portal.kernel.model.ResourcePermission>
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourcePermission>
public <T> T getColumnValue(java.lang.String columnName)
public <T> T getColumnOriginalValue(java.lang.String columnName)
public static long getColumnBitmask(java.lang.String columnName)