com.liferay.trash.model.impl.TrashEntryImpl
@Deprecated @ProviderType public class TrashEntryWrapper extends Object implements TrashEntry, ModelWrapper<TrashEntry>
This class is a wrapper for TrashEntry
.
TrashEntry
,
Serialized FormENTRY_ID_ACCESSOR
Constructor and Description |
---|
TrashEntryWrapper(TrashEntry trashEntry)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Deprecated.
Creates a shallow clone of this model instance.
|
int |
compareTo(TrashEntry trashEntry)
Deprecated.
|
boolean |
equals(Object obj)
Deprecated.
|
String |
getClassName()
Deprecated.
Returns the fully qualified class name of this trash entry.
|
long |
getClassNameId()
Deprecated.
Returns the class name ID of this trash entry.
|
long |
getClassPK()
Deprecated.
Returns the class pk of this trash entry.
|
long |
getCompanyId()
Deprecated.
Returns the company ID of this trash entry.
|
Date |
getCreateDate()
Deprecated.
Returns the create date of this trash entry.
|
long |
getEntryId()
Deprecated.
Returns the entry ID of this trash entry.
|
ExpandoBridge |
getExpandoBridge()
Deprecated.
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Deprecated.
Returns the group ID of this trash entry.
|
Map<String,Object> |
getModelAttributes()
Deprecated.
|
Class<?> |
getModelClass()
Deprecated.
|
String |
getModelClassName()
Deprecated.
|
long |
getPrimaryKey()
Deprecated.
Returns the primary key of this trash entry.
|
Serializable |
getPrimaryKeyObj()
Deprecated.
Returns the primary key of this model instance.
|
TrashEntry |
getRootEntry()
Deprecated.
|
int |
getStatus()
Deprecated.
Returns the status of this trash entry.
|
long |
getSystemEventSetKey()
Deprecated.
Returns the system event set key of this trash entry.
|
String |
getTypeSettings()
Deprecated.
Returns the type settings of this trash entry.
|
UnicodeProperties |
getTypeSettingsProperties()
Deprecated.
|
String |
getTypeSettingsProperty(String key)
Deprecated.
|
String |
getTypeSettingsProperty(String key,
String defaultValue)
Deprecated.
|
long |
getUserId()
Deprecated.
Returns the user ID of this trash entry.
|
String |
getUserName()
Deprecated.
Returns the user name of this trash entry.
|
String |
getUserUuid()
Deprecated.
Returns the user uuid of this trash entry.
|
TrashEntry |
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. |
boolean |
isTrashEntry(Class<?> clazz,
long classPK)
Deprecated.
|
boolean |
isTrashEntry(String className,
long classPK)
Deprecated.
|
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 entry.
|
void |
setClassPK(long classPK)
Deprecated.
Sets the class pk of this trash entry.
|
void |
setCompanyId(long companyId)
Deprecated.
Sets the company ID of this trash entry.
|
void |
setCreateDate(Date createDate)
Deprecated.
Sets the create date of this trash entry.
|
void |
setEntryId(long entryId)
Deprecated.
Sets the entry ID of this trash entry.
|
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 |
setGroupId(long groupId)
Deprecated.
Sets the group ID of this trash entry.
|
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 entry.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Deprecated.
Sets the primary key of this model instance.
|
void |
setRootEntry(TrashEntry rootEntry)
Deprecated.
|
void |
setStatus(int status)
Deprecated.
Sets the status of this trash entry.
|
void |
setSystemEventSetKey(long systemEventSetKey)
Deprecated.
Sets the system event set key of this trash entry.
|
void |
setTypeSettings(String typeSettings)
Deprecated.
Sets the type settings of this trash entry.
|
void |
setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
Deprecated.
|
void |
setUserId(long userId)
Deprecated.
Sets the user ID of this trash entry.
|
void |
setUserName(String userName)
Deprecated.
Sets the user name of this trash entry.
|
void |
setUserUuid(String userUuid)
Deprecated.
Sets the user uuid of this trash entry.
|
CacheModel<TrashEntry> |
toCacheModel()
Deprecated.
Returns a cache model object for this entity used by entity cache.
|
TrashEntry |
toEscapedModel()
Deprecated.
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString()
Deprecated.
|
TrashEntry |
toUnescapedModel()
Deprecated.
|
String |
toXmlString()
Deprecated.
Returns the XML representation of this model instance.
|
public TrashEntryWrapper(TrashEntry trashEntry)
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<TrashEntry>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<TrashEntry>
public TrashEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<TrashEntry>
toEscapedModel
in interface TrashEntryModel
AutoEscapeBeanHandler
public TrashEntry toUnescapedModel()
toUnescapedModel
in interface BaseModel<TrashEntry>
toUnescapedModel
in interface TrashEntryModel
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<TrashEntry>
isCachedModel
in interface TrashEntryModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<TrashEntry>
isEscapedModel
in interface TrashEntryModel
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<TrashEntry>
isNew
in interface TrashEntryModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic boolean isTrashEntry(Class<?> clazz, long classPK)
isTrashEntry
in interface TrashEntry
public boolean isTrashEntry(String className, long classPK)
isTrashEntry
in interface TrashEntry
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<TrashEntry>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface TrashEntryModel
public CacheModel<TrashEntry> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<TrashEntry>
toCacheModel
in interface TrashEntryModel
public UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties
in interface TrashEntry
public TrashEntry getRootEntry()
getRootEntry
in interface TrashEntry
public int compareTo(TrashEntry trashEntry)
compareTo
in interface TrashEntryModel
compareTo
in interface Comparable<TrashEntry>
public int getStatus()
getStatus
in interface TrashEntryModel
public int hashCode()
hashCode
in interface TrashEntryModel
hashCode
in class Object
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<TrashEntry>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface TrashEntryModel
public Object clone()
BaseModel
clone
in interface BaseModel<TrashEntry>
clone
in interface TrashEntryModel
clone
in class Object
public String getClassName()
getClassName
in interface TypedModel
getClassName
in interface TrashEntryModel
public String getTypeSettings()
getTypeSettings
in interface TrashEntryModel
public String getTypeSettingsProperty(String key)
getTypeSettingsProperty
in interface TrashEntry
public String getTypeSettingsProperty(String key, String defaultValue)
getTypeSettingsProperty
in interface TrashEntry
public String getUserName()
getUserName
in interface TrashEntryModel
public String getUserUuid()
getUserUuid
in interface TrashEntryModel
public String toString()
toString
in interface TrashEntryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<TrashEntry>
toXmlString
in interface TrashEntryModel
public Date getCreateDate()
getCreateDate
in interface TrashEntryModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface TrashEntryModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface TrashEntryModel
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface TrashEntryModel
public long getEntryId()
getEntryId
in interface TrashEntryModel
public long getGroupId()
getGroupId
in interface TrashEntryModel
public long getPrimaryKey()
getPrimaryKey
in interface TrashEntryModel
public long getSystemEventSetKey()
getSystemEventSetKey
in interface TrashEntryModel
public long getUserId()
getUserId
in interface TrashEntryModel
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<TrashEntry>
setCachedModel
in interface TrashEntryModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setClassName(String className)
setClassName
in interface TrashEntryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface TrashEntryModel
classNameId
- the class name ID of this trash entrypublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface TrashEntryModel
classPK
- the class pk of this trash entrypublic void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface TrashEntryModel
companyId
- the company ID of this trash entrypublic void setCreateDate(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(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<TrashEntry>
setExpandoBridgeAttributes
in interface TrashEntryModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<TrashEntry>
setExpandoBridgeAttributes
in interface TrashEntryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<TrashEntry>
setExpandoBridgeAttributes
in interface TrashEntryModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setGroupId(long groupId)
setGroupId
in interface TrashEntryModel
groupId
- the group ID of this trash entrypublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<TrashEntry>
setNew
in interface TrashEntryModel
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface TrashEntryModel
primaryKey
- the primary key of this trash entrypublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<TrashEntry>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface TrashEntryModel
primaryKeyObj
- the primary key of this model instancepublic 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(String typeSettings)
setTypeSettings
in interface TrashEntryModel
typeSettings
- the type settings of this trash entrypublic void setTypeSettingsProperties(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(String userName)
setUserName
in interface TrashEntryModel
userName
- the user name of this trash entrypublic void setUserUuid(String userUuid)
setUserUuid
in interface TrashEntryModel
userUuid
- the user uuid of this trash entrypublic boolean equals(Object obj)
equals
in class Object
public TrashEntry getWrappedModel()
getWrappedModel
in interface ModelWrapper<TrashEntry>
public boolean isEntityCacheEnabled()
BaseModel
true
if this model's entity cache is enabled.isEntityCacheEnabled
in interface BaseModel<TrashEntry>
true
if this model's entity cache is enabled;
false
otherwisepublic boolean isFinderCacheEnabled()
BaseModel
true
if this model's finder cache is enabled.isFinderCacheEnabled
in interface BaseModel<TrashEntry>
true
if this model's finder cache is enabled;
false
otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<TrashEntry>