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
.
DLContent
,
Serialized FormCONTENT_ID_ACCESSOR
Constructor and Description |
---|
DLContentWrapper(DLContent dlContent) |
Modifier and Type | Method and Description |
---|---|
DLContent |
cloneWithOriginalValues() |
java.util.Map<java.lang.String,java.util.function.Function<DLContent,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<DLContent,java.lang.Object>> |
getAttributeSetterBiConsumers() |
long |
getCompanyId()
Returns the company ID of this document library content.
|
long |
getContentId()
Returns the content ID of this document library content.
|
long |
getCtCollectionId()
Returns the ct collection ID of this document library content.
|
java.sql.Blob |
getData()
Returns the data of this document library content.
|
long |
getGroupId()
Returns the group ID of this document library content.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this document library content.
|
java.lang.String |
getPath()
Returns the path of this document library content.
|
long |
getPrimaryKey()
Returns the primary key of this document library content.
|
long |
getRepositoryId()
Returns the repository ID of this document library content.
|
long |
getSize()
Returns the size of this document library content.
|
java.lang.String |
getVersion()
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 |
setData(java.sql.Blob data)
Sets the data of this document library content.
|
void |
setGroupId(long groupId)
Sets the group ID of this document library content.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this document library content.
|
void |
setPath(java.lang.String path)
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(java.lang.String version)
Sets the version of this document library content.
|
protected DLContentWrapper |
wrap(DLContent dlContent) |
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public DLContentWrapper(DLContent dlContent)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DLContent>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DLContent>
public DLContent cloneWithOriginalValues()
cloneWithOriginalValues
in interface DLContentModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<DLContent>
public long getCompanyId()
getCompanyId
in interface DLContentModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public long getContentId()
getContentId
in interface DLContentModel
public long getCtCollectionId()
getCtCollectionId
in interface DLContentModel
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>
public java.sql.Blob getData()
getData
in interface DLContentModel
public long getGroupId()
getGroupId
in interface DLContentModel
public long getMvccVersion()
getMvccVersion
in interface DLContentModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getPath()
getPath
in interface DLContentModel
public long getPrimaryKey()
getPrimaryKey
in interface DLContentModel
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>
public long getRepositoryId()
getRepositoryId
in interface DLContentModel
public long getSize()
getSize
in interface DLContentModel
public java.lang.String getVersion()
getVersion
in interface DLContentModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface DLContentModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this document library contentpublic void setContentId(long contentId)
setContentId
in interface DLContentModel
contentId
- the content ID of this document library contentpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface DLContentModel
setCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>
ctCollectionId
- the ct collection ID of this document library contentpublic void setData(java.sql.Blob data)
setData
in interface DLContentModel
data
- the data of this document library contentpublic void setGroupId(long groupId)
setGroupId
in interface DLContentModel
groupId
- the group ID of this document library contentpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface DLContentModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this document library contentpublic void setPath(java.lang.String path)
setPath
in interface DLContentModel
path
- the path of this document library contentpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DLContentModel
setPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>
primaryKey
- the primary key of this document library contentpublic void setRepositoryId(long repositoryId)
setRepositoryId
in interface DLContentModel
repositoryId
- the repository ID of this document library contentpublic void setSize(long size)
setSize
in interface DLContentModel
size
- the size of this document library contentpublic void setVersion(java.lang.String version)
setVersion
in interface DLContentModel
version
- the version of this document library contentpublic java.util.Map<java.lang.String,java.util.function.Function<DLContent,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface com.liferay.portal.kernel.model.BaseModel<DLContent>
public java.util.Map<java.lang.String,java.util.function.BiConsumer<DLContent,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface com.liferay.portal.kernel.model.BaseModel<DLContent>
protected DLContentWrapper wrap(DLContent dlContent)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DLContent>