@JSON(strict=true)
@ProviderType
public class ResourceBlockModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceBlock>
implements com.liferay.portal.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 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 |
GROUPID_COLUMN_BITMASK |
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 |
PERMISSIONSHASH_COLUMN_BITMASK |
static long |
RESOURCEBLOCKID_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 |
| Constructor and Description |
|---|
ResourceBlockModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.portal.model.ResourceBlock resourceBlock) |
boolean |
equals(java.lang.Object obj) |
long |
getColumnBitmask() |
long |
getCompanyId() |
com.liferay.portlet.expando.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId() |
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() |
long |
getOriginalGroupId() |
java.lang.String |
getOriginalName() |
java.lang.String |
getOriginalPermissionsHash() |
java.lang.String |
getPermissionsHash() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
long |
getReferenceCount() |
long |
getResourceBlockId() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setCompanyId(long companyId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion) |
void |
setName(java.lang.String name) |
void |
setPermissionsHash(java.lang.String permissionsHash) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setReferenceCount(long referenceCount) |
void |
setResourceBlockId(long resourceBlockId) |
com.liferay.portal.model.CacheModel<com.liferay.portal.model.ResourceBlock> |
toCacheModel() |
com.liferay.portal.model.ResourceBlock |
toEscapedModel() |
static com.liferay.portal.model.ResourceBlock |
toModel(com.liferay.portal.model.ResourceBlockSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.portal.model.ResourceBlock> |
toModels(com.liferay.portal.model.ResourceBlockSoap[] 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 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.model.ResourceBlock toModel(com.liferay.portal.model.ResourceBlockSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.portal.model.ResourceBlock> toModels(com.liferay.portal.model.ResourceBlockSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.model.ResourceBlockModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.model.ResourceBlockModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceBlock>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portal.model.ResourceBlockModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceBlock>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portal.model.ResourceBlockModelpublic 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.ResourceBlock>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceBlock>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.ResourceBlock>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceBlock>@JSON public long getMvccVersion()
getMvccVersion in interface com.liferay.portal.model.MVCCModelgetMvccVersion in interface com.liferay.portal.model.ResourceBlockModelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.model.MVCCModelsetMvccVersion in interface com.liferay.portal.model.ResourceBlockModel@JSON public long getResourceBlockId()
getResourceBlockId in interface com.liferay.portal.model.ResourceBlockModelpublic void setResourceBlockId(long resourceBlockId)
setResourceBlockId in interface com.liferay.portal.model.ResourceBlockModel@JSON public long getCompanyId()
getCompanyId in interface com.liferay.portal.model.ResourceBlockModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.model.ResourceBlockModelpublic long getOriginalCompanyId()
@JSON public long getGroupId()
getGroupId in interface com.liferay.portal.model.ResourceBlockModelpublic void setGroupId(long groupId)
setGroupId in interface com.liferay.portal.model.ResourceBlockModelpublic long getOriginalGroupId()
@JSON public java.lang.String getName()
getName in interface com.liferay.portal.model.ResourceBlockModelpublic void setName(java.lang.String name)
setName in interface com.liferay.portal.model.ResourceBlockModelpublic java.lang.String getOriginalName()
@JSON public java.lang.String getPermissionsHash()
getPermissionsHash in interface com.liferay.portal.model.ResourceBlockModelpublic void setPermissionsHash(java.lang.String permissionsHash)
setPermissionsHash in interface com.liferay.portal.model.ResourceBlockModelpublic java.lang.String getOriginalPermissionsHash()
@JSON public long getReferenceCount()
getReferenceCount in interface com.liferay.portal.model.ResourceBlockModelpublic void setReferenceCount(long referenceCount)
setReferenceCount in interface com.liferay.portal.model.ResourceBlockModelpublic long getColumnBitmask()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceBlock>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in interface com.liferay.portal.model.ResourceBlockModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceBlock>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceBlock>setExpandoBridgeAttributes in interface com.liferay.portal.model.ResourceBlockModelsetExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceBlock>public com.liferay.portal.model.ResourceBlock toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceBlock>toEscapedModel in interface com.liferay.portal.model.ResourceBlockModeltoEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceBlock>public java.lang.Object clone()
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceBlock>clone in interface com.liferay.portal.model.ResourceBlockModelclone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceBlock>public int compareTo(com.liferay.portal.model.ResourceBlock resourceBlock)
compareTo in interface com.liferay.portal.model.ResourceBlockModelcompareTo in interface java.lang.Comparable<com.liferay.portal.model.ResourceBlock>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portal.model.ResourceBlockModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceBlock>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceBlock>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceBlock>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceBlock>public com.liferay.portal.model.CacheModel<com.liferay.portal.model.ResourceBlock> toCacheModel()
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceBlock>toCacheModel in interface com.liferay.portal.model.ResourceBlockModeltoCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ResourceBlock>public java.lang.String toString()
toString in interface com.liferay.portal.model.ResourceBlockModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ResourceBlock>toXmlString in interface com.liferay.portal.model.ResourceBlockModel