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, 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 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 TrashVersionModel
public java.lang.String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
getClassName
in interface TrashVersionModel
public long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
getClassNameId
in interface TrashVersionModel
public long getClassPK()
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
getClassPK
in interface TrashVersionModel
public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface TrashVersionModel
public long getCtCollectionId()
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashVersion>
getCtCollectionId
in interface TrashVersionModel
public long getEntryId()
getEntryId
in interface TrashVersionModel
public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
getMvccVersion
in interface TrashVersionModel
public long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashVersion>
getPrimaryKey
in interface TrashVersionModel
public int getStatus()
getStatus
in interface TrashVersionModel
public java.lang.String getTypeSettings()
getTypeSettings
in interface TrashVersionModel
public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties
in interface TrashVersion
public java.lang.String getTypeSettingsProperty(java.lang.String key)
getTypeSettingsProperty
in interface TrashVersion
public java.lang.String getTypeSettingsProperty(java.lang.String key, java.lang.String defaultValue)
getTypeSettingsProperty
in interface TrashVersion
public long getVersionId()
getVersionId
in interface TrashVersionModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setClassName(java.lang.String className)
setClassName
in interface TrashVersionModel
public void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
setClassNameId
in interface TrashVersionModel
classNameId
- the class name ID of this trash versionpublic void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
setClassPK
in interface TrashVersionModel
classPK
- the class pk of this trash versionpublic void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface TrashVersionModel
companyId
- 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 TrashVersionModel
ctCollectionId
- the ct collection ID of this trash versionpublic void setEntryId(long entryId)
setEntryId
in interface TrashVersionModel
entryId
- the entry ID of this trash versionpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface TrashVersionModel
mvccVersion
- 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 TrashVersionModel
primaryKey
- the primary key of this trash versionpublic void setStatus(int status)
setStatus
in interface TrashVersionModel
status
- the status of this trash versionpublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings
in interface TrashVersionModel
typeSettings
- the type settings of this trash versionpublic void setTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties)
setTypeSettingsProperties
in interface TrashVersion
public void setVersionId(long versionId)
setVersionId
in interface TrashVersionModel
versionId
- 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>