Interface DLContentModel
- All Superinterfaces:
com.liferay.portal.kernel.model.BaseModel<DLContent>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<DLContent>,com.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel
- All Known Subinterfaces:
DLContent
- All Known Implementing Classes:
DLContentWrapper
@ProviderType
public interface DLContentModel
extends com.liferay.portal.kernel.model.BaseModel<DLContent>, com.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
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 com.liferay.document.library.content.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.document.library.content.model.impl.DLContentImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the company ID of this document library content.longReturns the content ID of this document library content.longReturns the ct collection ID of this document library content.getData()Returns the data of this document library content.longReturns the group ID of this document library content.longReturns the mvcc version of this document library content.getPath()Returns the path of this document library content.longReturns the primary key of this document library content.longReturns the repository ID of this document library content.longgetSize()Returns the size of this document library content.Returns the version of this document library content.voidsetCompanyId(long companyId) Sets the company ID of this document library content.voidsetContentId(long contentId) Sets the content ID of this document library content.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this document library content.voidSets the data of this document library content.voidsetGroupId(long groupId) Sets the group ID of this document library content.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this document library content.voidSets the path of this document library content.voidsetPrimaryKey(long primaryKey) Sets the primary key of this document library content.voidsetRepositoryId(long repositoryId) Sets the repository ID of this document library content.voidsetSize(long size) Sets the size of this document library content.voidsetVersion(String version) Sets the version of this document library content.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this document library content.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>- Returns:
- the primary key of this document library content
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this document library content.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>- Parameters:
primaryKey- the primary key of this document library content
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this document library content.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this document library content
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this document library content.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this document library content
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this document library content.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>- Returns:
- the ct collection ID of this document library content
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this document library content.- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>- Parameters:
ctCollectionId- the ct collection ID of this document library content
-
getContentId
long getContentId()Returns the content ID of this document library content.- Returns:
- the content ID of this document library content
-
setContentId
void setContentId(long contentId) Sets the content ID of this document library content.- Parameters:
contentId- the content ID of this document library content
-
getGroupId
long getGroupId()Returns the group ID of this document library content.- Returns:
- the group ID of this document library content
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this document library content.- Parameters:
groupId- the group ID of this document library content
-
getCompanyId
long getCompanyId()Returns the company ID of this document library content.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this document library content
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this document library content.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this document library content
-
getRepositoryId
long getRepositoryId()Returns the repository ID of this document library content.- Returns:
- the repository ID of this document library content
-
setRepositoryId
void setRepositoryId(long repositoryId) Sets the repository ID of this document library content.- Parameters:
repositoryId- the repository ID of this document library content
-
getPath
Returns the path of this document library content.- Returns:
- the path of this document library content
-
setPath
Sets the path of this document library content.- Parameters:
path- the path of this document library content
-
getVersion
Returns the version of this document library content.- Returns:
- the version of this document library content
-
setVersion
Sets the version of this document library content.- Parameters:
version- the version of this document library content
-
getData
Blob getData()Returns the data of this document library content.- Returns:
- the data of this document library content
-
setData
Sets the data of this document library content.- Parameters:
data- the data of this document library content
-
getSize
long getSize()Returns the size of this document library content.- Returns:
- the size of this document library content
-
setSize
void setSize(long size) Sets the size of this document library content.- Parameters:
size- the size of this document library content
-
cloneWithOriginalValues
DLContent cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<DLContent>
-
toXmlString
-