|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.SystemEventWrapper
@ProviderType public class SystemEventWrapper
This class is a wrapper for SystemEvent
.
SystemEvent
,
Serialized FormField Summary |
---|
Fields inherited from interface com.liferay.portal.model.SystemEvent |
---|
SYSTEM_EVENT_ID_ACCESSOR |
Constructor Summary | |
---|---|
SystemEventWrapper(SystemEvent systemEvent)
|
Method Summary | |
---|---|
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 |
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()
|
SystemEvent |
getWrappedSystemEvent()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
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 |
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. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SystemEventWrapper(SystemEvent systemEvent)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SystemEvent>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SystemEvent>
public long getPrimaryKey()
getPrimaryKey
in interface SystemEventModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SystemEventModel
primaryKey
- the primary key of this system eventpublic long getSystemEventId()
getSystemEventId
in interface SystemEventModel
public void setSystemEventId(long systemEventId)
setSystemEventId
in interface SystemEventModel
systemEventId
- the system event ID of this system eventpublic long getGroupId()
getGroupId
in interface SystemEventModel
public void setGroupId(long groupId)
setGroupId
in interface SystemEventModel
groupId
- the group ID of this system eventpublic long getCompanyId()
getCompanyId
in interface SystemEventModel
public void setCompanyId(long companyId)
setCompanyId
in interface SystemEventModel
companyId
- the company ID of this system eventpublic long getUserId()
getUserId
in interface SystemEventModel
public void setUserId(long userId)
setUserId
in interface SystemEventModel
userId
- the user ID of this system eventpublic String getUserUuid() throws SystemException
getUserUuid
in interface SystemEventModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface SystemEventModel
userUuid
- the user uuid of this system eventpublic String getUserName()
getUserName
in interface SystemEventModel
public void setUserName(String userName)
setUserName
in interface SystemEventModel
userName
- the user name of this system eventpublic Date getCreateDate()
getCreateDate
in interface SystemEventModel
public void setCreateDate(Date createDate)
setCreateDate
in interface SystemEventModel
createDate
- the create date of this system eventpublic String getClassName()
getClassName
in interface SystemEventModel
getClassName
in interface TypedModel
public void setClassName(String className)
setClassName
in interface SystemEventModel
public long getClassNameId()
getClassNameId
in interface SystemEventModel
getClassNameId
in interface TypedModel
public void setClassNameId(long classNameId)
setClassNameId
in interface SystemEventModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this system eventpublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface SystemEventModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface SystemEventModel
classPK
- the class p k of this system eventpublic String getClassUuid()
getClassUuid
in interface SystemEventModel
public void setClassUuid(String classUuid)
setClassUuid
in interface SystemEventModel
classUuid
- the class uuid of this system eventpublic long getReferrerClassNameId()
getReferrerClassNameId
in interface SystemEventModel
public void setReferrerClassNameId(long referrerClassNameId)
setReferrerClassNameId
in interface SystemEventModel
referrerClassNameId
- the referrer class name ID of this system eventpublic long getParentSystemEventId()
getParentSystemEventId
in interface SystemEventModel
public void setParentSystemEventId(long parentSystemEventId)
setParentSystemEventId
in interface SystemEventModel
parentSystemEventId
- the parent system event ID of this system eventpublic long getSystemEventSetKey()
getSystemEventSetKey
in interface SystemEventModel
public void setSystemEventSetKey(long systemEventSetKey)
setSystemEventSetKey
in interface SystemEventModel
systemEventSetKey
- the system event set key of this system eventpublic int getType()
getType
in interface SystemEventModel
public void setType(int type)
setType
in interface SystemEventModel
type
- the type of this system eventpublic String getExtraData()
getExtraData
in interface SystemEventModel
public void setExtraData(String extraData)
setExtraData
in interface SystemEventModel
extraData
- the extra data of this system eventpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<SystemEvent>
isNew
in interface SystemEventModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<SystemEvent>
setNew
in interface SystemEventModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<SystemEvent>
isCachedModel
in interface SystemEventModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<SystemEvent>
setCachedModel
in interface SystemEventModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<SystemEvent>
isEscapedModel
in interface SystemEventModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SystemEvent>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SystemEventModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SystemEvent>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SystemEventModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SystemEvent>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SystemEventModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<SystemEvent>
setExpandoBridgeAttributes
in interface SystemEventModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<SystemEvent>
setExpandoBridgeAttributes
in interface SystemEventModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SystemEvent>
setExpandoBridgeAttributes
in interface SystemEventModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<SystemEvent>
clone
in interface SystemEventModel
clone
in class Object
public int compareTo(SystemEvent systemEvent)
compareTo
in interface SystemEventModel
compareTo
in interface Comparable<SystemEvent>
public int hashCode()
hashCode
in interface SystemEventModel
hashCode
in class Object
public CacheModel<SystemEvent> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SystemEvent>
toCacheModel
in interface SystemEventModel
public SystemEvent toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<SystemEvent>
toEscapedModel
in interface SystemEventModel
AutoEscapeBeanHandler
public SystemEvent toUnescapedModel()
toUnescapedModel
in interface BaseModel<SystemEvent>
toUnescapedModel
in interface SystemEventModel
public String toString()
toString
in interface SystemEventModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SystemEvent>
toXmlString
in interface SystemEventModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic String getReferrerClassName()
getReferrerClassName
in interface SystemEvent
public void setReferrerClassName(String referrerClassName)
setReferrerClassName
in interface SystemEvent
public boolean equals(Object obj)
equals
in class Object
public SystemEvent getWrappedSystemEvent()
getWrappedModel()
public SystemEvent getWrappedModel()
getWrappedModel
in interface ModelWrapper<SystemEvent>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<SystemEvent>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |