@ProviderType public class SystemEventWrapper extends Object implements SystemEvent, ModelWrapper<SystemEvent>
This class is a wrapper for SystemEvent.
SystemEvent,
Serialized FormSYSTEM_EVENT_ID_ACCESSOR| Constructor and Description |
|---|
SystemEventWrapper(SystemEvent systemEvent) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SystemEvent systemEvent) |
boolean |
equals(Object obj) |
String |
getClassName()
Returns the fully qualified class name of this system event.
|
long |
getClassNameId()
Returns the class name ID of this system event.
|
long |
getClassPK()
Returns the class p k of this system event.
|
String |
getClassUuid()
Returns the class uuid of this system event.
|
long |
getCompanyId()
Returns the company ID of this system event.
|
Date |
getCreateDate()
Returns the create date of this system event.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
String |
getExtraData()
Returns the extra data of this system event.
|
long |
getGroupId()
Returns the group ID of this system event.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion()
Returns the mvcc version of this system event.
|
long |
getParentSystemEventId()
Returns the parent system event ID of this system event.
|
long |
getPrimaryKey()
Returns the primary key of this system event.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
String |
getReferrerClassName() |
long |
getReferrerClassNameId()
Returns the referrer class name ID of this system event.
|
long |
getSystemEventId()
Returns the system event ID of this system event.
|
long |
getSystemEventSetKey()
Returns the system event set key of this system event.
|
int |
getType()
Returns the type of this system event.
|
long |
getUserId()
Returns the user ID of this system event.
|
String |
getUserName()
Returns the user name of this system event.
|
String |
getUserUuid()
Returns the user uuid of this system event.
|
SystemEvent |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this system event.
|
void |
setClassPK(long classPK)
Sets the class p k of this system event.
|
void |
setClassUuid(String classUuid)
Sets the class uuid of this system event.
|
void |
setCompanyId(long companyId)
Sets the company ID of this system event.
|
void |
setCreateDate(Date createDate)
Sets the create date of this system event.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setExtraData(String extraData)
Sets the extra data of this system event.
|
void |
setGroupId(long groupId)
Sets the group ID of this system event.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this system event.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setParentSystemEventId(long parentSystemEventId)
Sets the parent system event ID of this system event.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this system event.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setReferrerClassName(String referrerClassName) |
void |
setReferrerClassNameId(long referrerClassNameId)
Sets the referrer class name ID of this system event.
|
void |
setSystemEventId(long systemEventId)
Sets the system event ID of this system event.
|
void |
setSystemEventSetKey(long systemEventSetKey)
Sets the system event set key of this system event.
|
void |
setType(int type)
Sets the type of this system event.
|
void |
setUserId(long userId)
Sets the user ID of this system event.
|
void |
setUserName(String userName)
Sets the user name of this system event.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this system event.
|
CacheModel<SystemEvent> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
SystemEvent |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
SystemEvent |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public SystemEventWrapper(SystemEvent systemEvent)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<SystemEvent>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<SystemEvent>public CacheModel<SystemEvent> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<SystemEvent>toCacheModel in interface SystemEventModelpublic SystemEvent toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<SystemEvent>toEscapedModel in interface SystemEventModelAutoEscapeBeanHandlerpublic SystemEvent toUnescapedModel()
toUnescapedModel in interface BaseModel<SystemEvent>toUnescapedModel in interface SystemEventModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<SystemEvent>isCachedModel in interface SystemEventModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<SystemEvent>isEscapedModel in interface SystemEventModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<SystemEvent>isNew in interface SystemEventModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<SystemEvent>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SystemEventModelpublic int compareTo(SystemEvent systemEvent)
compareTo in interface SystemEventModelcompareTo in interface Comparable<SystemEvent>public int getType()
getType in interface SystemEventModelpublic int hashCode()
hashCode in interface SystemEventModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<SystemEvent>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SystemEventModelpublic Object clone()
BaseModelclone in interface BaseModel<SystemEvent>clone in interface SystemEventModelclone in class Objectpublic String getClassName()
getClassName in interface SystemEventModelgetClassName in interface TypedModelpublic String getClassUuid()
getClassUuid in interface SystemEventModelpublic String getExtraData()
getExtraData in interface SystemEventModelpublic String getReferrerClassName()
getReferrerClassName in interface SystemEventpublic String getUserName()
getUserName in interface SystemEventModelpublic String getUserUuid()
getUserUuid in interface SystemEventModelpublic String toString()
toString in interface SystemEventModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<SystemEvent>toXmlString in interface SystemEventModelpublic Date getCreateDate()
getCreateDate in interface SystemEventModelpublic long getClassNameId()
getClassNameId in interface SystemEventModelgetClassNameId in interface TypedModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface SystemEventModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface SystemEventModelpublic long getGroupId()
getGroupId in interface SystemEventModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface SystemEventModelpublic long getParentSystemEventId()
getParentSystemEventId in interface SystemEventModelpublic long getPrimaryKey()
getPrimaryKey in interface SystemEventModelpublic long getReferrerClassNameId()
getReferrerClassNameId in interface SystemEventModelpublic long getSystemEventId()
getSystemEventId in interface SystemEventModelpublic long getSystemEventSetKey()
getSystemEventSetKey in interface SystemEventModelpublic long getUserId()
getUserId in interface SystemEventModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<SystemEvent>setCachedModel in interface SystemEventModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface SystemEventModelpublic void setClassNameId(long classNameId)
setClassNameId in interface SystemEventModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this system eventpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface SystemEventModelclassPK - the class p k of this system eventpublic void setClassUuid(String classUuid)
setClassUuid in interface SystemEventModelclassUuid - the class uuid of this system eventpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface SystemEventModelcompanyId - the company ID of this system eventpublic void setCreateDate(Date createDate)
setCreateDate in interface SystemEventModelcreateDate - the create date of this system eventpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SystemEvent>setExpandoBridgeAttributes in interface SystemEventModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SystemEvent>setExpandoBridgeAttributes in interface SystemEventModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<SystemEvent>setExpandoBridgeAttributes in interface SystemEventModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setExtraData(String extraData)
setExtraData in interface SystemEventModelextraData - the extra data of this system eventpublic void setGroupId(long groupId)
setGroupId in interface SystemEventModelgroupId - the group ID of this system eventpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface SystemEventModelmvccVersion - the mvcc version of this system eventpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<SystemEvent>setNew in interface SystemEventModeln - whether this model instance does not yet exist in the databasepublic void setParentSystemEventId(long parentSystemEventId)
setParentSystemEventId in interface SystemEventModelparentSystemEventId - the parent system event ID of this system eventpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SystemEventModelprimaryKey - the primary key of this system eventpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<SystemEvent>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SystemEventModelprimaryKeyObj - the primary key of this model instancepublic void setReferrerClassName(String referrerClassName)
setReferrerClassName in interface SystemEventpublic void setReferrerClassNameId(long referrerClassNameId)
setReferrerClassNameId in interface SystemEventModelreferrerClassNameId - the referrer class name ID of this system eventpublic void setSystemEventId(long systemEventId)
setSystemEventId in interface SystemEventModelsystemEventId - the system event ID of this system eventpublic void setSystemEventSetKey(long systemEventSetKey)
setSystemEventSetKey in interface SystemEventModelsystemEventSetKey - the system event set key of this system eventpublic void setType(int type)
setType in interface SystemEventModeltype - the type of this system eventpublic void setUserId(long userId)
setUserId in interface SystemEventModeluserId - the user ID of this system eventpublic void setUserName(String userName)
setUserName in interface SystemEventModeluserName - the user name of this system eventpublic void setUserUuid(String userUuid)
setUserUuid in interface SystemEventModeluserUuid - the user uuid of this system eventpublic SystemEvent getWrappedModel()
getWrappedModel in interface ModelWrapper<SystemEvent>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<SystemEvent>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<SystemEvent>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<SystemEvent>