public class CTSContentWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTSContent> implements CTSContent, com.liferay.portal.kernel.model.ModelWrapper<CTSContent>
This class is a wrapper for CTSContent
.
CTSContent
,
Serialized FormCTS_CONTENT_ID_ACCESSOR
Constructor and Description |
---|
CTSContentWrapper(CTSContent ctsContent) |
Modifier and Type | Method and Description |
---|---|
CTSContent |
cloneWithOriginalValues() |
java.util.Map<java.lang.String,java.util.function.Function<CTSContent,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<CTSContent,java.lang.Object>> |
getAttributeSetterBiConsumers() |
long |
getCompanyId()
Returns the company ID of this cts content.
|
long |
getCtCollectionId()
Returns the ct collection ID of this cts content.
|
long |
getCtsContentId()
Returns the cts content ID of this cts content.
|
java.sql.Blob |
getData()
Returns the data of this cts content.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this cts content.
|
java.lang.String |
getPath()
Returns the path of this cts content.
|
long |
getPrimaryKey()
Returns the primary key of this cts content.
|
long |
getRepositoryId()
Returns the repository ID of this cts content.
|
long |
getSize()
Returns the size of this cts content.
|
java.lang.String |
getStoreType()
Returns the store type of this cts content.
|
java.lang.String |
getVersion()
Returns the version of this cts content.
|
void |
persist() |
void |
setCompanyId(long companyId)
Sets the company ID of this cts content.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this cts content.
|
void |
setCtsContentId(long ctsContentId)
Sets the cts content ID of this cts content.
|
void |
setData(java.sql.Blob data)
Sets the data of this cts content.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this cts content.
|
void |
setPath(java.lang.String path)
Sets the path of this cts content.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this cts content.
|
void |
setRepositoryId(long repositoryId)
Sets the repository ID of this cts content.
|
void |
setSize(long size)
Sets the size of this cts content.
|
void |
setStoreType(java.lang.String storeType)
Sets the store type of this cts content.
|
void |
setVersion(java.lang.String version)
Sets the version of this cts content.
|
protected CTSContentWrapper |
wrap(CTSContent ctsContent) |
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 CTSContentWrapper(CTSContent ctsContent)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CTSContent>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CTSContent>
public CTSContent cloneWithOriginalValues()
cloneWithOriginalValues
in interface CTSContentModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CTSContent>
public long getCompanyId()
getCompanyId
in interface CTSContentModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public long getCtCollectionId()
getCtCollectionId
in interface CTSContentModel
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CTSContent>
public long getCtsContentId()
getCtsContentId
in interface CTSContentModel
public java.sql.Blob getData()
getData
in interface CTSContentModel
public long getMvccVersion()
getMvccVersion
in interface CTSContentModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getPath()
getPath
in interface CTSContentModel
public long getPrimaryKey()
getPrimaryKey
in interface CTSContentModel
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CTSContent>
public long getRepositoryId()
getRepositoryId
in interface CTSContentModel
public long getSize()
getSize
in interface CTSContentModel
public java.lang.String getStoreType()
getStoreType
in interface CTSContentModel
public java.lang.String getVersion()
getVersion
in interface CTSContentModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface CTSContentModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this cts contentpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTSContentModel
setCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CTSContent>
ctCollectionId
- the ct collection ID of this cts contentpublic void setCtsContentId(long ctsContentId)
setCtsContentId
in interface CTSContentModel
ctsContentId
- the cts content ID of this cts contentpublic void setData(java.sql.Blob data)
setData
in interface CTSContentModel
data
- the data of this cts contentpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CTSContentModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this cts contentpublic void setPath(java.lang.String path)
setPath
in interface CTSContentModel
path
- the path of this cts contentpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTSContentModel
setPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CTSContent>
primaryKey
- the primary key of this cts contentpublic void setRepositoryId(long repositoryId)
setRepositoryId
in interface CTSContentModel
repositoryId
- the repository ID of this cts contentpublic void setSize(long size)
setSize
in interface CTSContentModel
size
- the size of this cts contentpublic void setStoreType(java.lang.String storeType)
setStoreType
in interface CTSContentModel
storeType
- the store type of this cts contentpublic void setVersion(java.lang.String version)
setVersion
in interface CTSContentModel
version
- the version of this cts contentpublic java.util.Map<java.lang.String,java.util.function.Function<CTSContent,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface com.liferay.portal.kernel.model.BaseModel<CTSContent>
public java.util.Map<java.lang.String,java.util.function.BiConsumer<CTSContent,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface com.liferay.portal.kernel.model.BaseModel<CTSContent>
protected CTSContentWrapper wrap(CTSContent ctsContent)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTSContent>