public class TrashEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<TrashEntry> implements com.liferay.portal.kernel.model.ModelWrapper<TrashEntry>, 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.util.Map<java.lang.String,java.util.function.Function<TrashEntry,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<TrashEntry,java.lang.Object>> |
getAttributeSetterBiConsumers() |
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 |
getCtCollectionId()
Returns the ct collection ID of this trash entry.
|
long |
getEntryId()
Returns the entry ID of this trash entry.
|
long |
getGroupId()
Returns the group ID of this trash entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this trash entry.
|
long |
getPrimaryKey()
Returns the primary key of this trash entry.
|
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.
|
boolean |
isTrashEntry(java.lang.Class<?> clazz,
long classPK) |
boolean |
isTrashEntry(java.lang.String className,
long classPK) |
void |
persist() |
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 |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this trash entry.
|
void |
setEntryId(long entryId)
Sets the entry ID of this trash entry.
|
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this trash entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this trash entry.
|
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 typeSettingsUnicodeProperties) |
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.
|
protected TrashEntryWrapper |
wrap(TrashEntry trashEntry) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public TrashEntryWrapper(TrashEntry trashEntry)
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.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 getCtCollectionId()
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashEntry>
getCtCollectionId
in interface TrashEntryModel
public long getEntryId()
getEntryId
in interface TrashEntryModel
public long getGroupId()
getGroupId
in interface TrashEntryModel
public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
getMvccVersion
in interface TrashEntryModel
public long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashEntry>
getPrimaryKey
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 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 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 setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashEntry>
setCtCollectionId
in interface TrashEntryModel
ctCollectionId
- the ct collection ID of this trash entrypublic void setEntryId(long entryId)
setEntryId
in interface TrashEntryModel
entryId
- the entry ID of this trash entrypublic void setGroupId(long groupId)
setGroupId
in interface TrashEntryModel
groupId
- the group ID of this trash entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface TrashEntryModel
mvccVersion
- the mvcc version of this trash entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashEntry>
setPrimaryKey
in interface TrashEntryModel
primaryKey
- the primary key of this trash entrypublic 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 typeSettingsUnicodeProperties)
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 java.util.Map<java.lang.String,java.util.function.Function<TrashEntry,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
public java.util.Map<java.lang.String,java.util.function.BiConsumer<TrashEntry,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface com.liferay.portal.kernel.model.BaseModel<TrashEntry>
protected TrashEntryWrapper wrap(TrashEntry trashEntry)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<TrashEntry>