public class TrashEntryWrapper extends BaseModelWrapper<TrashEntry> implements ModelWrapper<TrashEntry>, TrashEntry
This class is a wrapper for TrashEntry.
TrashEntry,
Serialized FormmodelENTRY_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.
|
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()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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(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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic TrashEntryWrapper(TrashEntry trashEntry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<TrashEntry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<TrashEntry>public java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface TrashEntryModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface TrashEntryModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface TrashEntryModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface TrashEntryModelpublic java.util.Date getCreateDate()
getCreateDate in interface TrashEntryModelpublic long getCtCollectionId()
getCtCollectionId in interface CTModel<TrashEntry>getCtCollectionId in interface TrashEntryModelpublic long getEntryId()
getEntryId in interface TrashEntryModelpublic long getGroupId()
getGroupId in interface TrashEntryModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface TrashEntryModelpublic long getPrimaryKey()
getPrimaryKey in interface CTModel<TrashEntry>getPrimaryKey in interface TrashEntryModelpublic TrashEntry getRootEntry()
getRootEntry in interface TrashEntrypublic int getStatus()
getStatus in interface TrashEntryModelpublic long getSystemEventSetKey()
getSystemEventSetKey in interface TrashEntryModelpublic java.lang.String getTypeSettings()
getTypeSettings in interface TrashEntryModelpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface TrashEntrypublic java.lang.String getTypeSettingsProperty(java.lang.String key)
getTypeSettingsProperty in interface TrashEntrypublic java.lang.String getTypeSettingsProperty(java.lang.String key,
java.lang.String defaultValue)
getTypeSettingsProperty in interface TrashEntrypublic long getUserId()
getUserId in interface TrashEntryModelpublic java.lang.String getUserName()
getUserName in interface TrashEntryModelpublic java.lang.String getUserUuid()
getUserUuid in interface TrashEntryModelpublic boolean isTrashEntry(java.lang.Class<?> clazz,
long classPK)
isTrashEntry in interface TrashEntrypublic boolean isTrashEntry(java.lang.String className,
long classPK)
isTrashEntry in interface TrashEntrypublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setClassName(java.lang.String className)
setClassName in interface TrashEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface TrashEntryModelclassNameId - the class name ID of this trash entrypublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface TrashEntryModelclassPK - the class pk of this trash entrypublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface TrashEntryModelcompanyId - the company ID of this trash entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface TrashEntryModelcreateDate - the create date of this trash entrypublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CTModel<TrashEntry>setCtCollectionId in interface TrashEntryModelctCollectionId - the ct collection ID of this trash entrypublic void setEntryId(long entryId)
setEntryId in interface TrashEntryModelentryId - the entry ID of this trash entrypublic void setGroupId(long groupId)
setGroupId in interface TrashEntryModelgroupId - the group ID of this trash entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface TrashEntryModelmvccVersion - the mvcc version of this trash entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CTModel<TrashEntry>setPrimaryKey in interface TrashEntryModelprimaryKey - the primary key of this trash entrypublic void setRootEntry(TrashEntry rootEntry)
setRootEntry in interface TrashEntrypublic void setStatus(int status)
setStatus in interface TrashEntryModelstatus - the status of this trash entrypublic void setSystemEventSetKey(long systemEventSetKey)
setSystemEventSetKey in interface TrashEntryModelsystemEventSetKey - the system event set key of this trash entrypublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings in interface TrashEntryModeltypeSettings - the type settings of this trash entrypublic void setTypeSettingsProperties(UnicodeProperties typeSettingsUnicodeProperties)
setTypeSettingsProperties in interface TrashEntrypublic void setUserId(long userId)
setUserId in interface TrashEntryModeluserId - the user ID of this trash entrypublic void setUserName(java.lang.String userName)
setUserName in interface TrashEntryModeluserName - the user name of this trash entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface TrashEntryModeluserUuid - 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 BaseModel<TrashEntry>public java.util.Map<java.lang.String,java.util.function.BiConsumer<TrashEntry,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<TrashEntry>protected TrashEntryWrapper wrap(TrashEntry trashEntry)
wrap in class BaseModelWrapper<TrashEntry>