|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.agent.events.AgentEvent
public class AgentEvent
Event class that encapsulates the base information for agent related event activities.
Field Summary | |
---|---|
static java.lang.String |
AGENT_TOOLS_COMPONENT
|
static java.lang.String |
CLASS_VERSION
Class version string |
protected java.lang.String |
mCurrentSiteId
|
Constructor Summary | |
---|---|
AgentEvent()
Constructs a AgentEvent message. |
|
AgentEvent(java.lang.String pActivityType)
Constructs a AgentEvent message |
Method Summary | |
---|---|
RepositoryItem |
getAgentProfile()
|
java.lang.String |
getCurrentSiteId()
Returns the currentSiteId |
RepositoryItem |
getCustomerProfile()
Returns the customerProfile. |
java.lang.String |
getCustomerProfileId()
|
java.sql.Timestamp |
getEventDate()
Get property EventDate |
java.lang.String |
getIPAddress()
Returns the IP Address that the request originated from |
java.lang.String |
getOrganizationId()
|
java.lang.String |
getParentSessionId()
Returns the parent session id. |
java.lang.String |
getProfileId()
|
java.lang.String |
getSessionId()
Returns the current session id associated with the request when this message is sent in the context of an HTTP request. |
java.lang.String |
getTicketId()
Returns the ticket id associated with the event. |
java.lang.String |
getType()
Returns activity type. |
void |
initializeBaseProperties(java.lang.String pActivityType)
Initializes the base properties of the agent event. |
void |
setCurrentSiteId(java.lang.String pCurrentSiteId)
Sets the currentSiteId |
void |
setCustomerProfile(RepositoryItem pCustomerProfile)
Sets the customerProfile. |
void |
setCustomerProfileId(java.lang.String pCustomerProfileId)
The customer profile id associated with the event. |
void |
setEventDate(java.sql.Timestamp pEventDate)
The Date associated with the event. |
void |
setIPAddress(java.lang.String pIPAddress)
Sets the IPAddress that the request originated from |
void |
setOrganizationId(java.lang.String pOrganizationId)
The organization id associated with the event. |
void |
setParentSessionId(java.lang.String pParentSessionId)
Sets the parent session id. |
void |
setProfileId(java.lang.String pProfileId)
The profile id associated with the event. |
void |
setSessionId(java.lang.String pSessionId)
Sets the session id |
void |
setTicketId(java.lang.String pTicketId)
Sets the ticket id |
void |
setType(java.lang.String pType)
Sets the activity type. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
public static final java.lang.String AGENT_TOOLS_COMPONENT
protected java.lang.String mCurrentSiteId
Constructor Detail |
---|
public AgentEvent()
public AgentEvent(java.lang.String pActivityType)
initializeBaseProperties(String)
Method Detail |
---|
public void initializeBaseProperties(java.lang.String pActivityType)
The following properties are initialized
the
- activity type of the event.public void setProfileId(java.lang.String pProfileId)
public java.lang.String getProfileId()
public void setCustomerProfileId(java.lang.String pCustomerProfileId)
public java.lang.String getCustomerProfileId()
public java.lang.String getParentSessionId()
public void setParentSessionId(java.lang.String pParentSessionId)
public java.lang.String getSessionId()
public void setSessionId(java.lang.String pSessionId)
public java.lang.String getTicketId()
public void setTicketId(java.lang.String pTicketId)
public java.lang.String getType()
Activity type maps the event to the appropriate recorder and repository item type in the audit logging system.
getType
in interface atg.service.datacollection.TypedEvent
public void setType(java.lang.String pType)
Activity type maps the event to the appropriate recorder and repository item type in the audit logging system.
setType
in interface atg.service.datacollection.TypedEvent
public java.lang.String getIPAddress()
public void setIPAddress(java.lang.String pIPAddress)
public void setEventDate(java.sql.Timestamp pEventDate)
pDate
- new value to setpublic java.sql.Timestamp getEventDate()
EventDate
Date
public void setOrganizationId(java.lang.String pOrganizationId)
public java.lang.String getOrganizationId()
public RepositoryItem getAgentProfile()
public RepositoryItem getCustomerProfile()
public void setCustomerProfile(RepositoryItem pCustomerProfile)
pCustomerProfile
- public java.lang.String getCurrentSiteId()
public void setCurrentSiteId(java.lang.String pCurrentSiteId)
pCurrentSiteId
- the currentSiteId to setpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |