@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 FormModifier 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 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 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.ResourcePermissionModel
public void setPrimaryKey(long primaryKey)
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
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
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
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
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>
@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 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
public long getOriginalCompanyId()
@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
public String getOriginalName()
@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
public int getOriginalScope()
@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
public String getOriginalPrimKey()
@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
public long getOriginalPrimKeyId()
@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
public long getOriginalRoleId()
@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
public 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.ClassedModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
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 interface com.liferay.portal.kernel.model.ResourcePermissionModel
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 interface com.liferay.portal.kernel.model.ResourcePermissionModel
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 interface com.liferay.portal.kernel.model.ResourcePermissionModel
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 com.liferay.portal.kernel.model.ResourcePermissionModel
compareTo
in interface Comparable<com.liferay.portal.kernel.model.ResourcePermission>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
hashCode
in class Object
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.ResourcePermissionModel
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourcePermission>
public String toString()
toString
in interface com.liferay.portal.kernel.model.ResourcePermissionModel
toString
in class Object
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