public class TrashVersionWrapper extends java.lang.Object 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 |
---|---|
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.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
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 java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>
clone
in interface TrashVersionModel
clone
in class java.lang.Object
public int compareTo(TrashVersion trashVersion)
compareTo
in interface TrashVersionModel
compareTo
in interface java.lang.Comparable<TrashVersion>
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 getEntryId()
getEntryId
in interface TrashVersionModel
public 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.ClassedModel
getExpandoBridge
in interface TrashVersionModel
public long getPrimaryKey()
getPrimaryKey
in interface TrashVersionModel
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
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 int hashCode()
hashCode
in interface TrashVersionModel
hashCode
in class java.lang.Object
public boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>
isCachedModel
in interface TrashVersionModel
public boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>
isEscapedModel
in interface TrashVersionModel
public boolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>
isNew
in interface TrashVersionModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>
setCachedModel
in interface TrashVersionModel
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 setEntryId(long entryId)
setEntryId
in interface TrashVersionModel
entryId
- 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 TrashVersionModel
public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>
setExpandoBridgeAttributes
in interface TrashVersionModel
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>
setExpandoBridgeAttributes
in interface TrashVersionModel
public void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>
setNew
in interface TrashVersionModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface TrashVersionModel
primaryKey
- 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.ClassedModel
setPrimaryKeyObj
in interface TrashVersionModel
public 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 typeSettingsProperties)
setTypeSettingsProperties
in interface TrashVersion
public void setVersionId(long versionId)
setVersionId
in interface TrashVersionModel
versionId
- 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 TrashVersionModel
public TrashVersion toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>
toEscapedModel
in interface TrashVersionModel
public java.lang.String toString()
toString
in interface TrashVersionModel
toString
in class java.lang.Object
public TrashVersion toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>
toUnescapedModel
in interface TrashVersionModel
public java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>
toXmlString
in interface TrashVersionModel
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public 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>