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 TypeMethodDescriptionlong
Returns the company ID of this document library content.long
Returns the content ID of this document library content.long
Returns the ct collection ID of this document library content.getData()
Returns the data of this document library content.long
Returns the group ID of this document library content.long
Returns the mvcc version of this document library content.getPath()
Returns the path of this document library content.long
Returns the primary key of this document library content.long
Returns the repository ID of this document library content.long
getSize()
Returns the size of this document library content.Returns the version of this document library content.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
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this document library content.void
Sets the data of this document library content.void
setGroupId
(long groupId) Sets the group ID of this document library content.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this document library content.void
Sets the path of this document library content.void
setPrimaryKey
(long primaryKey) Sets the primary key of this document library content.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.default String
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this document library content.- Specified by:
getPrimaryKey
in 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:
setPrimaryKey
in 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:
getMvccVersion
in 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:
setMvccVersion
in 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:
getCtCollectionId
in 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:
setCtCollectionId
in 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:
getCompanyId
in 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:
setCompanyId
in 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:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<DLContent>
-
toXmlString
-