@ProviderType public class TrashVersionWrapper extends java.lang.Object implements TrashVersion, com.liferay.portal.kernel.model.ModelWrapper<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 |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(TrashVersion trashVersion) |
boolean |
equals(java.lang.Object obj) |
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 |
getEntryId()
Returns the entry ID of this trash version.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this trash version.
|
java.io.Serializable |
getPrimaryKeyObj() |
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.
|
TrashVersion |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
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 |
setEntryId(long entryId)
Sets the entry ID of this trash version.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this trash version.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
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 typeSettingsProperties) |
void |
setVersionId(long versionId)
Sets the version ID of this trash version.
|
com.liferay.portal.kernel.model.CacheModel<TrashVersion> |
toCacheModel() |
TrashVersion |
toEscapedModel() |
java.lang.String |
toString() |
TrashVersion |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public TrashVersionWrapper(TrashVersion trashVersion)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic 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 java.lang.Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>clone in interface TrashVersionModelclone in class java.lang.Objectpublic int compareTo(TrashVersion trashVersion)
compareTo in interface TrashVersionModelcompareTo in interface java.lang.Comparable<TrashVersion>public 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 getEntryId()
getEntryId in interface TrashVersionModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in interface TrashVersionModelpublic long getPrimaryKey()
getPrimaryKey in interface TrashVersionModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelgetPrimaryKeyObj 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 int hashCode()
hashCode in interface TrashVersionModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
isCachedModel in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>isCachedModel in interface TrashVersionModelpublic boolean isEscapedModel()
isEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>isEscapedModel in interface TrashVersionModelpublic boolean isNew()
isNew in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>isNew in interface TrashVersionModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>setCachedModel in interface TrashVersionModelpublic 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 setEntryId(long entryId)
setEntryId in interface TrashVersionModelentryId - the entry ID of this trash versionpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>setExpandoBridgeAttributes in interface TrashVersionModelpublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>setExpandoBridgeAttributes in interface TrashVersionModelpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>setExpandoBridgeAttributes in interface TrashVersionModelpublic void setNew(boolean n)
setNew in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>setNew in interface TrashVersionModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface TrashVersionModelprimaryKey - the primary key of this trash versionpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelsetPrimaryKeyObj in interface TrashVersionModelpublic 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 typeSettingsProperties)
setTypeSettingsProperties in interface TrashVersionpublic void setVersionId(long versionId)
setVersionId in interface TrashVersionModelversionId - the version ID of this trash versionpublic com.liferay.portal.kernel.model.CacheModel<TrashVersion> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>toCacheModel in interface TrashVersionModelpublic TrashVersion toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>toEscapedModel in interface TrashVersionModelpublic java.lang.String toString()
toString in interface TrashVersionModeltoString in class java.lang.Objectpublic TrashVersion toUnescapedModel()
toUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>toUnescapedModel in interface TrashVersionModelpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>toXmlString in interface TrashVersionModelpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic TrashVersion getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<TrashVersion>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>