Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E27155-01 ESAPI


oracle.security.jps.service.audit
Class AuditEvent

java.lang.Object
  extended by oracle.security.jps.service.audit.AuditEvent

Direct Known Subclasses:
AbstractJpsAuditEvent

public class AuditEvent
extends java.lang.Object
Since:
release specific (what release of product did this appear in)
Version:
$Header: jazn/jps/src/jps-api/oracle/security/jps/service/audit/AuditEvent.java st_j2ee_sregmi_audit_jps_service/4 2008/07/31 14:48:17 sregmi Exp $
Author:
pdatta

Field Summary
static java.lang.String APPLICATION_NAME
           
static java.lang.String COMPONENT_NAME
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String CONTEXT_FIELDS
           
static java.lang.String DOWNSTREAM_COMPONENT_ID
           
static java.lang.String EVENT_CATEGORY
           
static java.lang.String EVENT_STATUS
           
static java.lang.String EVENT_TYPE
           
static java.lang.String EXEC_CONTEXT_INSTANCE
           
static java.lang.String EXEC_CONTEXT_SEQ
           
static java.lang.String EXEC_CONTEXT_UNIQUE_ID
           
static java.lang.String FAILURE_CODE
           
static java.lang.String GENERIC_AUDIT_EVENT
           
static java.lang.String GENERIC_AUDIT_EVENT_CATEGORY
           
static java.lang.String HOST_ID
           
static java.lang.String HOST_NWADDR
           
static java.lang.String HOSTING_CLIENT_ID
           
static java.lang.String INITIATOR
           
static java.lang.String INITIATORDN
           
static java.lang.String INSTANCE_ID
           
static java.lang.String MESSAGE_TEXT
           
static java.lang.String MODULE_ID
           
static java.lang.String ORACLE_HOME
           
static java.lang.String ORACLE_INSTANCE
           
static java.lang.String ORGANIZATION_ID
           
static java.lang.String PROCESS_ID
           
static java.lang.String REMOTE_IP
           
static java.lang.String RESOURCE
           
static java.lang.String RID
           
static java.lang.String ROLES
           
static java.lang.String SECONDARY_SESSION_ID
           
static java.lang.String SESSION_ID
           
static java.lang.String TARGET
           
static java.lang.String TARGET_COMPONENT_TYPE
           
static java.lang.String THREAD_ID
           
static java.lang.String TRANSACTION_ID
           
static java.lang.String TSTZ_ORIGINATING
           
static java.lang.String UPSTREAM_COMPONENT_ID
           

 

Constructor Summary
AuditEvent()
           
AuditEvent(AuditContext ctx)
          Create a new AuditEvent object, with default values for certain fields.
AuditEvent(AuditContext ctx, java.util.HashMap<java.lang.String,java.lang.Object> props)
          Creates a new AuditEvent taking the message field values from a Properties list.
AuditEvent(AuditContext ctx, java.lang.String eventType, java.lang.String eventCategory, boolean eventStatus, java.lang.String messageText)
          Creates a new AuditEvent.
AuditEvent(boolean initialize)
           

 

Method Summary
 java.lang.String getApplicationName()
           
 java.lang.Object getAttribute(java.lang.String attributeName)
          The getAttribute() method is used to get the value of an attribute with the given name.
 boolean getAttributeBoolean(java.lang.String attributeName)
          The getAttributeBoolean() method is used to get the value of an attribute with the given name.
 byte[] getAttributeByteArray(java.lang.Object attributeName)
          The getAttributeByteArray() method is used to get the value of an attribute with the given name.
 java.util.Date getAttributeDate(java.lang.String attributeName)
          The getAttributeDouble() method is used to get the value of an attribute with the given name.
 double getAttributeDouble(java.lang.String attributeName)
          The getAttributeDouble() method is used to get the value of an attribute with the given name.
 float getAttributeFloat(java.lang.String attributeName)
          The getAttributeFloat() method is used to get the value of an attribute with the given name.
 int getAttributeInt(java.lang.String attributeName)
          The getAttributeInt() method is used to get the value of an attribute with the given name.
 long getAttributeLong(java.lang.String attributeName)
          The getAttributeLong() method is used to get the value of an attribute with the given name.
 java.lang.String[] getAttributeNames()
           
 java.util.Map<java.lang.String,java.lang.Object> getAttributes()
           
 java.lang.String getAttributeString(java.lang.String attributeName)
          The getAttributeString() method is used to get the value of an attribute with the given name.
 java.lang.String getComponentName()
          The getComponentName() method is used to get the name of the component generating the event.
 java.lang.String getComponentType()
          The getComponentType() method is used to get the name of the component generating the event.
 java.lang.String getContextFields()
           
 java.lang.String getDownstreamComponentId()
          Deprecated. The downStreamComponentId attribute is no longer used
 java.lang.String getECID()
          The getECID() method is used to set the Execution Context ID.
 java.lang.String getEventCategory()
          The getEventCategory() method is used to get the category of the event.
 java.lang.Object getEventDefinition()
          The getEventDefinition() method is used to get the event definition.
 boolean getEventStatus()
          The getStatus() method is used to get the event status.
 long getEventTimestamp()
          The getEventTimestamp() method is used to get the event creation time.
 java.lang.String getEventType()
          The getEventType() method is used to get the type of the event.
 java.lang.String getFailureCode()
          The getFailureCode() method is used to get the failure code.
 java.lang.String getHostId()
          The getHostId() method is used to get the Host ID.
 java.lang.String getHostingClientId()
          Deprecated. The hostClientId attribute is no longer used
 java.lang.String getHostNetworkAddr()
          The getHostNetworkAddr() method is used to get the Network Address of host generating the event.
 java.lang.String getInitiator()
          The getInitiator() method is used to get the Initiator of the event.
 java.lang.String getInstanceId()
          The getInstanceId() method is used to get the Instance ID.
 java.lang.String getMessageText()
          The getMessageText() method is used to get Supplemental Details.
 java.lang.String getModuleId()
          The getModuleId() method is used to get the module id.
 java.lang.String getOracleHome()
          The getOracleHome() method is used to get the ORACLE HOME.
 java.lang.String getOracleInstance()
          The getOracleInstance() method is used to get the Oracle Intance.
 java.lang.String getOrganizationId()
          Deprecated. The organizationId attribute is no longer used
 java.lang.String getProcessId()
          The getProcessId() method is used to get the process ID of the process generating the event.
 java.lang.String getRemoteIP()
           
 java.lang.String getResource()
           
 java.lang.String getRID()
           
 java.lang.String getRoles()
           
 java.lang.String getSecondarySessionId()
          Deprecated. The secondarySessionId attribute is no longer used
 java.lang.String getTarget()
           
 java.lang.String getTargetComponentType()
           
 java.lang.String getThreadId()
          The getThreadId() method is used to get the Thread ID.
 java.lang.String getTransactionId()
          The getTransactionId() method is used to get the Transaction ID.
 java.lang.String getUpstreamComponentId()
          Deprecated. The upStreamComponentId attribute is no longer used
 void setApplicationName(java.lang.String applicationName)
          The setApplicationName() method is used to set the name of the application generating the event.
 void setAttribute(java.lang.String attributeName, java.lang.Object attributeValue)
          The setAttribute() method is used to set a (attribute-name, attribute-value) pair.
 void setAttributeBoolean(java.lang.String attributeName, boolean attributeValue)
          The setAttributeBoolean() method is used to set a (attribute-name, attribute-value) pair.
 void setAttributeBoolean(java.lang.String attributeName, java.lang.Boolean attributeValue)
          The setAttributeBoolean() method is used to set a (attribute-name, attribute-value) pair.
 void setAttributeByteArray(java.lang.String attributeName, byte[] attributeValue)
          The setAttributeByteArray method is used to set a (attribute-name, attribute-value) pair.
 void setAttributeDate(java.lang.String attributeName, java.util.Date attributeValue)
          The setAttributeDate() method is used to set a (attribute-name, attribute-value) pair.
 void setAttributeDouble(java.lang.String attributeName, double attributeValue)
          The setAttributeDouble() method is used to set a (attribute-name, attribute-value) pair.
 void setAttributeFloat(java.lang.String attributeName, float attributeValue)
          The setAttributeFloat() method is used to set a (attribute-name, attribute-value) pair.
 void setAttributeInt(java.lang.String attributeName, int attributeValue)
          The setAttributeInt() method is used to set a (attribute-name, attribute-value) pair.
 void setAttributeLong(java.lang.String attributeName, long attributeValue)
          The setAttributeLong() method is used to set a (attribute-name, attribute-value) pair.
 void setAttributeString(java.lang.String attributeName, java.lang.String attributeValue)
          The setAttributeString() method is used to set a (attribute-name, attribute-value) pair.
 void setComponentName(java.lang.String componentName)
          The setComponentName() method is used to set the name of the component generating the event.
 void setComponentType(java.lang.String componentType)
          The setComponentType() method is used to set the type of the component generating the event.
 void setContextFields(java.lang.String contextFields)
           
 void setDownstreamComponentId(java.lang.String downstreamComponentId)
          Deprecated. The downStreamComponentId attribute is no longer used
 void setECID(java.lang.String ecid)
          The setECID() method is used to set the Execution Context ID.
 void setEventCategory(java.lang.String category)
          The setEventCategory() method is used to set the category of the event.
 void setEventDefinition(java.lang.Object eventDefinition)
          The setEventDefinition() method is used to set the event definition.
 void setEventStatus(boolean status)
          The setEventStatus() method is used to set the event status.
 void setEventTimestamp(long eventTimestamp)
          The setEventTimestamp() method is used to set the event creation time.
 void setEventType(java.lang.String eventType)
          The setEventType() method is used to set the type of the event.
 void setFailureCode(java.lang.String failureCode)
          The setFailureCode() method is used to set the failureCode.
 void setHostId(java.lang.String hostId)
          The setHostId() method is used to set the Host ID.
 void setHostingClientId(java.lang.String hostClientId)
          Deprecated. The hostClientId attribute is no longer used
 void setHostNetworkAddr(java.lang.String hostNetworkAddr)
          The setHostNetworkAddr() method is used to set the Network Address of host generating the event.
 void setInitiator(java.lang.String initiator)
          The setInitiator() method is used to set the Initiator.
 void setInitiatorDN(java.lang.String DN)
          Deprecated.  
 void setInstanceId(java.lang.String instanceId)
          The setInstanceId() method is used to set the Instance ID.
 void setMessageText(java.lang.String messageText)
          The setMessageText() method is used to set the Supplemental Details.
 void setModuleId(java.lang.String moduleId)
          The setModuleId() method is used to set the module id.
 void setOracleHome(java.lang.String oracleHome)
          The setOracleHome() method is used to set the oracleHome.
 void setOracleInstance(java.lang.String oracleInstance)
          The setOracleInstance() method is used to set the oracleInstance.
 void setOrganizationId(java.lang.String organizationId)
          Deprecated. The organizationId attribute is no longer used
 void setProcessId(java.lang.String processId)
          The setProcessId() method is used to set the processId of the process generating the event.
 void setRemoteIP(java.lang.String value)
           
 void setResource(java.lang.String value)
           
 void setRID(java.lang.String rid)
           
 void setRoles(java.lang.String value)
           
 void setSecondarySessionId(java.lang.String secondarySessionId)
          Deprecated. The secondarySessionId attribute is no longer used
 void setTarget(java.lang.String value)
           
 void setTargetComponentType(java.lang.String targetComponentType)
           
 void setTargetDN(java.lang.String DN)
          Deprecated.  
 void setThreadId(java.lang.String threadId)
          The setThreadId() method is used to set the Thread ID.
 void setTransactionId(java.lang.String transactionId)
          The setTransactionId() method is used to set the Transaction ID.
 void setUpstreamComponentId(java.lang.String upstreamComponentId)
          Deprecated. The upStreamComponentId attribute is no longer used

 

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

 

Field Detail

GENERIC_AUDIT_EVENT

public static final java.lang.String GENERIC_AUDIT_EVENT
See Also:
Constant Field Values

GENERIC_AUDIT_EVENT_CATEGORY

public static final java.lang.String GENERIC_AUDIT_EVENT_CATEGORY
See Also:
Constant Field Values

ORGANIZATION_ID

public static final java.lang.String ORGANIZATION_ID
See Also:
Constant Field Values

COMPONENT_NAME

public static final java.lang.String COMPONENT_NAME
See Also:
Constant Field Values

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

INSTANCE_ID

public static final java.lang.String INSTANCE_ID
See Also:
Constant Field Values

HOSTING_CLIENT_ID

public static final java.lang.String HOSTING_CLIENT_ID
See Also:
Constant Field Values

HOST_ID

public static final java.lang.String HOST_ID
See Also:
Constant Field Values

HOST_NWADDR

public static final java.lang.String HOST_NWADDR
See Also:
Constant Field Values

MODULE_ID

public static final java.lang.String MODULE_ID
See Also:
Constant Field Values

PROCESS_ID

public static final java.lang.String PROCESS_ID
See Also:
Constant Field Values

THREAD_ID

public static final java.lang.String THREAD_ID
See Also:
Constant Field Values

ORACLE_HOME

public static final java.lang.String ORACLE_HOME
See Also:
Constant Field Values

ORACLE_INSTANCE

public static final java.lang.String ORACLE_INSTANCE
See Also:
Constant Field Values

TARGET_COMPONENT_TYPE

public static final java.lang.String TARGET_COMPONENT_TYPE
See Also:
Constant Field Values

EXEC_CONTEXT_INSTANCE

public static final java.lang.String EXEC_CONTEXT_INSTANCE
See Also:
Constant Field Values

RID

public static final java.lang.String RID
See Also:
Constant Field Values

EXEC_CONTEXT_UNIQUE_ID

public static final java.lang.String EXEC_CONTEXT_UNIQUE_ID
See Also:
Constant Field Values

EXEC_CONTEXT_SEQ

public static final java.lang.String EXEC_CONTEXT_SEQ
See Also:
Constant Field Values

UPSTREAM_COMPONENT_ID

public static final java.lang.String UPSTREAM_COMPONENT_ID
See Also:
Constant Field Values

DOWNSTREAM_COMPONENT_ID

public static final java.lang.String DOWNSTREAM_COMPONENT_ID
See Also:
Constant Field Values

SESSION_ID

public static final java.lang.String SESSION_ID
See Also:
Constant Field Values

SECONDARY_SESSION_ID

public static final java.lang.String SECONDARY_SESSION_ID
See Also:
Constant Field Values

APPLICATION_NAME

public static final java.lang.String APPLICATION_NAME
See Also:
Constant Field Values

CONTEXT_FIELDS

public static final java.lang.String CONTEXT_FIELDS
See Also:
Constant Field Values

EVENT_STATUS

public static final java.lang.String EVENT_STATUS
See Also:
Constant Field Values

FAILURE_CODE

public static final java.lang.String FAILURE_CODE
See Also:
Constant Field Values

EVENT_TYPE

public static final java.lang.String EVENT_TYPE
See Also:
Constant Field Values

EVENT_CATEGORY

public static final java.lang.String EVENT_CATEGORY
See Also:
Constant Field Values

TSTZ_ORIGINATING

public static final java.lang.String TSTZ_ORIGINATING
See Also:
Constant Field Values

INITIATOR

public static final java.lang.String INITIATOR
See Also:
Constant Field Values

INITIATORDN

public static final java.lang.String INITIATORDN
See Also:
Constant Field Values

MESSAGE_TEXT

public static final java.lang.String MESSAGE_TEXT
See Also:
Constant Field Values

TRANSACTION_ID

public static final java.lang.String TRANSACTION_ID
See Also:
Constant Field Values

REMOTE_IP

public static final java.lang.String REMOTE_IP
See Also:
Constant Field Values

TARGET

public static final java.lang.String TARGET
See Also:
Constant Field Values

RESOURCE

public static final java.lang.String RESOURCE
See Also:
Constant Field Values

ROLES

public static final java.lang.String ROLES
See Also:
Constant Field Values

Constructor Detail

AuditEvent

public AuditEvent()

AuditEvent

public AuditEvent(boolean initialize)

AuditEvent

public AuditEvent(AuditContext ctx,
                  java.lang.String eventType,
                  java.lang.String eventCategory,
                  boolean eventStatus,
                  java.lang.String messageText)
Creates a new AuditEvent.

The following message fields are initialized internally: originating timestamp, host name, and host network address. The remaining fields are initialized from the values passed as arguments to this method.

If any argument is invalid, the method will attempt to throw a AuditException, by passing this exception to the exception handler. If the handler returns, then a message will be created with arbitrary values in place of the invalid arguments.

Parameters:
ctx - AuditContext
eventType - Type of the event
eventCategory - Category of the event
eventStatus - Status [SUCCESS/FAILURE] of the operation that caused the event
messageText - text message

AuditEvent

public AuditEvent(AuditContext ctx)
Create a new AuditEvent object, with default values for certain fields.
Parameters:
ctx - - an AuditContext Object
Since:
1.0

AuditEvent

public AuditEvent(AuditContext ctx,
                  java.util.HashMap<java.lang.String,java.lang.Object> props)
Creates a new AuditEvent taking the message field values from a Properties list.

Use the fields provided in this class for the property names.

Example:

 java.util.Properties props = new java.util.Properties();
 props.setProperty(TestLogMessage.ORGANIZATION_ID, "oracle");
 props.setProperty(TestLogMessage.COMPONENT_ID, "myComponent");
 AuditEvent msg = new AuditEvent(ctx, props);
 
Parameters:
props - A Properties list containing message fields.

Method Detail

setEventDefinition

public void setEventDefinition(java.lang.Object eventDefinition)
The setEventDefinition() method is used to set the event definition.
Parameters:
EventDefinition - object.
Since:
1.0

getEventDefinition

public java.lang.Object getEventDefinition()
The getEventDefinition() method is used to get the event definition.
Returns:
EventDefinition object.
Since:
1.0

setApplicationName

public void setApplicationName(java.lang.String applicationName)
The setApplicationName() method is used to set the name of the application generating the event.
Parameters:
applicationName - object.
Since:
1.0

getApplicationName

public java.lang.String getApplicationName()

setUpstreamComponentId

public void setUpstreamComponentId(java.lang.String upstreamComponentId)
Deprecated. The upStreamComponentId attribute is no longer used
The setUpstreamComponentId() method is used to set the upstream component ID.
Parameters:
upstreamComponentId - object.
Since:
1.0

getUpstreamComponentId

public java.lang.String getUpstreamComponentId()
Deprecated. The upStreamComponentId attribute is no longer used
The getUpstreamComponentId() method is used to set the upstream component ID.
Returns:
String upstreamComponentId.
Since:
1.0

setDownstreamComponentId

public void setDownstreamComponentId(java.lang.String downstreamComponentId)
Deprecated. The downStreamComponentId attribute is no longer used
The setDownstreamComponentId() method is used to set the downstream component ID.
Parameters:
downstreamComponentId - object.
Since:
1.0

getDownstreamComponentId

public java.lang.String getDownstreamComponentId()
Deprecated. The downStreamComponentId attribute is no longer used
The getDownstreamComponentId() method is used to set the upstream component ID.
Returns:
String downstreamComponentId.
Since:
1.0

setECID

public void setECID(java.lang.String ecid)
The setECID() method is used to set the Execution Context ID.
Parameters:
ecid - object.
Since:
1.0

getECID

public java.lang.String getECID()
The getECID() method is used to set the Execution Context ID.
Returns:
String.
Since:
1.0

setRID

public void setRID(java.lang.String rid)

getRID

public java.lang.String getRID()

setSecondarySessionId

public void setSecondarySessionId(java.lang.String secondarySessionId)
Deprecated. The secondarySessionId attribute is no longer used
The setSecondarySessionId() method is used to set the secondary session ID.
Parameters:
secondarySessionId - object.
Since:
1.0

getSecondarySessionId

public java.lang.String getSecondarySessionId()
Deprecated. The secondarySessionId attribute is no longer used
The getSecondarySessionId() method is used to set the secondary session ID.
Returns:
String secondarySessionId.
Since:
1.0

setComponentName

public void setComponentName(java.lang.String componentName)
The setComponentName() method is used to set the name of the component generating the event.
Parameters:
componentName - object.
Since:
1.0

getComponentName

public java.lang.String getComponentName()
The getComponentName() method is used to get the name of the component generating the event.
Since:
1.0

setComponentType

public void setComponentType(java.lang.String componentType)
The setComponentType() method is used to set the type of the component generating the event.
Parameters:
componentType - object.
Since:
1.0

getComponentType

public java.lang.String getComponentType()
The getComponentType() method is used to get the name of the component generating the event.
Since:
1.0

setEventType

public void setEventType(java.lang.String eventType)
The setEventType() method is used to set the type of the event.
Parameters:
eventType - object.
Since:
1.0

getEventType

public java.lang.String getEventType()
The getEventType() method is used to get the type of the event.
Since:
1.0

setEventCategory

public void setEventCategory(java.lang.String category)
The setEventCategory() method is used to set the category of the event.
Parameters:
category - object.
Since:
1.0

getEventCategory

public java.lang.String getEventCategory()
The getEventCategory() method is used to get the category of the event.
Since:
1.0

setEventTimestamp

public void setEventTimestamp(long eventTimestamp)
The setEventTimestamp() method is used to set the event creation time.
Parameters:
eventTimestamp - object.
Since:
1.0

getEventTimestamp

public long getEventTimestamp()
The getEventTimestamp() method is used to get the event creation time.
Since:
1.0

setFailureCode

public void setFailureCode(java.lang.String failureCode)
The setFailureCode() method is used to set the failureCode.
Parameters:
failureCode - object.
Since:
1.0

getFailureCode

public java.lang.String getFailureCode()
The getFailureCode() method is used to get the failure code.
Since:
1.0

setHostId

public void setHostId(java.lang.String hostId)
The setHostId() method is used to set the Host ID.
Parameters:
hostId - object.
Since:
1.0

getHostId

public java.lang.String getHostId()
The getHostId() method is used to get the Host ID.
Since:
1.0

setHostingClientId

public void setHostingClientId(java.lang.String hostClientId)
Deprecated. The hostClientId attribute is no longer used
The setHostingClientId() method is used to set the Host Client ID.
Parameters:
hostClientId - object.
Since:
1.0

getHostingClientId

public java.lang.String getHostingClientId()
Deprecated. The hostClientId attribute is no longer used
The getHostingClientId() method is used to get the Host Client ID.
Since:
1.0

setHostNetworkAddr

public void setHostNetworkAddr(java.lang.String hostNetworkAddr)
The setHostNetworkAddr() method is used to set the Network Address of host generating the event.
Parameters:
hostNetworkAddr - object.
Since:
1.0

getHostNetworkAddr

public java.lang.String getHostNetworkAddr()
The getHostNetworkAddr() method is used to get the Network Address of host generating the event.
Since:
1.0

setModuleId

public void setModuleId(java.lang.String moduleId)
The setModuleId() method is used to set the module id.
Parameters:
moduleId - object.
Since:
1.0

getModuleId

public java.lang.String getModuleId()
The getModuleId() method is used to get the module id.
Since:
1.0

setInitiator

public void setInitiator(java.lang.String initiator)
The setInitiator() method is used to set the Initiator.
Parameters:
initiator - object.
Since:
1.0

getInitiator

public java.lang.String getInitiator()
The getInitiator() method is used to get the Initiator of the event.
Since:
1.0

setInitiatorDN

public void setInitiatorDN(java.lang.String DN)
Deprecated. 
Parameters:
DN - the Distinguished Name for the Initiator is any

setTargetDN

public void setTargetDN(java.lang.String DN)
Deprecated. 
Parameters:
DN - the Distinguished Name for the Target is any

setInstanceId

public void setInstanceId(java.lang.String instanceId)
The setInstanceId() method is used to set the Instance ID.
Parameters:
instanceId - String object.
Since:
1.0

getInstanceId

public java.lang.String getInstanceId()
The getInstanceId() method is used to get the Instance ID.
Since:
1.0

setOrganizationId

public void setOrganizationId(java.lang.String organizationId)
Deprecated. The organizationId attribute is no longer used
The setOrganizationId() method is used to set the Organization ID.
Parameters:
organizationId - object.
Since:
1.0

getOrganizationId

public java.lang.String getOrganizationId()
Deprecated. The organizationId attribute is no longer used
The getOrganizationId() method is used to get the Organization ID of the event.
Since:
1.0

setOracleHome

public void setOracleHome(java.lang.String oracleHome)
The setOracleHome() method is used to set the oracleHome.
Parameters:
oracleHome - object.
Since:
1.0

getOracleHome

public java.lang.String getOracleHome()
The getOracleHome() method is used to get the ORACLE HOME.
Since:
1.0

setOracleInstance

public void setOracleInstance(java.lang.String oracleInstance)
The setOracleInstance() method is used to set the oracleInstance.
Parameters:
oracleInstance - object.
Since:
1.0

getOracleInstance

public java.lang.String getOracleInstance()
The getOracleInstance() method is used to get the Oracle Intance.
Since:
1.0

setProcessId

public void setProcessId(java.lang.String processId)
The setProcessId() method is used to set the processId of the process generating the event.
Parameters:
processId - object.
Since:
1.0

getProcessId

public java.lang.String getProcessId()
The getProcessId() method is used to get the process ID of the process generating the event.
Since:
1.0

setEventStatus

public void setEventStatus(boolean status)
The setEventStatus() method is used to set the event status.
Parameters:
status - object.
Since:
1.0

getEventStatus

public boolean getEventStatus()
The getStatus() method is used to get the event status.
Since:
1.0

setMessageText

public void setMessageText(java.lang.String messageText)
The setMessageText() method is used to set the Supplemental Details.
Parameters:
messageText - object.
Since:
1.0

getMessageText

public java.lang.String getMessageText()
The getMessageText() method is used to get Supplemental Details.
Since:
1.0

setThreadId

public void setThreadId(java.lang.String threadId)
The setThreadId() method is used to set the Thread ID.
Parameters:
threadId - object.
Since:
1.0

getThreadId

public java.lang.String getThreadId()
The getThreadId() method is used to get the Thread ID.
Since:
1.0

setTransactionId

public void setTransactionId(java.lang.String transactionId)
The setTransactionId() method is used to set the Transaction ID.
Parameters:
transactionId - object.
Since:
1.0

getTransactionId

public java.lang.String getTransactionId()
The getTransactionId() method is used to get the Transaction ID.
Since:
1.0

setTargetComponentType

public void setTargetComponentType(java.lang.String targetComponentType)

getTargetComponentType

public java.lang.String getTargetComponentType()

setRemoteIP

public void setRemoteIP(java.lang.String value)

getRemoteIP

public java.lang.String getRemoteIP()

setTarget

public void setTarget(java.lang.String value)

getTarget

public java.lang.String getTarget()

setResource

public void setResource(java.lang.String value)

getResource

public java.lang.String getResource()

setRoles

public void setRoles(java.lang.String value)

getRoles

public java.lang.String getRoles()

getAttributeNames

public java.lang.String[] getAttributeNames()

setContextFields

public void setContextFields(java.lang.String contextFields)

getContextFields

public java.lang.String getContextFields()

getAttributes

public java.util.Map<java.lang.String,java.lang.Object> getAttributes()

setAttribute

public void setAttribute(java.lang.String attributeName,
                         java.lang.Object attributeValue)
The setAttribute() method is used to set a (attribute-name, attribute-value) pair.
Parameters:
attributeName - name of the attribute.
attributeValue - value of the attribute.
Since:
1.0

getAttribute

public java.lang.Object getAttribute(java.lang.String attributeName)
The getAttribute() method is used to get the value of an attribute with the given name.
Since:
1.0

setAttributeString

public void setAttributeString(java.lang.String attributeName,
                               java.lang.String attributeValue)
The setAttributeString() method is used to set a (attribute-name, attribute-value) pair.
Parameters:
attributeName - name of the attribute.
attributeValue - value of the attribute.
Since:
1.0

getAttributeString

public java.lang.String getAttributeString(java.lang.String attributeName)
The getAttributeString() method is used to get the value of an attribute with the given name.
Since:
1.0

setAttributeInt

public void setAttributeInt(java.lang.String attributeName,
                            int attributeValue)
The setAttributeInt() method is used to set a (attribute-name, attribute-value) pair.
Parameters:
attributeName - name of the attribute.
attributeValue - value of the attribute.
Since:
1.0

getAttributeInt

public int getAttributeInt(java.lang.String attributeName)
The getAttributeInt() method is used to get the value of an attribute with the given name.
Since:
1.0

setAttributeLong

public void setAttributeLong(java.lang.String attributeName,
                             long attributeValue)
The setAttributeLong() method is used to set a (attribute-name, attribute-value) pair.
Parameters:
attributeName - name of the attribute.
attributeValue - value of the attribute.
Since:
1.0

getAttributeLong

public long getAttributeLong(java.lang.String attributeName)
The getAttributeLong() method is used to get the value of an attribute with the given name.
Since:
1.0

setAttributeFloat

public void setAttributeFloat(java.lang.String attributeName,
                              float attributeValue)
The setAttributeFloat() method is used to set a (attribute-name, attribute-value) pair.
Parameters:
attributeName - name of the attribute.
attributeValue - value of the attribute.
Since:
1.0

getAttributeFloat

public float getAttributeFloat(java.lang.String attributeName)
The getAttributeFloat() method is used to get the value of an attribute with the given name.
Since:
1.0

setAttributeBoolean

public void setAttributeBoolean(java.lang.String attributeName,
                                boolean attributeValue)
The setAttributeBoolean() method is used to set a (attribute-name, attribute-value) pair.
Parameters:
attributeName - name of the attribute.
attributeValue - value of the attribute.
Since:
1.0

setAttributeBoolean

public void setAttributeBoolean(java.lang.String attributeName,
                                java.lang.Boolean attributeValue)
The setAttributeBoolean() method is used to set a (attribute-name, attribute-value) pair.
Parameters:
attributeName - name of the attribute.
attributeValue - value of the attribute.
Since:
1.0

getAttributeBoolean

public boolean getAttributeBoolean(java.lang.String attributeName)
The getAttributeBoolean() method is used to get the value of an attribute with the given name.
Since:
1.0

setAttributeDouble

public void setAttributeDouble(java.lang.String attributeName,
                               double attributeValue)
The setAttributeDouble() method is used to set a (attribute-name, attribute-value) pair.
Parameters:
attributeName - name of the attribute.
attributeValue - value of the attribute.
Since:
1.0

getAttributeDouble

public double getAttributeDouble(java.lang.String attributeName)
The getAttributeDouble() method is used to get the value of an attribute with the given name.
Since:
1.0

setAttributeDate

public void setAttributeDate(java.lang.String attributeName,
                             java.util.Date attributeValue)
The setAttributeDate() method is used to set a (attribute-name, attribute-value) pair.
Parameters:
attributeName - name of the attribute.
attributeValue - value of the attribute.
Since:
1.0

getAttributeDate

public java.util.Date getAttributeDate(java.lang.String attributeName)
The getAttributeDouble() method is used to get the value of an attribute with the given name.
Since:
1.0

setAttributeByteArray

public void setAttributeByteArray(java.lang.String attributeName,
                                  byte[] attributeValue)
The setAttributeByteArray method is used to set a (attribute-name, attribute-value) pair.
Parameters:
attributeName - name of the attribute.
attributeValue - value of the attribute.
Since:
1.0

getAttributeByteArray

public byte[] getAttributeByteArray(java.lang.Object attributeName)
The getAttributeByteArray() method is used to get the value of an attribute with the given name.
Since:
1.0

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E27155-01 ESAPI


Copyright © 2011,2012, Oracle and/or its affiliates. All rights reserved.