com.ibm.itim.workflow.model
Class I18NInformationEventAudit

java.lang.Object
  |
  +--com.ibm.itim.workflow.model.EventAudit
        |
        +--com.ibm.itim.workflow.model.I18NInformationEventAudit
All Implemented Interfaces:
java.io.Serializable

public class I18NInformationEventAudit
extends EventAudit

Class representing an auditable information event in the workflow engine.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.itim.workflow.model.EventAudit
ACTIVITY_ASSIGNMENT_CHANGED, ACTIVITY_CREATED, ACTIVITY_DATA, ACTIVITY_ESCALATION_PARTICIPANT_RESOLVE_FAIL, ACTIVITY_ESCALATION_TIME_OUT, ACTIVITY_PARTICIPANT_RESOLVE_FAIL, ACTIVITY_STATE_CHANGED, ACTIVITY_TIME_OUT, COMPLETE_MANUAL_ACTIVITY, INFORMATION, PASSWORD_PICKUP, PROCESS_INITIAL_DATA, PROCESS_PARTCIPANT_RESOLVE_FAIL, PROCESS_STATE_CHANGED, PROCESS_TIME_OUT, PROCESS_USER_CHANGED_DATA
 
Constructor Summary
I18NInformationEventAudit(java.lang.String infoKey, java.lang.Object[] tokenValues)
          Constructs the object with translated audit information with a information key and an array of message parameters.
 
Method Summary
 java.lang.String getInfo()
          Method will return the audit information for Locale.US.
 java.lang.String getInfo(java.util.Locale locale)
           
 java.lang.String getInfoId()
          This method returns the information identifier for this audit information
 java.lang.String getLocalizedMessage()
          Method will return audit information for the default locale.
 java.lang.Object[] getTokens()
          This method will get the Object[] of tokens which are used in the localized message.
static java.lang.String normalize(java.lang.String s, boolean canonical)
          Normalizes the given string.
 java.lang.String toXML()
          Returns a XML representation of this exception message and parameters that can be localized in the ITIM UI.
 
Methods inherited from class com.ibm.itim.workflow.model.EventAudit
getActivityId, getEventType, getId, getProcessId, getTimeStamp, setActivityId, setEventType, setId, setProcessId, setTimeStamp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I18NInformationEventAudit

public I18NInformationEventAudit(java.lang.String infoKey,
                                 java.lang.Object[] tokenValues)
Constructs the object with translated audit information with a information key and an array of message parameters.

Parameters:
infoKey - string identifier of Audit detail.
tokenValues - Object[] containing string values for replaceable tokens in the message bundle string.
Method Detail

getInfoId

public java.lang.String getInfoId()
This method returns the information identifier for this audit information

Returns:
the message identifier for this exception

getTokens

public java.lang.Object[] getTokens()
This method will get the Object[] of tokens which are used in the localized message.

Returns:
Object[] with message token values.

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Method will return audit information for the default locale.

Returns:
formatted, internationalized audit message using the information key and token values defined in an object of this class.

getInfo

public java.lang.String getInfo()
Method will return the audit information for Locale.US.

Returns:
formatted, internationalized audit information using the info id and token values defined in an object of this class.
See Also:
Locale.US

getInfo

public java.lang.String getInfo(java.util.Locale locale)

toXML

public java.lang.String toXML()
Returns a XML representation of this exception message and parameters that can be localized in the ITIM UI.

Returns:
The formatted XML message.

normalize

public static java.lang.String normalize(java.lang.String s,
                                         boolean canonical)
Normalizes the given string.



IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.