@ProviderType public class TrashEntryWrapper extends java.lang.Object implements TrashEntry, com.liferay.portal.kernel.model.ModelWrapper<TrashEntry>
This class is a wrapper for TrashEntry
.
TrashEntry
,
Serialized FormENTRY_ID_ACCESSOR
Constructor and Description |
---|
TrashEntryWrapper(TrashEntry trashEntry) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(TrashEntry trashEntry) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClassName()
Returns the fully qualified class name of this trash entry.
|
long |
getClassNameId()
Returns the class name ID of this trash entry.
|
long |
getClassPK()
Returns the class pk of this trash entry.
|
long |
getCompanyId()
Returns the company ID of this trash entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this trash entry.
|
long |
getEntryId()
Returns the entry ID of this trash entry.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this trash entry.
|
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 entry.
|
java.io.Serializable |
getPrimaryKeyObj() |
TrashEntry |
getRootEntry() |
int |
getStatus()
Returns the status of this trash entry.
|
long |
getSystemEventSetKey()
Returns the system event set key of this trash entry.
|
java.lang.String |
getTypeSettings()
Returns the type settings of this trash entry.
|
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 |
getUserId()
Returns the user ID of this trash entry.
|
java.lang.String |
getUserName()
Returns the user name of this trash entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this trash entry.
|
TrashEntry |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
boolean |
isTrashEntry(java.lang.Class<?> clazz,
long classPK) |
boolean |
isTrashEntry(java.lang.String className,
long classPK) |
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 entry.
|
void |
setClassPK(long classPK)
Sets the class pk of this trash entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this trash entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this trash entry.
|
void |
setEntryId(long entryId)
Sets the entry ID of this trash entry.
|
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 |
setGroupId(long groupId)
Sets the group ID of this trash entry.
|
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 entry.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setRootEntry(TrashEntry rootEntry) |
void |
setStatus(int status)
Sets the status of this trash entry.
|
void |
setSystemEventSetKey(long systemEventSetKey)
Sets the system event set key of this trash entry.
|
void |
setTypeSettings(java.lang.String typeSettings)
Sets the type settings of this trash entry.
|
void |
setTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) |
void |
setUserId(long userId)
Sets the user ID of this trash entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this trash entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this trash entry.
|
com.liferay.portal.kernel.model.CacheModel<TrashEntry> |
toCacheModel() |
TrashEntry |
toEscapedModel() |
java.lang.String |
toString() |
TrashEntry |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public TrashEntryWrapper(TrashEntry trashEntry)
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<TrashEntry>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
public java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
clone
in interface TrashEntryModel
clone
in class java.lang.Object
public int compareTo(TrashEntry trashEntry)
compareTo
in interface TrashEntryModel
compareTo
in interface java.lang.Comparable<TrashEntry>
public java.lang.String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
getClassName
in interface TrashEntryModel
public long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
getClassNameId
in interface TrashEntryModel
public long getClassPK()
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
getClassPK
in interface TrashEntryModel
public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface TrashEntryModel
public java.util.Date getCreateDate()
getCreateDate
in interface TrashEntryModel
public long getEntryId()
getEntryId
in interface TrashEntryModel
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in interface TrashEntryModel
public long getGroupId()
getGroupId
in interface TrashEntryModel
public long getPrimaryKey()
getPrimaryKey
in interface TrashEntryModel
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface TrashEntryModel
public TrashEntry getRootEntry()
getRootEntry
in interface TrashEntry
public int getStatus()
getStatus
in interface TrashEntryModel
public long getSystemEventSetKey()
getSystemEventSetKey
in interface TrashEntryModel
public java.lang.String getTypeSettings()
getTypeSettings
in interface TrashEntryModel
public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties
in interface TrashEntry
public java.lang.String getTypeSettingsProperty(java.lang.String key)
getTypeSettingsProperty
in interface TrashEntry
public java.lang.String getTypeSettingsProperty(java.lang.String key, java.lang.String defaultValue)
getTypeSettingsProperty
in interface TrashEntry
public long getUserId()
getUserId
in interface TrashEntryModel
public java.lang.String getUserName()
getUserName
in interface TrashEntryModel
public java.lang.String getUserUuid()
getUserUuid
in interface TrashEntryModel
public int hashCode()
hashCode
in interface TrashEntryModel
hashCode
in class java.lang.Object
public boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
isCachedModel
in interface TrashEntryModel
public boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
isEscapedModel
in interface TrashEntryModel
public boolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
isNew
in interface TrashEntryModel
public boolean isTrashEntry(java.lang.Class<?> clazz, long classPK)
isTrashEntry
in interface TrashEntry
public boolean isTrashEntry(java.lang.String className, long classPK)
isTrashEntry
in interface TrashEntry
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<TrashEntry>
setCachedModel
in interface TrashEntryModel
public void setClassName(java.lang.String className)
setClassName
in interface TrashEntryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
setClassNameId
in interface TrashEntryModel
classNameId
- the class name ID of this trash entrypublic void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
setClassPK
in interface TrashEntryModel
classPK
- the class pk of this trash entrypublic void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface TrashEntryModel
companyId
- the company ID of this trash entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface TrashEntryModel
createDate
- the create date of this trash entrypublic void setEntryId(long entryId)
setEntryId
in interface TrashEntryModel
entryId
- the entry ID of this trash entrypublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
setExpandoBridgeAttributes
in interface TrashEntryModel
public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
setExpandoBridgeAttributes
in interface TrashEntryModel
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
setExpandoBridgeAttributes
in interface TrashEntryModel
public void setGroupId(long groupId)
setGroupId
in interface TrashEntryModel
groupId
- the group ID of this trash entrypublic void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
setNew
in interface TrashEntryModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface TrashEntryModel
primaryKey
- the primary key of this trash entrypublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
in interface TrashEntryModel
public void setRootEntry(TrashEntry rootEntry)
setRootEntry
in interface TrashEntry
public void setStatus(int status)
setStatus
in interface TrashEntryModel
status
- the status of this trash entrypublic void setSystemEventSetKey(long systemEventSetKey)
setSystemEventSetKey
in interface TrashEntryModel
systemEventSetKey
- the system event set key of this trash entrypublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings
in interface TrashEntryModel
typeSettings
- the type settings of this trash entrypublic void setTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties
in interface TrashEntry
public void setUserId(long userId)
setUserId
in interface TrashEntryModel
userId
- the user ID of this trash entrypublic void setUserName(java.lang.String userName)
setUserName
in interface TrashEntryModel
userName
- the user name of this trash entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface TrashEntryModel
userUuid
- the user uuid of this trash entrypublic com.liferay.portal.kernel.model.CacheModel<TrashEntry> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
toCacheModel
in interface TrashEntryModel
public TrashEntry toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
toEscapedModel
in interface TrashEntryModel
public java.lang.String toString()
toString
in interface TrashEntryModel
toString
in class java.lang.Object
public TrashEntry toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
toUnescapedModel
in interface TrashEntryModel
public java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
toXmlString
in interface TrashEntryModel
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public TrashEntry getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<TrashEntry>
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>