|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<ResourceBlock> com.liferay.portal.model.impl.ResourceBlockModelImpl
@JSON(strict=true) public class ResourceBlockModelImpl
The base model implementation for the ResourceBlock service. Represents a row in the "ResourceBlock" database table, with each column mapped to a property of this class.
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 FormField Summary | |
---|---|
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 long |
PERMISSIONSHASH_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
Constructor Summary | |
---|---|
ResourceBlockModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ResourceBlock resourceBlock)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this resource block. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this resource block. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this resource block. |
long |
getOriginalCompanyId()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
String |
getOriginalPermissionsHash()
|
String |
getPermissionsHash()
Returns the permissions hash of this resource block. |
long |
getPrimaryKey()
Returns the primary key of this resource block. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getReferenceCount()
Returns the reference count of this resource block. |
long |
getResourceBlockId()
Returns the resource block ID of this resource block. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCompanyId(long companyId)
Sets the company ID of this resource block. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this resource block. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this resource block. |
void |
setPermissionsHash(String permissionsHash)
Sets the permissions hash of this resource block. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this resource block. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setReferenceCount(long referenceCount)
Sets the reference count of this resource block. |
void |
setResourceBlockId(long resourceBlockId)
Sets the resource block ID of this resource block. |
CacheModel<ResourceBlock> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ResourceBlock |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
static ResourceBlock |
toModel(ResourceBlockSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<ResourceBlock> |
toModels(ResourceBlockSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
ResourceBlock |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portal.model.ResourceBlockModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
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 long COMPANYID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long PERMISSIONSHASH_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public ResourceBlockModelImpl()
Method Detail |
---|
public static ResourceBlock toModel(ResourceBlockSoap soapModel)
soapModel
- the soap model instance to convert
public static List<ResourceBlock> toModels(ResourceBlockSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
ResourceBlockModel
getPrimaryKey
in interface ResourceBlockModel
public void setPrimaryKey(long primaryKey)
ResourceBlockModel
setPrimaryKey
in interface ResourceBlockModel
primaryKey
- the primary key of this resource blockpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ResourceBlock>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface ResourceBlockModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ResourceBlock>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface ResourceBlockModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<ResourceBlock>
getModelAttributes
in class BaseModelImpl<ResourceBlock>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<ResourceBlock>
setModelAttributes
in class BaseModelImpl<ResourceBlock>
@JSON public long getResourceBlockId()
ResourceBlockModel
getResourceBlockId
in interface ResourceBlockModel
public void setResourceBlockId(long resourceBlockId)
ResourceBlockModel
setResourceBlockId
in interface ResourceBlockModel
resourceBlockId
- the resource block ID of this resource block@JSON public long getCompanyId()
ResourceBlockModel
getCompanyId
in interface ResourceBlockModel
public void setCompanyId(long companyId)
ResourceBlockModel
setCompanyId
in interface ResourceBlockModel
companyId
- the company ID of this resource blockpublic long getOriginalCompanyId()
@JSON public long getGroupId()
ResourceBlockModel
getGroupId
in interface ResourceBlockModel
public void setGroupId(long groupId)
ResourceBlockModel
setGroupId
in interface ResourceBlockModel
groupId
- the group ID of this resource blockpublic long getOriginalGroupId()
@JSON public String getName()
ResourceBlockModel
getName
in interface ResourceBlockModel
public void setName(String name)
ResourceBlockModel
setName
in interface ResourceBlockModel
name
- the name of this resource blockpublic String getOriginalName()
@JSON public String getPermissionsHash()
ResourceBlockModel
getPermissionsHash
in interface ResourceBlockModel
public void setPermissionsHash(String permissionsHash)
ResourceBlockModel
setPermissionsHash
in interface ResourceBlockModel
permissionsHash
- the permissions hash of this resource blockpublic String getOriginalPermissionsHash()
@JSON public long getReferenceCount()
ResourceBlockModel
getReferenceCount
in interface ResourceBlockModel
public void setReferenceCount(long referenceCount)
ResourceBlockModel
setReferenceCount
in interface ResourceBlockModel
referenceCount
- the reference count of this resource blockpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ResourceBlock>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ResourceBlockModel
getExpandoBridge
in class BaseModelImpl<ResourceBlock>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ResourceBlock>
setExpandoBridgeAttributes
in interface ResourceBlockModel
setExpandoBridgeAttributes
in class BaseModelImpl<ResourceBlock>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public ResourceBlock toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ResourceBlock>
toEscapedModel
in interface ResourceBlockModel
toEscapedModel
in class BaseModelImpl<ResourceBlock>
AutoEscapeBeanHandler
public ResourceBlock toUnescapedModel()
toUnescapedModel
in interface BaseModel<ResourceBlock>
toUnescapedModel
in interface ResourceBlockModel
toUnescapedModel
in class BaseModelImpl<ResourceBlock>
public Object clone()
BaseModel
clone
in interface BaseModel<ResourceBlock>
clone
in interface ResourceBlockModel
clone
in class BaseModelImpl<ResourceBlock>
public int compareTo(ResourceBlock resourceBlock)
compareTo
in interface ResourceBlockModel
compareTo
in interface Comparable<ResourceBlock>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ResourceBlockModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<ResourceBlock>
resetOriginalValues
in class BaseModelImpl<ResourceBlock>
public CacheModel<ResourceBlock> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ResourceBlock>
toCacheModel
in interface ResourceBlockModel
toCacheModel
in class BaseModelImpl<ResourceBlock>
public String toString()
toString
in interface ResourceBlockModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ResourceBlock>
toXmlString
in interface ResourceBlockModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |