@JSON(strict=true)
@ProviderType
public class ResourcePermissionModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourcePermission>
implements com.liferay.portal.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 java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static long |
NAME_COLUMN_BITMASK |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.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 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 |
| Constructor and Description |
|---|
ResourcePermissionModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.portal.model.ResourcePermission resourcePermission) |
boolean |
equals(java.lang.Object obj) |
long |
getActionIds() |
long |
getColumnBitmask() |
long |
getCompanyId() |
com.liferay.portlet.expando.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() |
java.lang.String |
getOriginalName() |
java.lang.String |
getOriginalPrimKey() |
long |
getOriginalPrimKeyId() |
long |
getOriginalRoleId() |
int |
getOriginalScope() |
boolean |
getOriginalViewActionId() |
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() |
boolean |
isFinderCacheEnabled() |
boolean |
isViewActionId() |
void |
resetOriginalValues() |
void |
setActionIds(long actionIds) |
void |
setCompanyId(long companyId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.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.model.CacheModel<com.liferay.portal.model.ResourcePermission> |
toCacheModel() |
com.liferay.portal.model.ResourcePermission |
toEscapedModel() |
static com.liferay.portal.model.ResourcePermission |
toModel(com.liferay.portal.model.ResourcePermissionSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.portal.model.ResourcePermission> |
toModels(com.liferay.portal.model.ResourcePermissionSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic 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
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.model.ResourcePermission toModel(com.liferay.portal.model.ResourcePermissionSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.portal.model.ResourcePermission> toModels(com.liferay.portal.model.ResourcePermissionSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.model.ResourcePermissionModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.model.ResourcePermissionModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourcePermission>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portal.model.ResourcePermissionModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourcePermission>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portal.model.ResourcePermissionModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourcePermission>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourcePermission>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourcePermission>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourcePermission>@JSON public long getMvccVersion()
getMvccVersion in interface com.liferay.portal.model.MVCCModelgetMvccVersion in interface com.liferay.portal.model.ResourcePermissionModelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.model.MVCCModelsetMvccVersion in interface com.liferay.portal.model.ResourcePermissionModel@JSON public long getResourcePermissionId()
getResourcePermissionId in interface com.liferay.portal.model.ResourcePermissionModelpublic void setResourcePermissionId(long resourcePermissionId)
setResourcePermissionId in interface com.liferay.portal.model.ResourcePermissionModel@JSON public long getCompanyId()
getCompanyId in interface com.liferay.portal.model.ResourcePermissionModelgetCompanyId in interface com.liferay.portal.model.ShardedModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.model.ResourcePermissionModelsetCompanyId in interface com.liferay.portal.model.ShardedModelpublic long getOriginalCompanyId()
@JSON public java.lang.String getName()
getName in interface com.liferay.portal.model.ResourcePermissionModelpublic void setName(java.lang.String name)
setName in interface com.liferay.portal.model.ResourcePermissionModelpublic java.lang.String getOriginalName()
@JSON public int getScope()
getScope in interface com.liferay.portal.model.ResourcePermissionModelpublic void setScope(int scope)
setScope in interface com.liferay.portal.model.ResourcePermissionModelpublic int getOriginalScope()
@JSON public java.lang.String getPrimKey()
getPrimKey in interface com.liferay.portal.model.ResourcePermissionModelpublic void setPrimKey(java.lang.String primKey)
setPrimKey in interface com.liferay.portal.model.ResourcePermissionModelpublic java.lang.String getOriginalPrimKey()
@JSON public long getPrimKeyId()
getPrimKeyId in interface com.liferay.portal.model.ResourcePermissionModelpublic void setPrimKeyId(long primKeyId)
setPrimKeyId in interface com.liferay.portal.model.ResourcePermissionModelpublic long getOriginalPrimKeyId()
@JSON public long getRoleId()
getRoleId in interface com.liferay.portal.model.ResourcePermissionModelpublic void setRoleId(long roleId)
setRoleId in interface com.liferay.portal.model.ResourcePermissionModelpublic long getOriginalRoleId()
@JSON public long getOwnerId()
getOwnerId in interface com.liferay.portal.model.ResourcePermissionModelpublic void setOwnerId(long ownerId)
setOwnerId in interface com.liferay.portal.model.ResourcePermissionModel@JSON public long getActionIds()
getActionIds in interface com.liferay.portal.model.ResourcePermissionModelpublic void setActionIds(long actionIds)
setActionIds in interface com.liferay.portal.model.ResourcePermissionModel@JSON public boolean getViewActionId()
getViewActionId in interface com.liferay.portal.model.ResourcePermissionModelpublic boolean isViewActionId()
isViewActionId in interface com.liferay.portal.model.ResourcePermissionModelpublic void setViewActionId(boolean viewActionId)
setViewActionId in interface com.liferay.portal.model.ResourcePermissionModelpublic boolean getOriginalViewActionId()
public long getColumnBitmask()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourcePermission>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in interface com.liferay.portal.model.ResourcePermissionModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourcePermission>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourcePermission>setExpandoBridgeAttributes in interface com.liferay.portal.model.ResourcePermissionModelsetExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourcePermission>public com.liferay.portal.model.ResourcePermission toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourcePermission>toEscapedModel in interface com.liferay.portal.model.ResourcePermissionModeltoEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourcePermission>public java.lang.Object clone()
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourcePermission>clone in interface com.liferay.portal.model.ResourcePermissionModelclone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourcePermission>public int compareTo(com.liferay.portal.model.ResourcePermission resourcePermission)
compareTo in interface com.liferay.portal.model.ResourcePermissionModelcompareTo in interface java.lang.Comparable<com.liferay.portal.model.ResourcePermission>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portal.model.ResourcePermissionModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourcePermission>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourcePermission>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourcePermission>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourcePermission>public com.liferay.portal.model.CacheModel<com.liferay.portal.model.ResourcePermission> toCacheModel()
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourcePermission>toCacheModel in interface com.liferay.portal.model.ResourcePermissionModeltoCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourcePermission>public java.lang.String toString()
toString in interface com.liferay.portal.model.ResourcePermissionModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourcePermission>toXmlString in interface com.liferay.portal.model.ResourcePermissionModel