Skip navigation links

Oracle Content Services Web Services Java API Reference
10g Release 1 (10.1.2.3)

B25584-03


oracle.ifs.fdk
Class Event

java.lang.Object
  extended byoracle.ifs.fdk.Event

All Implemented Interfaces:
java.io.Serializable

public class Event
extends java.lang.Object
implements java.io.Serializable

Models an event that occurred; events can be audited and then retrieved by querying an audit history.


Constructor Summary
Event()
          Constructs an Event.

 

Method Summary
 long getApplicationSessionId()
          Returns the ID of the application session context (if any) used to perform the operation that resulted in creating 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.
 java.util.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.
 java.lang.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.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Event

public Event()
Constructs an Event.

Method Detail

getId

public long getId()
Returns this Event's ID.
Returns:
the audit identifier

getSessionId

public long getSessionId()
Returns the ID of the server session used to perform the operation that resulted in creating this Event.
Returns:
the session ID

getApplicationSessionId

public long getApplicationSessionId()
Returns the ID of the application session context (if any) used to perform the operation that resulted in creating this Event.

Returns 0 if the operation was performed without an application context.

Returns:
the application session context ID

getOperationType

public java.lang.String getOperationType()
Returns this Event's operation type key.
Returns:
the Event operation type key

getCreateDate

public java.util.Date getCreateDate()
Returns the Date this Event was created.
Returns:
the create Date

getCreatorId

public long getCreatorId()
Returns the ID of the User Item that performed the operation that resulted in creating this Event.
Returns:
the creator ID

getSessionUserId

public long getSessionUserId()
Returns the ID of the User Item that performed the operation that resulted in creating this Event.

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.

Returns:
the session user ID

getDomainId

public long getDomainId()
Returns the ID of the Domain Item with which this Event is associated.
Returns:
the Domain Item ID

isOperationSuccessful

public boolean isOperationSuccessful()
Returns an indication as to whether the operation sttempted which resulted in the creation of this Event actually succeeded.
Returns:
true if the operation represented by this Event completed successfully; false otherwise

getTargetId

public long getTargetId()
Returns the ID of the target Item with which this Event is associated.
Returns:
the target Item ID

getAuxTargetIds

public long[] getAuxTargetIds()
Returns the IDs of the auxiliary Items associated with this Event.
Returns:
the auxiliary Item IDs

getAuxTargetTypeIds

public long[] getAuxTargetTypeIds()
Returns the internal IDs used to identify the types of the auxiliary Items associated with this Event.
Returns:
the auxiliary Item's type IDs

getProperties

public NamedValue[] getProperties()
Returns the auxiliary properties associated with this Event.
Returns:
the auxiliary event properties

Skip navigation links

Oracle Content Services Web Services Java API Reference
10g Release 1 (10.1.2.3)

B25584-03


Copyright © 2002, 2005, Oracle. All rights reserved.