public class Event extends Object implements Serializable
Constructor and Description |
---|
Event()
Constructs an Event.
|
Event(long id,
long sessId,
long appSessId,
String opType,
Date createDate,
long creatorId,
long sessionUserId,
long domainId,
boolean success,
long targetId,
long[] auxTargetIds,
long[] auxTargetTypeIds,
String appUser,
String appContext,
String auxString,
Long auxNumber,
NamedValue[] properties)
Constructs an Event.
|
Modifier and Type | Method and Description |
---|---|
String |
getApplicationContext()
Returns the Application Context identifier in effect on the session that
performed the operation that resulted in creating this Event.
|
long |
getApplicationSessionId()
Returns the ID of the application session context (if any)
used to perform the operation that resulted in creating this Event.
|
String |
getApplicationUser()
Returns the Application User identifier in effect on the session that
performed the operation that resulted in creating this Event.
|
Long |
getAuxiliaryNumber()
Returns the auxiliary number associated with this Event.
|
String |
getAuxiliaryString()
Returns the auxiliary string associated with this Event.
|
long[] |
getAuxTargetIds()
Returns the IDs of the auxiliary Items associated with this Event.
|
long[] |
getAuxTargetTypeIds()
Returns the internal IDs used to identify the types of the
auxiliary Items associated with this Event.
|
Date |
getCreateDate()
Returns the Date this Event was created.
|
long |
getCreatorId()
Returns the ID of the User Item that performed the operation that resulted
in creating this Event.
|
long |
getDomainId()
Returns the ID of the Domain Item with which this Event is associated.
|
long |
getId()
Returns this Event's ID.
|
String |
getOperationType()
Returns this Event's operation type key.
|
NamedValue[] |
getProperties()
Returns the auxiliary properties associated with this Event.
|
long |
getSessionId()
Returns the ID of the server session used to perform the
operation that resulted in creating this Event.
|
long |
getSessionUserId()
Returns the ID of the User Item that performed the operation that resulted
in creating this Event.
|
long |
getTargetId()
Returns the ID of the target Item with which this Event is associated.
|
boolean |
isOperationSuccessful()
Returns an indication as to whether the operation sttempted which resulted
in the creation of this Event actually succeeded.
|
void |
setApplicationContext(String applicationContext)
Always throws a RuntimeException.
|
void |
setApplicationSessionId(long appSessionId)
Always throws a RuntimeException.
|
void |
setApplicationUser(String applicationUser)
Always throws a RuntimeException.
|
void |
setAuxiliaryNumber(Long auxNumber)
Always throws a RuntimeException.
|
void |
setAuxiliaryString(String auxString)
Always throws a RuntimeException.
|
void |
setAuxTargetIds(long[] auxTargetIds)
Always throws a RuntimeException.
|
void |
setAuxTargetTypeIds(long[] auxTargetTypeIds)
Always throws a RuntimeException.
|
void |
setCreateDate(Date createDate)
Always throws a RuntimeException.
|
void |
setCreatorId(long creatorId)
Always throws a RuntimeException.
|
void |
setDomainId(long domainId)
Always throws a RuntimeException.
|
void |
setId(long id)
Always throws a RuntimeException.
|
void |
setOperationSuccessful(boolean opSuccessful)
Always throws a RuntimeException.
|
void |
setOperationType(String operationType)
Always throws a RuntimeException.
|
void |
setProperties(NamedValue[] properties)
Always throws a RuntimeException.
|
void |
setSessionId(long sessionId)
Always throws a RuntimeException.
|
void |
setSessionUserId(long sessionUserId)
Always throws a RuntimeException.
|
void |
setTargetId(long targetId)
Always throws a RuntimeException.
|
public Event()
public Event(long id, long sessId, long appSessId, String opType, Date createDate, long creatorId, long sessionUserId, long domainId, boolean success, long targetId, long[] auxTargetIds, long[] auxTargetTypeIds, String appUser, String appContext, String auxString, Long auxNumber, NamedValue[] properties)
public long getId()
public long getSessionId()
public long getApplicationSessionId()
Returns 0 if the operation was performed without an application context.
public String getOperationType()
public Date getCreateDate()
public long getCreatorId()
public long getSessionUserId()
Can be different from the creator ID if the session which caused the event to be created was switched into administration mode, or if the operation was performed on behalf of the user in an asynchronous process, such as in a workflow or agent.
public long getDomainId()
public boolean isOperationSuccessful()
public long getTargetId()
public long[] getAuxTargetIds()
public long[] getAuxTargetTypeIds()
public String getApplicationUser()
public String getApplicationContext()
public String getAuxiliaryString()
public Long getAuxiliaryNumber()
public NamedValue[] getProperties()
public void setId(long id)
RuntimeException
- Always.public void setSessionId(long sessionId)
RuntimeException
- Always.public void setApplicationSessionId(long appSessionId)
RuntimeException
- Always.public void setOperationType(String operationType)
RuntimeException
- Always.public void setCreateDate(Date createDate)
RuntimeException
- Always.public void setCreatorId(long creatorId)
RuntimeException
- Always.public void setSessionUserId(long sessionUserId)
RuntimeException
- Always.public void setDomainId(long domainId)
RuntimeException
- Always.public void setOperationSuccessful(boolean opSuccessful)
RuntimeException
- Always.public void setTargetId(long targetId)
RuntimeException
- Always.public void setAuxTargetIds(long[] auxTargetIds)
RuntimeException
- Always.public void setAuxTargetTypeIds(long[] auxTargetTypeIds)
RuntimeException
- Always.public void setApplicationUser(String applicationUser)
RuntimeException
- Always.public void setApplicationContext(String applicationContext)
RuntimeException
- Always.public void setAuxiliaryString(String auxString)
RuntimeException
- Always.public void setAuxiliaryNumber(Long auxNumber)
RuntimeException
- Always.public void setProperties(NamedValue[] properties)
RuntimeException
- Always.Copyright © 2023. All rights reserved.