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.intcompareTo(TrashEntry trashEntry) Deprecated.booleanDeprecated.Deprecated.Returns the fully qualified class name of this trash entry.longDeprecated.Returns the class name ID of this trash entry.longDeprecated.Returns the class pk of this trash entry.longDeprecated.Returns the company ID of this trash entry.Deprecated.Returns the create date of this trash entry.longDeprecated.Returns the entry ID of this trash entry.Deprecated.Returns the expando bridge for this model instance.longDeprecated.Returns the group ID of this trash entry.Deprecated.Class<?>Deprecated.Deprecated.longDeprecated.Returns the primary key of this trash entry.Deprecated.Returns the primary key of this model instance.Deprecated.intDeprecated.Returns the status of this trash entry.longDeprecated.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.longDeprecated.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.inthashCode()Deprecated.booleanDeprecated.Returnstrueif this model instance was retrieved from the entity cache.booleanDeprecated.Returnstrueif this model's entity cache is enabled.booleanDeprecated.Returnstrueif this model instance is escaped.booleanDeprecated.Returnstrueif this model's finder cache is enabled.booleanisNew()Deprecated.Returnstrueif this model instance does not yet exist in the database.booleanisTrashEntry(Class<?> clazz, long classPK) Deprecated.booleanisTrashEntry(String className, long classPK) Deprecated.voidpersist()Deprecated.Updates this model instance in the database or adds it if it does not yet exist.voidDeprecated.Reset all original fields to current values.voidsetCachedModel(boolean cachedModel) Deprecated.Sets whether this model instance was retrieved from the entity cache.voidsetClassName(String className) Deprecated.voidsetClassNameId(long classNameId) Deprecated.Sets the class name ID of this trash entry.voidsetClassPK(long classPK) Deprecated.Sets the class pk of this trash entry.voidsetCompanyId(long companyId) Deprecated.Sets the company ID of this trash entry.voidsetCreateDate(Date createDate) Deprecated.Sets the create date of this trash entry.voidsetEntryId(long entryId) Deprecated.Sets the entry ID of this trash entry.voidsetExpandoBridgeAttributes(ExpandoBridge expandoBridge) Deprecated.voidsetExpandoBridgeAttributes(BaseModel<?> baseModel) Deprecated.voidsetExpandoBridgeAttributes(ServiceContext serviceContext) Deprecated.Sets the expando bridge attributes for this model instance to the attributes stored in the service context.voidsetGroupId(long groupId) Deprecated.Sets the group ID of this trash entry.voidsetModelAttributes(Map<String, Object> attributes) Deprecated.voidsetNew(boolean n) Deprecated.Sets whether this model instance does not yet exist in the database.voidsetPrimaryKey(long primaryKey) Deprecated.Sets the primary key of this trash entry.voidsetPrimaryKeyObj(Serializable primaryKeyObj) Deprecated.Sets the primary key of this model instance.voidsetRootEntry(TrashEntry rootEntry) Deprecated.voidsetStatus(int status) Deprecated.Sets the status of this trash entry.voidsetSystemEventSetKey(long systemEventSetKey) Deprecated.Sets the system event set key of this trash entry.voidsetTypeSettings(String typeSettings) Deprecated.Sets the type settings of this trash entry.voidsetTypeSettingsProperties(UnicodeProperties typeSettingsProperties) Deprecated.voidsetUserId(long userId) Deprecated.Sets the user ID of this trash entry.voidsetUserName(String userName) Deprecated.Sets the user name of this trash entry.voidsetUserUuid(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, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
getAttributeGetterFunctions, getAttributeSetterBiConsumers
-
Constructor Details
-
TrashEntryWrapper
Deprecated.
-
-
Method Details
-
cloneWithOriginalValues
Deprecated.- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<TrashEntry>
-
getModelClass
Deprecated.- Specified by:
getModelClassin interfaceClassedModel
-
getModelClassName
Deprecated.- Specified by:
getModelClassNamein interfaceClassedModel
-
getModelAttributes
Deprecated.- Specified by:
getModelAttributesin interfaceBaseModel<TrashEntry>
-
setModelAttributes
Deprecated.- Specified by:
setModelAttributesin interfaceBaseModel<TrashEntry>
-
toEscapedModel
Deprecated.Description copied from interface:BaseModelReturns a copy of this entity as an escaped model instance by wrapping it with anAutoEscapeBeanHandler.- Specified by:
toEscapedModelin interfaceBaseModel<TrashEntry>- Specified by:
toEscapedModelin interfaceTrashEntryModel- Returns:
- the escaped model instance
- See Also:
-
toUnescapedModel
Deprecated.- Specified by:
toUnescapedModelin interfaceBaseModel<TrashEntry>- Specified by:
toUnescapedModelin interfaceTrashEntryModel
-
isCachedModel
public boolean isCachedModel()Deprecated.Description copied from interface:BaseModelReturnstrueif this model instance was retrieved from the entity cache.- Specified by:
isCachedModelin interfaceBaseModel<TrashEntry>- Specified by:
isCachedModelin interfaceTrashEntryModel- Returns:
trueif this model instance was retrieved from the entity cache;falseotherwise- See Also:
-
isEscapedModel
public boolean isEscapedModel()Deprecated.Description copied from interface:BaseModelReturnstrueif this model instance is escaped.- Specified by:
isEscapedModelin interfaceBaseModel<TrashEntry>- Specified by:
isEscapedModelin interfaceTrashEntryModel- Returns:
trueif this model instance is escaped;falseotherwise
-
isNew
public boolean isNew()Deprecated.Description copied from interface:BaseModelReturnstrueif this model instance does not yet exist in the database.- Specified by:
isNewin interfaceBaseModel<TrashEntry>- Specified by:
isNewin interfaceTrashEntryModel- Returns:
trueif this model instance does not yet exist in the database;falseotherwise
-
isTrashEntry
Deprecated.- Specified by:
isTrashEntryin interfaceTrashEntry
-
isTrashEntry
Deprecated.- Specified by:
isTrashEntryin interfaceTrashEntry
-
getExpandoBridge
Deprecated.Description copied from interface:BaseModelReturns the expando bridge for this model instance.- Specified by:
getExpandoBridgein interfaceBaseModel<TrashEntry>- Specified by:
getExpandoBridgein interfaceClassedModel- Specified by:
getExpandoBridgein interfaceTrashEntryModel- Returns:
- the expando bridge for this model instance
-
toCacheModel
Deprecated.Description copied from interface:BaseModelReturns a cache model object for this entity used by entity cache.- Specified by:
toCacheModelin interfaceBaseModel<TrashEntry>- Specified by:
toCacheModelin interfaceTrashEntryModel- Returns:
- the cache model object
-
getTypeSettingsProperties
Deprecated.- Specified by:
getTypeSettingsPropertiesin interfaceTrashEntry
-
getRootEntry
Deprecated.- Specified by:
getRootEntryin interfaceTrashEntry
-
compareTo
Deprecated.- Specified by:
compareToin interfaceComparable<TrashEntry>- Specified by:
compareToin interfaceTrashEntryModel
-
getStatus
public int getStatus()Deprecated.Returns the status of this trash entry.- Specified by:
getStatusin interfaceTrashEntryModel- Returns:
- the status of this trash entry
-
hashCode
public int hashCode()Deprecated.- Specified by:
hashCodein interfaceTrashEntryModel- Overrides:
hashCodein classObject
-
getPrimaryKeyObj
Deprecated.Description copied from interface:BaseModelReturns the primary key of this model instance.- Specified by:
getPrimaryKeyObjin interfaceBaseModel<TrashEntry>- Specified by:
getPrimaryKeyObjin interfaceClassedModel- Specified by:
getPrimaryKeyObjin interfaceTrashEntryModel- Returns:
- the primary key of this model instance
-
clone
Deprecated.Description copied from interface:BaseModelCreates a shallow clone of this model instance.- Specified by:
clonein interfaceBaseModel<TrashEntry>- Specified by:
clonein interfaceTrashEntryModel- Overrides:
clonein classObject- Returns:
- the shallow clone of this model instance
-
getClassName
Deprecated.Returns the fully qualified class name of this trash entry.- Specified by:
getClassNamein interfaceTrashEntryModel- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this trash entry
-
getTypeSettings
Deprecated.Returns the type settings of this trash entry.- Specified by:
getTypeSettingsin interfaceTrashEntryModel- Returns:
- the type settings of this trash entry
-
getTypeSettingsProperty
Deprecated.- Specified by:
getTypeSettingsPropertyin interfaceTrashEntry
-
getTypeSettingsProperty
Deprecated.- Specified by:
getTypeSettingsPropertyin interfaceTrashEntry
-
getUserName
Deprecated.Returns the user name of this trash entry.- Specified by:
getUserNamein interfaceTrashEntryModel- Returns:
- the user name of this trash entry
-
getUserUuid
Deprecated.Returns the user uuid of this trash entry.- Specified by:
getUserUuidin interfaceTrashEntryModel- Returns:
- the user uuid of this trash entry
-
toString
Deprecated.- Specified by:
toStringin interfaceTrashEntryModel- Overrides:
toStringin classObject
-
getCreateDate
Deprecated.Returns the create date of this trash entry.- Specified by:
getCreateDatein 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:
getClassNameIdin interfaceTrashEntryModel- Specified by:
getClassNameIdin 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:
getClassPKin interfaceAttachedModel- Specified by:
getClassPKin interfaceTrashEntryModel- Returns:
- the class pk of this trash entry
-
getCompanyId
public long getCompanyId()Deprecated.Returns the company ID of this trash entry.- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceTrashEntryModel- Returns:
- the company ID of this trash entry
-
getEntryId
public long getEntryId()Deprecated.Returns the entry ID of this trash entry.- Specified by:
getEntryIdin interfaceTrashEntryModel- Returns:
- the entry ID of this trash entry
-
getGroupId
public long getGroupId()Deprecated.Returns the group ID of this trash entry.- Specified by:
getGroupIdin interfaceTrashEntryModel- Returns:
- the group ID of this trash entry
-
getPrimaryKey
public long getPrimaryKey()Deprecated.Returns the primary key of this trash entry.- Specified by:
getPrimaryKeyin 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:
getSystemEventSetKeyin 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:
getUserIdin interfaceTrashEntryModel- Returns:
- the user ID of this trash entry
-
persist
public void persist()Deprecated.Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setCachedModel
public void setCachedModel(boolean cachedModel) Deprecated.Description copied from interface:BaseModelSets whether this model instance was retrieved from the entity cache.- Specified by:
setCachedModelin interfaceBaseModel<TrashEntry>- Specified by:
setCachedModelin interfaceTrashEntryModel- Parameters:
cachedModel- whether this model instance was retrieved from the entity cache- See Also:
-
setClassName
Deprecated.- Specified by:
setClassNamein interfaceTrashEntryModel
-
setClassNameId
public void setClassNameId(long classNameId) Deprecated.Sets the class name ID of this trash entry.- Specified by:
setClassNameIdin interfaceTrashEntryModel- Specified by:
setClassNameIdin 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:
setClassPKin interfaceAttachedModel- Specified by:
setClassPKin 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:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceTrashEntryModel- Parameters:
companyId- the company ID of this trash entry
-
setCreateDate
Deprecated.Sets the create date of this trash entry.- Specified by:
setCreateDatein 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:
setEntryIdin interfaceTrashEntryModel- Parameters:
entryId- the entry ID of this trash entry
-
setExpandoBridgeAttributes
Deprecated.- Specified by:
setExpandoBridgeAttributesin interfaceBaseModel<TrashEntry>- Specified by:
setExpandoBridgeAttributesin interfaceTrashEntryModel
-
setExpandoBridgeAttributes
Deprecated.- Specified by:
setExpandoBridgeAttributesin interfaceBaseModel<TrashEntry>- Specified by:
setExpandoBridgeAttributesin interfaceTrashEntryModel
-
setExpandoBridgeAttributes
Deprecated.Description copied from interface:BaseModelSets the expando bridge attributes for this model instance to the attributes stored in the service context.- Specified by:
setExpandoBridgeAttributesin interfaceBaseModel<TrashEntry>- Specified by:
setExpandoBridgeAttributesin 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:
setGroupIdin interfaceTrashEntryModel- Parameters:
groupId- the group ID of this trash entry
-
setNew
public void setNew(boolean n) Deprecated.Description copied from interface:BaseModelSets whether this model instance does not yet exist in the database.- Specified by:
setNewin interfaceBaseModel<TrashEntry>- Specified by:
setNewin 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:
setPrimaryKeyin interfaceTrashEntryModel- Parameters:
primaryKey- the primary key of this trash entry
-
setPrimaryKeyObj
Deprecated.Description copied from interface:BaseModelSets the primary key of this model instance.- Specified by:
setPrimaryKeyObjin interfaceBaseModel<TrashEntry>- Specified by:
setPrimaryKeyObjin interfaceClassedModel- Specified by:
setPrimaryKeyObjin interfaceTrashEntryModel- Parameters:
primaryKeyObj- the primary key of this model instance
-
setRootEntry
Deprecated.- Specified by:
setRootEntryin interfaceTrashEntry
-
setStatus
public void setStatus(int status) Deprecated.Sets the status of this trash entry.- Specified by:
setStatusin 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:
setSystemEventSetKeyin interfaceTrashEntryModel- Parameters:
systemEventSetKey- the system event set key of this trash entry
-
setTypeSettings
Deprecated.Sets the type settings of this trash entry.- Specified by:
setTypeSettingsin interfaceTrashEntryModel- Parameters:
typeSettings- the type settings of this trash entry
-
setTypeSettingsProperties
Deprecated.- Specified by:
setTypeSettingsPropertiesin interfaceTrashEntry
-
setUserId
public void setUserId(long userId) Deprecated.Sets the user ID of this trash entry.- Specified by:
setUserIdin interfaceTrashEntryModel- Parameters:
userId- the user ID of this trash entry
-
setUserName
Deprecated.Sets the user name of this trash entry.- Specified by:
setUserNamein interfaceTrashEntryModel- Parameters:
userName- the user name of this trash entry
-
setUserUuid
Deprecated.Sets the user uuid of this trash entry.- Specified by:
setUserUuidin interfaceTrashEntryModel- Parameters:
userUuid- the user uuid of this trash entry
-
equals
Deprecated. -
getWrappedModel
Deprecated.- Specified by:
getWrappedModelin interfaceModelWrapper<TrashEntry>
-
isEntityCacheEnabled
public boolean isEntityCacheEnabled()Deprecated.Description copied from interface:BaseModelReturnstrueif this model's entity cache is enabled.- Specified by:
isEntityCacheEnabledin interfaceBaseModel<TrashEntry>- Returns:
trueif this model's entity cache is enabled;falseotherwise
-
isFinderCacheEnabled
public boolean isFinderCacheEnabled()Deprecated.Description copied from interface:BaseModelReturnstrueif this model's finder cache is enabled.- Specified by:
isFinderCacheEnabledin interfaceBaseModel<TrashEntry>- Returns:
trueif this model's finder cache is enabled;falseotherwise
-
resetOriginalValues
public void resetOriginalValues()Deprecated.Description copied from interface:BaseModelReset all original fields to current values.- Specified by:
resetOriginalValuesin interfaceBaseModel<TrashEntry>
-
com.liferay.trash.model.impl.TrashEntryImpl