@JSON(strict=true)
@ProviderType
public class ResourceBlockModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourceBlock>
implements com.liferay.portal.kernel.model.ResourceBlockModel
This implementation and its corresponding interface ResourceBlockModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ResourceBlockImpl
.
ResourceBlockImpl
,
ResourceBlock
,
ResourceBlockModel
,
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 |
GROUPID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static long |
NAME_COLUMN_BITMASK |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static long |
PERMISSIONSHASH_COLUMN_BITMASK |
static long |
RESOURCEBLOCKID_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 |
Constructor and Description |
---|
ResourceBlockModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.ResourceBlock resourceBlock) |
boolean |
equals(Object obj) |
long |
getColumnBitmask() |
long |
getCompanyId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion() |
String |
getName() |
long |
getOriginalCompanyId() |
long |
getOriginalGroupId() |
String |
getOriginalName() |
String |
getOriginalPermissionsHash() |
String |
getPermissionsHash() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
long |
getReferenceCount() |
long |
getResourceBlockId() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setCompanyId(long companyId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion) |
void |
setName(String name) |
void |
setPermissionsHash(String permissionsHash) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setReferenceCount(long referenceCount) |
void |
setResourceBlockId(long resourceBlockId) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.ResourceBlock> |
toCacheModel() |
com.liferay.portal.kernel.model.ResourceBlock |
toEscapedModel() |
static com.liferay.portal.kernel.model.ResourceBlock |
toModel(com.liferay.portal.kernel.model.ResourceBlockSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static List<com.liferay.portal.kernel.model.ResourceBlock> |
toModels(com.liferay.portal.kernel.model.ResourceBlockSoap[] 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 GROUPID_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long PERMISSIONSHASH_COLUMN_BITMASK
public static final long RESOURCEBLOCKID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portal.kernel.model.ResourceBlock toModel(com.liferay.portal.kernel.model.ResourceBlockSoap soapModel)
soapModel
- the soap model instance to convertpublic static List<com.liferay.portal.kernel.model.ResourceBlock> toModels(com.liferay.portal.kernel.model.ResourceBlockSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.ResourceBlockModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.ResourceBlockModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourceBlock>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ResourceBlockModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourceBlock>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ResourceBlockModel
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.ResourceBlock>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourceBlock>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourceBlock>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourceBlock>
@JSON public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
getMvccVersion
in interface com.liferay.portal.kernel.model.ResourceBlockModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface com.liferay.portal.kernel.model.ResourceBlockModel
@JSON public long getResourceBlockId()
getResourceBlockId
in interface com.liferay.portal.kernel.model.ResourceBlockModel
public void setResourceBlockId(long resourceBlockId)
setResourceBlockId
in interface com.liferay.portal.kernel.model.ResourceBlockModel
@JSON public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.ResourceBlockModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ResourceBlockModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public long getOriginalCompanyId()
@JSON public long getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.ResourceBlockModel
public void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.ResourceBlockModel
public long getOriginalGroupId()
@JSON public String getName()
getName
in interface com.liferay.portal.kernel.model.ResourceBlockModel
public void setName(String name)
setName
in interface com.liferay.portal.kernel.model.ResourceBlockModel
public String getOriginalName()
@JSON public String getPermissionsHash()
getPermissionsHash
in interface com.liferay.portal.kernel.model.ResourceBlockModel
public void setPermissionsHash(String permissionsHash)
setPermissionsHash
in interface com.liferay.portal.kernel.model.ResourceBlockModel
public String getOriginalPermissionsHash()
@JSON public long getReferenceCount()
getReferenceCount
in interface com.liferay.portal.kernel.model.ResourceBlockModel
public void setReferenceCount(long referenceCount)
setReferenceCount
in interface com.liferay.portal.kernel.model.ResourceBlockModel
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.ResourceBlock>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.ResourceBlockModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourceBlock>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourceBlock>
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.ResourceBlockModel
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourceBlock>
public com.liferay.portal.kernel.model.ResourceBlock toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourceBlock>
toEscapedModel
in interface com.liferay.portal.kernel.model.ResourceBlockModel
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourceBlock>
public Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourceBlock>
clone
in interface com.liferay.portal.kernel.model.ResourceBlockModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourceBlock>
public int compareTo(com.liferay.portal.kernel.model.ResourceBlock resourceBlock)
compareTo
in interface com.liferay.portal.kernel.model.ResourceBlockModel
compareTo
in interface Comparable<com.liferay.portal.kernel.model.ResourceBlock>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.portal.kernel.model.ResourceBlockModel
hashCode
in class Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourceBlock>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourceBlock>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourceBlock>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourceBlock>
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.ResourceBlock> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourceBlock>
toCacheModel
in interface com.liferay.portal.kernel.model.ResourceBlockModel
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ResourceBlock>
public String toString()
toString
in interface com.liferay.portal.kernel.model.ResourceBlockModel
toString
in class Object
public String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ResourceBlock>
toXmlString
in interface com.liferay.portal.kernel.model.ResourceBlockModel