@ProviderType public interface DLContentModel extends BaseModel<DLContent>, ShardedModel
This interface and its corresponding implementation com.liferay.portlet.documentlibrary.model.impl.DLContentModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.documentlibrary.model.impl.DLContentImpl.
DLContent,
com.liferay.portlet.documentlibrary.model.impl.DLContentImpl,
com.liferay.portlet.documentlibrary.model.impl.DLContentModelImpl| Modifier and Type | Method and Description |
|---|---|
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.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong 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()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - 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()
BaseModeltrue if this model instance does not yet exist in
the database.void setNew(boolean n)
BaseModelboolean isCachedModel()
BaseModeltrue 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)
BaseModelsetCachedModel in interface BaseModel<DLContent>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<DLContent>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<DLContent>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<DLContent>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<DLContent>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DLContent>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DLContent>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<DLContent>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModelint compareTo(DLContent dlContent)
compareTo in interface Comparable<DLContent>CacheModel<DLContent> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<DLContent>DLContent toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<DLContent>AutoEscapeBeanHandlerDLContent toUnescapedModel()
toUnescapedModel in interface BaseModel<DLContent>String toXmlString()
BaseModeltoXmlString in interface BaseModel<DLContent>