|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceBlockModel
The base model interface for the ResourceBlock service. Represents a row in the "ResourceBlock" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation ResourceBlockModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ResourceBlockImpl
.
ResourceBlock
,
ResourceBlockImpl
,
ResourceBlockModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ResourceBlock resourceBlock)
|
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. |
String |
getName()
Returns the name of this resource block. |
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()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setName(String name)
Sets the name of this resource block. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 . |
String |
toString()
|
ResourceBlock |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from interface com.liferay.portal.model.BaseModel |
---|
getModelAttributes, resetOriginalValues, setModelAttributes |
Methods inherited from interface com.liferay.portal.model.ClassedModel |
---|
getModelClass, getModelClassName |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this resource blocklong getResourceBlockId()
void setResourceBlockId(long resourceBlockId)
resourceBlockId
- the resource block ID of this resource blocklong getCompanyId()
void setCompanyId(long companyId)
companyId
- the company ID of this resource blocklong getGroupId()
void setGroupId(long groupId)
groupId
- the group ID of this resource block@AutoEscape String getName()
void setName(String name)
name
- the name of this resource block@AutoEscape String getPermissionsHash()
void setPermissionsHash(String permissionsHash)
permissionsHash
- the permissions hash of this resource blocklong getReferenceCount()
void setReferenceCount(long referenceCount)
referenceCount
- the reference count of this resource blockboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<ResourceBlock>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<ResourceBlock>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<ResourceBlock>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<ResourceBlock>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<ResourceBlock>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ResourceBlock>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ResourceBlock>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ResourceBlock>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ResourceBlock>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<ResourceBlock>
int compareTo(ResourceBlock resourceBlock)
compareTo
in interface Comparable<ResourceBlock>
int hashCode()
hashCode
in class Object
CacheModel<ResourceBlock> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ResourceBlock>
ResourceBlock toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ResourceBlock>
AutoEscapeBeanHandler
ResourceBlock toUnescapedModel()
toUnescapedModel
in interface BaseModel<ResourceBlock>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ResourceBlock>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |