|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType public interface DLContentModel
The base model interface for the DLContent service. Represents a row in the "DLContent" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation DLContentModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DLContentImpl
.
DLContent
,
DLContentImpl
,
DLContentModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLContent dlContent)
|
long |
getCompanyId()
Returns the company ID of this document library content. |
long |
getContentId()
Returns the content ID of this document library content. |
Blob |
getData()
Returns the data of this document library content. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this document library content. |
String |
getPath()
Returns the path of this document library content. |
long |
getPrimaryKey()
Returns the primary key of this document library content. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRepositoryId()
Returns the repository ID of this document library content. |
long |
getSize()
Returns the size of this document library content. |
String |
getVersion()
Returns the version of this document library content. |
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 document library content. |
void |
setContentId(long contentId)
Sets the content ID of this document library content. |
void |
setData(Blob data)
Sets the data of this document library content. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 document library content. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPath(String path)
Sets the path of this document library content. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this document library content. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRepositoryId(long repositoryId)
Sets the repository ID of this document library content. |
void |
setSize(long size)
Sets the size of this document library content. |
void |
setVersion(String version)
Sets the version of this document library content. |
CacheModel<DLContent> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DLContent |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
DLContent |
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 document library contentlong getContentId()
void setContentId(long contentId)
contentId
- the content ID of this document library contentlong getGroupId()
void setGroupId(long groupId)
groupId
- the group ID of this document library contentlong getCompanyId()
void setCompanyId(long companyId)
companyId
- the company ID of this document library contentlong getRepositoryId()
void setRepositoryId(long repositoryId)
repositoryId
- the repository ID of this document library content@AutoEscape String getPath()
void setPath(String path)
path
- the path of this document library content@AutoEscape String getVersion()
void setVersion(String version)
version
- the version of this document library contentBlob getData()
void setData(Blob data)
data
- the data of this document library contentlong getSize()
void setSize(long size)
size
- the size of this document library contentboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<DLContent>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<DLContent>
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<DLContent>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<DLContent>
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<DLContent>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLContent>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DLContent>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLContent>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<DLContent>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<DLContent>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLContent>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<DLContent>
int compareTo(DLContent dlContent)
compareTo
in interface Comparable<DLContent>
int hashCode()
hashCode
in class Object
CacheModel<DLContent> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DLContent>
DLContent toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DLContent>
AutoEscapeBeanHandler
DLContent toUnescapedModel()
toUnescapedModel
in interface BaseModel<DLContent>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLContent>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |