Class DLContentWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DLContent>
com.liferay.document.library.content.model.DLContentWrapper
- All Implemented Interfaces:
DLContent
,DLContentModel
,com.liferay.portal.kernel.model.BaseModel<DLContent>
,com.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ModelWrapper<DLContent>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,Serializable
,Cloneable
,Comparable<DLContent>
public class DLContentWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DLContent>
implements DLContent, com.liferay.portal.kernel.model.ModelWrapper<DLContent>
This class is a wrapper for DLContent
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.document.library.content.model.DLContent
CONTENT_ID_ACCESSOR
-
Constructor Summary
Constructors -
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
persist()
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
setModelAttributes
(Map<String, Object> attributes) 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.protected DLContentWrapper
Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
DLContentWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<DLContent>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<DLContent>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<DLContent>
- Specified by:
cloneWithOriginalValues
in interfaceDLContentModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this document library content.- Specified by:
getCompanyId
in interfaceDLContentModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Returns:
- the company ID of this document library content
-
getContentId
public long getContentId()Returns the content ID of this document library content.- Specified by:
getContentId
in interfaceDLContentModel
- Returns:
- the content ID of this document library content
-
getCtCollectionId
public 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>
- Specified by:
getCtCollectionId
in interfaceDLContentModel
- Returns:
- the ct collection ID of this document library content
-
getData
Returns the data of this document library content.- Specified by:
getData
in interfaceDLContentModel
- Returns:
- the data of this document library content
-
getGroupId
public long getGroupId()Returns the group ID of this document library content.- Specified by:
getGroupId
in interfaceDLContentModel
- Returns:
- the group ID of this document library content
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this document library content.- Specified by:
getMvccVersion
in interfaceDLContentModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this document library content
-
getPath
Returns the path of this document library content.- Specified by:
getPath
in interfaceDLContentModel
- Returns:
- the path of this document library content
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this document library content.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>
- Specified by:
getPrimaryKey
in interfaceDLContentModel
- Returns:
- the primary key of this document library content
-
getRepositoryId
public long getRepositoryId()Returns the repository ID of this document library content.- Specified by:
getRepositoryId
in interfaceDLContentModel
- Returns:
- the repository ID of this document library content
-
getSize
public long getSize()Returns the size of this document library content.- Specified by:
getSize
in interfaceDLContentModel
- Returns:
- the size of this document library content
-
getVersion
Returns the version of this document library content.- Specified by:
getVersion
in interfaceDLContentModel
- Returns:
- the version of this document library content
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this document library content.- Specified by:
setCompanyId
in interfaceDLContentModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Parameters:
companyId
- the company ID of this document library content
-
setContentId
public void setContentId(long contentId) Sets the content ID of this document library content.- Specified by:
setContentId
in interfaceDLContentModel
- Parameters:
contentId
- the content ID of this document library content
-
setCtCollectionId
public 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>
- Specified by:
setCtCollectionId
in interfaceDLContentModel
- Parameters:
ctCollectionId
- the ct collection ID of this document library content
-
setData
Sets the data of this document library content.- Specified by:
setData
in interfaceDLContentModel
- Parameters:
data
- the data of this document library content
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this document library content.- Specified by:
setGroupId
in interfaceDLContentModel
- Parameters:
groupId
- the group ID of this document library content
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this document library content.- Specified by:
setMvccVersion
in interfaceDLContentModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this document library content
-
setPath
Sets the path of this document library content.- Specified by:
setPath
in interfaceDLContentModel
- Parameters:
path
- the path of this document library content
-
setPrimaryKey
public 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>
- Specified by:
setPrimaryKey
in interfaceDLContentModel
- Parameters:
primaryKey
- the primary key of this document library content
-
setRepositoryId
public void setRepositoryId(long repositoryId) Sets the repository ID of this document library content.- Specified by:
setRepositoryId
in interfaceDLContentModel
- Parameters:
repositoryId
- the repository ID of this document library content
-
setSize
public void setSize(long size) Sets the size of this document library content.- Specified by:
setSize
in interfaceDLContentModel
- Parameters:
size
- the size of this document library content
-
setVersion
Sets the version of this document library content.- Specified by:
setVersion
in interfaceDLContentModel
- Parameters:
version
- the version of this document library content
-
toXmlString
- Specified by:
toXmlString
in interfaceDLContentModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<DLContent>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<DLContent>
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DLContent>
-