Package com.liferay.trash.kernel.model
Class TrashEntryWrapper
Object
com.liferay.trash.kernel.model.TrashEntryWrapper
- All Implemented Interfaces:
AttachedModel
,BaseModel<TrashEntry>
,ClassedModel
,ModelWrapper<TrashEntry>
,PersistedModel
,ShardedModel
,TypedModel
,TrashEntry
,TrashEntryModel
,Serializable
,Cloneable
,Comparable<TrashEntry>
@Deprecated
public class TrashEntryWrapper
extends Object
implements TrashEntry, ModelWrapper<TrashEntry>
Deprecated.
This class is a wrapper for TrashEntry
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from interface com.liferay.trash.kernel.model.TrashEntry
ENTRY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.Creates a shallow clone of this model instance.Deprecated.int
compareTo
(TrashEntry trashEntry) Deprecated.boolean
Deprecated.Deprecated.Returns the fully qualified class name of this trash entry.long
Deprecated.Returns the class name ID of this trash entry.long
Deprecated.Returns the class pk of this trash entry.long
Deprecated.Returns the company ID of this trash entry.Deprecated.Returns the create date of this trash entry.long
Deprecated.Returns the entry ID of this trash entry.Deprecated.Returns the expando bridge for this model instance.long
Deprecated.Returns the group ID of this trash entry.Deprecated.Class<?>
Deprecated.Deprecated.long
Deprecated.Returns the primary key of this trash entry.Deprecated.Returns the primary key of this model instance.Deprecated.int
Deprecated.Returns the status of this trash entry.long
Deprecated.Returns the system event set key of this trash entry.Deprecated.Returns the type settings of this trash entry.Deprecated.Deprecated.getTypeSettingsProperty
(String key, String defaultValue) Deprecated.long
Deprecated.Returns the user ID of this trash entry.Deprecated.Returns the user name of this trash entry.Deprecated.Returns the user uuid of this trash entry.Deprecated.int
hashCode()
Deprecated.boolean
Deprecated.Returnstrue
if this model instance was retrieved from the entity cache.boolean
Deprecated.Returnstrue
if this model's entity cache is enabled.boolean
Deprecated.Returnstrue
if this model instance is escaped.boolean
Deprecated.Returnstrue
if this model's finder cache is enabled.boolean
isNew()
Deprecated.Returnstrue
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
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
(ExpandoBridge expandoBridge) Deprecated.void
setExpandoBridgeAttributes
(BaseModel<?> baseModel) 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.Deprecated.Returns a cache model object for this entity used by entity cache.Deprecated.Returns a copy of this entity as an escaped model instance by wrapping it with anAutoEscapeBeanHandler
.toString()
Deprecated.Deprecated.Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
getAttributeGetterFunctions, getAttributeSetterBiConsumers
-
Constructor Details
-
TrashEntryWrapper
Deprecated.
-
-
Method Details
-
cloneWithOriginalValues
Deprecated.- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<TrashEntry>
-
getModelClass
Deprecated.- Specified by:
getModelClass
in interfaceClassedModel
-
getModelClassName
Deprecated.- Specified by:
getModelClassName
in interfaceClassedModel
-
getModelAttributes
Deprecated.- Specified by:
getModelAttributes
in interfaceBaseModel<TrashEntry>
-
setModelAttributes
Deprecated.- Specified by:
setModelAttributes
in interfaceBaseModel<TrashEntry>
-
toEscapedModel
Deprecated.Description copied from interface:BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with anAutoEscapeBeanHandler
.- Specified by:
toEscapedModel
in interfaceBaseModel<TrashEntry>
- Specified by:
toEscapedModel
in interfaceTrashEntryModel
- Returns:
- the escaped model instance
- See Also:
-
toUnescapedModel
Deprecated.- Specified by:
toUnescapedModel
in interfaceBaseModel<TrashEntry>
- Specified by:
toUnescapedModel
in interfaceTrashEntryModel
-
isCachedModel
public boolean isCachedModel()Deprecated.Description copied from interface:BaseModel
Returnstrue
if this model instance was retrieved from the entity cache.- Specified by:
isCachedModel
in interfaceBaseModel<TrashEntry>
- Specified by:
isCachedModel
in interfaceTrashEntryModel
- Returns:
true
if this model instance was retrieved from the entity cache;false
otherwise- See Also:
-
isEscapedModel
public boolean isEscapedModel()Deprecated.Description copied from interface:BaseModel
Returnstrue
if this model instance is escaped.- Specified by:
isEscapedModel
in interfaceBaseModel<TrashEntry>
- Specified by:
isEscapedModel
in interfaceTrashEntryModel
- Returns:
true
if this model instance is escaped;false
otherwise
-
isNew
public boolean isNew()Deprecated.Description copied from interface:BaseModel
Returnstrue
if this model instance does not yet exist in the database.- Specified by:
isNew
in interfaceBaseModel<TrashEntry>
- Specified by:
isNew
in interfaceTrashEntryModel
- Returns:
true
if this model instance does not yet exist in the database;false
otherwise
-
isTrashEntry
Deprecated.- Specified by:
isTrashEntry
in interfaceTrashEntry
-
isTrashEntry
Deprecated.- Specified by:
isTrashEntry
in interfaceTrashEntry
-
getExpandoBridge
Deprecated.Description copied from interface:BaseModel
Returns the expando bridge for this model instance.- Specified by:
getExpandoBridge
in interfaceBaseModel<TrashEntry>
- Specified by:
getExpandoBridge
in interfaceClassedModel
- Specified by:
getExpandoBridge
in interfaceTrashEntryModel
- Returns:
- the expando bridge for this model instance
-
toCacheModel
Deprecated.Description copied from interface:BaseModel
Returns a cache model object for this entity used by entity cache.- Specified by:
toCacheModel
in interfaceBaseModel<TrashEntry>
- Specified by:
toCacheModel
in interfaceTrashEntryModel
- Returns:
- the cache model object
-
getTypeSettingsProperties
Deprecated.- Specified by:
getTypeSettingsProperties
in interfaceTrashEntry
-
getRootEntry
Deprecated.- Specified by:
getRootEntry
in interfaceTrashEntry
-
compareTo
Deprecated.- Specified by:
compareTo
in interfaceComparable<TrashEntry>
- Specified by:
compareTo
in interfaceTrashEntryModel
-
getStatus
public int getStatus()Deprecated.Returns the status of this trash entry.- Specified by:
getStatus
in interfaceTrashEntryModel
- Returns:
- the status of this trash entry
-
hashCode
public int hashCode()Deprecated.- Specified by:
hashCode
in interfaceTrashEntryModel
- Overrides:
hashCode
in classObject
-
getPrimaryKeyObj
Deprecated.Description copied from interface:BaseModel
Returns the primary key of this model instance.- Specified by:
getPrimaryKeyObj
in interfaceBaseModel<TrashEntry>
- Specified by:
getPrimaryKeyObj
in interfaceClassedModel
- Specified by:
getPrimaryKeyObj
in interfaceTrashEntryModel
- Returns:
- the primary key of this model instance
-
clone
Deprecated.Description copied from interface:BaseModel
Creates a shallow clone of this model instance.- Specified by:
clone
in interfaceBaseModel<TrashEntry>
- Specified by:
clone
in interfaceTrashEntryModel
- Overrides:
clone
in classObject
- Returns:
- the shallow clone of this model instance
-
getClassName
Deprecated.Returns the fully qualified class name of this trash entry.- Specified by:
getClassName
in interfaceTrashEntryModel
- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this trash entry
-
getTypeSettings
Deprecated.Returns the type settings of this trash entry.- Specified by:
getTypeSettings
in interfaceTrashEntryModel
- Returns:
- the type settings of this trash entry
-
getTypeSettingsProperty
Deprecated.- Specified by:
getTypeSettingsProperty
in interfaceTrashEntry
-
getTypeSettingsProperty
Deprecated.- Specified by:
getTypeSettingsProperty
in interfaceTrashEntry
-
getUserName
Deprecated.Returns the user name of this trash entry.- Specified by:
getUserName
in interfaceTrashEntryModel
- Returns:
- the user name of this trash entry
-
getUserUuid
Deprecated.Returns the user uuid of this trash entry.- Specified by:
getUserUuid
in interfaceTrashEntryModel
- Returns:
- the user uuid of this trash entry
-
toString
Deprecated.- Specified by:
toString
in interfaceTrashEntryModel
- Overrides:
toString
in classObject
-
getCreateDate
Deprecated.Returns the create date of this trash entry.- Specified by:
getCreateDate
in interfaceTrashEntryModel
- Returns:
- the create date of this trash entry
-
getClassNameId
public long getClassNameId()Deprecated.Returns the class name ID of this trash entry.- Specified by:
getClassNameId
in interfaceTrashEntryModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this trash entry
-
getClassPK
public long getClassPK()Deprecated.Returns the class pk of this trash entry.- Specified by:
getClassPK
in interfaceAttachedModel
- Specified by:
getClassPK
in interfaceTrashEntryModel
- Returns:
- the class pk of this trash entry
-
getCompanyId
public long getCompanyId()Deprecated.Returns the company ID of this trash entry.- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceTrashEntryModel
- Returns:
- the company ID of this trash entry
-
getEntryId
public long getEntryId()Deprecated.Returns the entry ID of this trash entry.- Specified by:
getEntryId
in interfaceTrashEntryModel
- Returns:
- the entry ID of this trash entry
-
getGroupId
public long getGroupId()Deprecated.Returns the group ID of this trash entry.- Specified by:
getGroupId
in interfaceTrashEntryModel
- Returns:
- the group ID of this trash entry
-
getPrimaryKey
public long getPrimaryKey()Deprecated.Returns the primary key of this trash entry.- Specified by:
getPrimaryKey
in interfaceTrashEntryModel
- Returns:
- the primary key of this trash entry
-
getSystemEventSetKey
public long getSystemEventSetKey()Deprecated.Returns the system event set key of this trash entry.- Specified by:
getSystemEventSetKey
in interfaceTrashEntryModel
- Returns:
- the system event set key of this trash entry
-
getUserId
public long getUserId()Deprecated.Returns the user ID of this trash entry.- Specified by:
getUserId
in interfaceTrashEntryModel
- Returns:
- the user ID of this trash entry
-
persist
public void persist()Deprecated.Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setCachedModel
public void setCachedModel(boolean cachedModel) Deprecated.Description copied from interface:BaseModel
Sets whether this model instance was retrieved from the entity cache.- Specified by:
setCachedModel
in interfaceBaseModel<TrashEntry>
- Specified by:
setCachedModel
in interfaceTrashEntryModel
- Parameters:
cachedModel
- whether this model instance was retrieved from the entity cache- See Also:
-
setClassName
Deprecated.- Specified by:
setClassName
in interfaceTrashEntryModel
-
setClassNameId
public void setClassNameId(long classNameId) Deprecated.Sets the class name ID of this trash entry.- Specified by:
setClassNameId
in interfaceTrashEntryModel
- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this trash entry
-
setClassPK
public void setClassPK(long classPK) Deprecated.Sets the class pk of this trash entry.- Specified by:
setClassPK
in interfaceAttachedModel
- Specified by:
setClassPK
in interfaceTrashEntryModel
- Parameters:
classPK
- the class pk of this trash entry
-
setCompanyId
public void setCompanyId(long companyId) Deprecated.Sets the company ID of this trash entry.- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceTrashEntryModel
- Parameters:
companyId
- the company ID of this trash entry
-
setCreateDate
Deprecated.Sets the create date of this trash entry.- Specified by:
setCreateDate
in interfaceTrashEntryModel
- Parameters:
createDate
- the create date of this trash entry
-
setEntryId
public void setEntryId(long entryId) Deprecated.Sets the entry ID of this trash entry.- Specified by:
setEntryId
in interfaceTrashEntryModel
- Parameters:
entryId
- the entry ID of this trash entry
-
setExpandoBridgeAttributes
Deprecated.- Specified by:
setExpandoBridgeAttributes
in interfaceBaseModel<TrashEntry>
- Specified by:
setExpandoBridgeAttributes
in interfaceTrashEntryModel
-
setExpandoBridgeAttributes
Deprecated.- Specified by:
setExpandoBridgeAttributes
in interfaceBaseModel<TrashEntry>
- Specified by:
setExpandoBridgeAttributes
in interfaceTrashEntryModel
-
setExpandoBridgeAttributes
Deprecated.Description copied from interface:BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.- Specified by:
setExpandoBridgeAttributes
in interfaceBaseModel<TrashEntry>
- Specified by:
setExpandoBridgeAttributes
in interfaceTrashEntryModel
- Parameters:
serviceContext
- the service context to be applied- See Also:
-
setGroupId
public void setGroupId(long groupId) Deprecated.Sets the group ID of this trash entry.- Specified by:
setGroupId
in interfaceTrashEntryModel
- Parameters:
groupId
- the group ID of this trash entry
-
setNew
public void setNew(boolean n) Deprecated.Description copied from interface:BaseModel
Sets whether this model instance does not yet exist in the database.- Specified by:
setNew
in interfaceBaseModel<TrashEntry>
- Specified by:
setNew
in interfaceTrashEntryModel
- Parameters:
n
- whether this model instance does not yet exist in the database
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Deprecated.Sets the primary key of this trash entry.- Specified by:
setPrimaryKey
in interfaceTrashEntryModel
- Parameters:
primaryKey
- the primary key of this trash entry
-
setPrimaryKeyObj
Deprecated.Description copied from interface:BaseModel
Sets the primary key of this model instance.- Specified by:
setPrimaryKeyObj
in interfaceBaseModel<TrashEntry>
- Specified by:
setPrimaryKeyObj
in interfaceClassedModel
- Specified by:
setPrimaryKeyObj
in interfaceTrashEntryModel
- Parameters:
primaryKeyObj
- the primary key of this model instance
-
setRootEntry
Deprecated.- Specified by:
setRootEntry
in interfaceTrashEntry
-
setStatus
public void setStatus(int status) Deprecated.Sets the status of this trash entry.- Specified by:
setStatus
in interfaceTrashEntryModel
- Parameters:
status
- the status of this trash entry
-
setSystemEventSetKey
public void setSystemEventSetKey(long systemEventSetKey) Deprecated.Sets the system event set key of this trash entry.- Specified by:
setSystemEventSetKey
in interfaceTrashEntryModel
- Parameters:
systemEventSetKey
- the system event set key of this trash entry
-
setTypeSettings
Deprecated.Sets the type settings of this trash entry.- Specified by:
setTypeSettings
in interfaceTrashEntryModel
- Parameters:
typeSettings
- the type settings of this trash entry
-
setTypeSettingsProperties
Deprecated.- Specified by:
setTypeSettingsProperties
in interfaceTrashEntry
-
setUserId
public void setUserId(long userId) Deprecated.Sets the user ID of this trash entry.- Specified by:
setUserId
in interfaceTrashEntryModel
- Parameters:
userId
- the user ID of this trash entry
-
setUserName
Deprecated.Sets the user name of this trash entry.- Specified by:
setUserName
in interfaceTrashEntryModel
- Parameters:
userName
- the user name of this trash entry
-
setUserUuid
Deprecated.Sets the user uuid of this trash entry.- Specified by:
setUserUuid
in interfaceTrashEntryModel
- Parameters:
userUuid
- the user uuid of this trash entry
-
equals
Deprecated. -
getWrappedModel
Deprecated.- Specified by:
getWrappedModel
in interfaceModelWrapper<TrashEntry>
-
isEntityCacheEnabled
public boolean isEntityCacheEnabled()Deprecated.Description copied from interface:BaseModel
Returnstrue
if this model's entity cache is enabled.- Specified by:
isEntityCacheEnabled
in interfaceBaseModel<TrashEntry>
- Returns:
true
if this model's entity cache is enabled;false
otherwise
-
isFinderCacheEnabled
public boolean isFinderCacheEnabled()Deprecated.Description copied from interface:BaseModel
Returnstrue
if this model's finder cache is enabled.- Specified by:
isFinderCacheEnabled
in interfaceBaseModel<TrashEntry>
- Returns:
true
if this model's finder cache is enabled;false
otherwise
-
resetOriginalValues
public void resetOriginalValues()Deprecated.Description copied from interface:BaseModel
Reset all original fields to current values.- Specified by:
resetOriginalValues
in interfaceBaseModel<TrashEntry>
-
com.liferay.trash.model.impl.TrashEntryImpl