public class DLContentWrapper extends BaseModelWrapper<DLContent> implements DLContent, ModelWrapper<DLContent>
This class is a wrapper for DLContent.
DLContent,
Serialized FormmodelCONTENT_ID_ACCESSOR| Constructor and Description |
|---|
DLContentWrapper(DLContent dlContent) |
| Modifier and Type | Method and Description |
|---|---|
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()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic DLContentWrapper(DLContent dlContent)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<DLContent>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<DLContent>public long getCompanyId()
getCompanyId in interface DLContentModelgetCompanyId in interface ShardedModelpublic long getContentId()
getContentId in interface DLContentModelpublic long getCtCollectionId()
getCtCollectionId in interface DLContentModelgetCtCollectionId in interface CTModel<DLContent>public java.sql.Blob getData()
getData in interface DLContentModelpublic long getGroupId()
getGroupId in interface DLContentModelpublic long getMvccVersion()
getMvccVersion in interface DLContentModelgetMvccVersion in interface MVCCModelpublic java.lang.String getPath()
getPath in interface DLContentModelpublic long getPrimaryKey()
getPrimaryKey in interface DLContentModelgetPrimaryKey in interface CTModel<DLContent>public long getRepositoryId()
getRepositoryId in interface DLContentModelpublic long getSize()
getSize in interface DLContentModelpublic java.lang.String getVersion()
getVersion in interface DLContentModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface DLContentModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this document library contentpublic void setContentId(long contentId)
setContentId in interface DLContentModelcontentId - the content ID of this document library contentpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface DLContentModelsetCtCollectionId in interface CTModel<DLContent>ctCollectionId - the ct collection ID of this document library contentpublic void setData(java.sql.Blob data)
setData in interface DLContentModeldata - the data of this document library contentpublic void setGroupId(long groupId)
setGroupId in interface DLContentModelgroupId - the group ID of this document library contentpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface DLContentModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this document library contentpublic void setPath(java.lang.String path)
setPath in interface DLContentModelpath - the path of this document library contentpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DLContentModelsetPrimaryKey in interface CTModel<DLContent>primaryKey - the primary key of this document library contentpublic void setRepositoryId(long repositoryId)
setRepositoryId in interface DLContentModelrepositoryId - the repository ID of this document library contentpublic void setSize(long size)
setSize in interface DLContentModelsize - the size of this document library contentpublic void setVersion(java.lang.String version)
setVersion in interface DLContentModelversion - 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 BaseModel<DLContent>public java.util.Map<java.lang.String,java.util.function.BiConsumer<DLContent,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<DLContent>protected DLContentWrapper wrap(DLContent dlContent)
wrap in class BaseModelWrapper<DLContent>