public class TrashVersionWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<TrashVersion> implements com.liferay.portal.kernel.model.ModelWrapper<TrashVersion>, TrashVersion
This class is a wrapper for TrashVersion.
TrashVersion,
Serialized FormVERSION_ID_ACCESSOR| Constructor and Description |
|---|
TrashVersionWrapper(TrashVersion trashVersion) |
| Modifier and Type | Method and Description |
|---|---|
TrashVersion |
cloneWithOriginalValues() |
java.util.Map<java.lang.String,java.util.function.Function<TrashVersion,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<TrashVersion,java.lang.Object>> |
getAttributeSetterBiConsumers() |
java.lang.String |
getClassName()
Returns the fully qualified class name of this trash version.
|
long |
getClassNameId()
Returns the class name ID of this trash version.
|
long |
getClassPK()
Returns the class pk of this trash version.
|
long |
getCompanyId()
Returns the company ID of this trash version.
|
long |
getCtCollectionId()
Returns the ct collection ID of this trash version.
|
long |
getEntryId()
Returns the entry ID of this trash version.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this trash version.
|
long |
getPrimaryKey()
Returns the primary key of this trash version.
|
int |
getStatus()
Returns the status of this trash version.
|
java.lang.String |
getTypeSettings()
Returns the type settings of this trash version.
|
com.liferay.portal.kernel.util.UnicodeProperties |
getTypeSettingsProperties() |
java.lang.String |
getTypeSettingsProperty(java.lang.String key) |
java.lang.String |
getTypeSettingsProperty(java.lang.String key,
java.lang.String defaultValue) |
long |
getVersionId()
Returns the version ID of this trash version.
|
void |
persist() |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this trash version.
|
void |
setClassPK(long classPK)
Sets the class pk of this trash version.
|
void |
setCompanyId(long companyId)
Sets the company ID of this trash version.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this trash version.
|
void |
setEntryId(long entryId)
Sets the entry ID of this trash version.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this trash version.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this trash version.
|
void |
setStatus(int status)
Sets the status of this trash version.
|
void |
setTypeSettings(java.lang.String typeSettings)
Sets the type settings of this trash version.
|
void |
setTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) |
void |
setVersionId(long versionId)
Sets the version ID of this trash version.
|
protected TrashVersionWrapper |
wrap(TrashVersion trashVersion) |
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, toXmlStringpublic TrashVersionWrapper(TrashVersion trashVersion)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>public TrashVersion cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>cloneWithOriginalValues in interface TrashVersionModelpublic java.lang.String getClassName()
getClassName in interface com.liferay.portal.kernel.model.TypedModelgetClassName in interface TrashVersionModelpublic long getClassNameId()
getClassNameId in interface com.liferay.portal.kernel.model.TypedModelgetClassNameId in interface TrashVersionModelpublic long getClassPK()
getClassPK in interface com.liferay.portal.kernel.model.AttachedModelgetClassPK in interface TrashVersionModelpublic long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface TrashVersionModelpublic long getCtCollectionId()
getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashVersion>getCtCollectionId in interface TrashVersionModelpublic long getEntryId()
getEntryId in interface TrashVersionModelpublic long getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelgetMvccVersion in interface TrashVersionModelpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashVersion>getPrimaryKey in interface TrashVersionModelpublic int getStatus()
getStatus in interface TrashVersionModelpublic java.lang.String getTypeSettings()
getTypeSettings in interface TrashVersionModelpublic com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface TrashVersionpublic java.lang.String getTypeSettingsProperty(java.lang.String key)
getTypeSettingsProperty in interface TrashVersionpublic java.lang.String getTypeSettingsProperty(java.lang.String key,
java.lang.String defaultValue)
getTypeSettingsProperty in interface TrashVersionpublic long getVersionId()
getVersionId in interface TrashVersionModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setClassName(java.lang.String className)
setClassName in interface TrashVersionModelpublic void setClassNameId(long classNameId)
setClassNameId in interface com.liferay.portal.kernel.model.TypedModelsetClassNameId in interface TrashVersionModelclassNameId - the class name ID of this trash versionpublic void setClassPK(long classPK)
setClassPK in interface com.liferay.portal.kernel.model.AttachedModelsetClassPK in interface TrashVersionModelclassPK - the class pk of this trash versionpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface TrashVersionModelcompanyId - the company ID of this trash versionpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashVersion>setCtCollectionId in interface TrashVersionModelctCollectionId - the ct collection ID of this trash versionpublic void setEntryId(long entryId)
setEntryId in interface TrashVersionModelentryId - the entry ID of this trash versionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelsetMvccVersion in interface TrashVersionModelmvccVersion - the mvcc version of this trash versionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashVersion>setPrimaryKey in interface TrashVersionModelprimaryKey - the primary key of this trash versionpublic void setStatus(int status)
setStatus in interface TrashVersionModelstatus - the status of this trash versionpublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings in interface TrashVersionModeltypeSettings - the type settings of this trash versionpublic void setTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties)
setTypeSettingsProperties in interface TrashVersionpublic void setVersionId(long versionId)
setVersionId in interface TrashVersionModelversionId - the version ID of this trash versionpublic java.util.Map<java.lang.String,java.util.function.Function<TrashVersion,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>public java.util.Map<java.lang.String,java.util.function.BiConsumer<TrashVersion,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>protected TrashVersionWrapper wrap(TrashVersion trashVersion)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<TrashVersion>