com.liferay.trash.model.impl.TrashVersionImpl@Deprecated public class TrashVersionWrapper extends Object implements TrashVersion, ModelWrapper<TrashVersion>
This class is a wrapper for TrashVersion.
TrashVersion,
Serialized FormVERSION_ID_ACCESSOR| Constructor and Description |
|---|
TrashVersionWrapper(TrashVersion trashVersion)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Deprecated.
Creates a shallow clone of this model instance.
|
TrashVersion |
cloneWithOriginalValues()
Deprecated.
|
int |
compareTo(TrashVersion trashVersion)
Deprecated.
|
boolean |
equals(Object obj)
Deprecated.
|
String |
getClassName()
Deprecated.
Returns the fully qualified class name of this trash version.
|
long |
getClassNameId()
Deprecated.
Returns the class name ID of this trash version.
|
long |
getClassPK()
Deprecated.
Returns the class pk of this trash version.
|
long |
getCompanyId()
Deprecated.
Returns the company ID of this trash version.
|
long |
getEntryId()
Deprecated.
Returns the entry ID of this trash version.
|
ExpandoBridge |
getExpandoBridge()
Deprecated.
Returns the expando bridge for this model instance.
|
Map<String,Object> |
getModelAttributes()
Deprecated.
|
Class<?> |
getModelClass()
Deprecated.
|
String |
getModelClassName()
Deprecated.
|
long |
getPrimaryKey()
Deprecated.
Returns the primary key of this trash version.
|
Serializable |
getPrimaryKeyObj()
Deprecated.
Returns the primary key of this model instance.
|
int |
getStatus()
Deprecated.
Returns the status of this trash version.
|
String |
getTypeSettings()
Deprecated.
Returns the type settings of this trash version.
|
UnicodeProperties |
getTypeSettingsProperties()
Deprecated.
|
String |
getTypeSettingsProperty(String key)
Deprecated.
|
String |
getTypeSettingsProperty(String key,
String defaultValue)
Deprecated.
|
long |
getVersionId()
Deprecated.
Returns the version ID of this trash version.
|
TrashVersion |
getWrappedModel()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isCachedModel()
Deprecated.
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Deprecated.
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Deprecated.
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Deprecated.
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Deprecated.
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Deprecated.
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Deprecated.
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Deprecated.
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClassName(String className)
Deprecated.
|
void |
setClassNameId(long classNameId)
Deprecated.
Sets the class name ID of this trash version.
|
void |
setClassPK(long classPK)
Deprecated.
Sets the class pk of this trash version.
|
void |
setCompanyId(long companyId)
Deprecated.
Sets the company ID of this trash version.
|
void |
setEntryId(long entryId)
Deprecated.
Sets the entry ID of this trash version.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
Deprecated.
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Deprecated.
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Deprecated.
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setModelAttributes(Map<String,Object> attributes)
Deprecated.
|
void |
setNew(boolean n)
Deprecated.
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Deprecated.
Sets the primary key of this trash version.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Deprecated.
Sets the primary key of this model instance.
|
void |
setStatus(int status)
Deprecated.
Sets the status of this trash version.
|
void |
setTypeSettings(String typeSettings)
Deprecated.
Sets the type settings of this trash version.
|
void |
setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
Deprecated.
|
void |
setVersionId(long versionId)
Deprecated.
Sets the version ID of this trash version.
|
CacheModel<TrashVersion> |
toCacheModel()
Deprecated.
Returns a cache model object for this entity used by entity cache.
|
TrashVersion |
toEscapedModel()
Deprecated.
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString()
Deprecated.
|
TrashVersion |
toUnescapedModel()
Deprecated.
|
String |
toXmlString()
Deprecated.
Returns the XML representation of this model instance.
|
getAttributeGetterFunctions, getAttributeSetterBiConsumerspublic TrashVersionWrapper(TrashVersion trashVersion)
public TrashVersion cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<TrashVersion>public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<TrashVersion>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<TrashVersion>public TrashVersion toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<TrashVersion>toEscapedModel in interface TrashVersionModelAutoEscapeBeanHandlerpublic TrashVersion toUnescapedModel()
toUnescapedModel in interface BaseModel<TrashVersion>toUnescapedModel in interface TrashVersionModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<TrashVersion>isCachedModel in interface TrashVersionModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<TrashVersion>isEscapedModel in interface TrashVersionModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<TrashVersion>isNew in interface TrashVersionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<TrashVersion>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface TrashVersionModelpublic CacheModel<TrashVersion> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<TrashVersion>toCacheModel in interface TrashVersionModelpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface TrashVersionpublic int compareTo(TrashVersion trashVersion)
compareTo in interface TrashVersionModelcompareTo in interface Comparable<TrashVersion>public int getStatus()
getStatus in interface TrashVersionModelpublic int hashCode()
hashCode in interface TrashVersionModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<TrashVersion>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface TrashVersionModelpublic Object clone()
BaseModelclone in interface BaseModel<TrashVersion>clone in interface TrashVersionModelclone in class Objectpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface TrashVersionModelpublic String getTypeSettings()
getTypeSettings in interface TrashVersionModelpublic String getTypeSettingsProperty(String key)
getTypeSettingsProperty in interface TrashVersionpublic String getTypeSettingsProperty(String key,
String defaultValue)
getTypeSettingsProperty in interface TrashVersionpublic String toString()
toString in interface TrashVersionModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<TrashVersion>toXmlString in interface TrashVersionModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface TrashVersionModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface TrashVersionModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface TrashVersionModelpublic long getEntryId()
getEntryId in interface TrashVersionModelpublic long getPrimaryKey()
getPrimaryKey in interface TrashVersionModelpublic long getVersionId()
getVersionId in interface TrashVersionModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<TrashVersion>setCachedModel in interface TrashVersionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface TrashVersionModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface TrashVersionModelclassNameId - the class name ID of this trash versionpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface TrashVersionModelclassPK - the class pk of this trash versionpublic void setCompanyId(long companyId)
setCompanyId in interface 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(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<TrashVersion>setExpandoBridgeAttributes in interface TrashVersionModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<TrashVersion>setExpandoBridgeAttributes in interface TrashVersionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<TrashVersion>setExpandoBridgeAttributes in interface TrashVersionModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setNew(boolean n)
BaseModelsetNew in interface BaseModel<TrashVersion>setNew in interface TrashVersionModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface TrashVersionModelprimaryKey - the primary key of this trash versionpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<TrashVersion>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface TrashVersionModelprimaryKeyObj - the primary key of this model instancepublic void setStatus(int status)
setStatus in interface TrashVersionModelstatus - the status of this trash versionpublic void setTypeSettings(String typeSettings)
setTypeSettings in interface TrashVersionModeltypeSettings - the type settings of this trash versionpublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties in interface TrashVersionpublic void setVersionId(long versionId)
setVersionId in interface TrashVersionModelversionId - the version ID of this trash versionpublic boolean equals(Object obj)
equals in class Objectpublic TrashVersion getWrappedModel()
getWrappedModel in interface ModelWrapper<TrashVersion>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<TrashVersion>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<TrashVersion>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<TrashVersion>