com.ibm.itim.workflow.model

Class I18NInformationEventAudit

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    DeferWorkItemEventAudit


    public class I18NInformationEventAudit
    extends EventAudit
    Class representing an auditable information event in the workflow engine.
    See Also:
    Serialized Form
    • Constructor Detail

      • I18NInformationEventAudit

        public I18NInformationEventAudit(java.lang.String string)
        Constructs an I18NInformationEventAudit from the specified string.
        Parameters:
        string - String from which the I18NInformationEventAudit should be constructed.
      • 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)
      • getNoAdditionalAuditing

        public boolean getNoAdditionalAuditing()
        Returns an indication as to whether additional auditing should be performed.
        Returns:
        true if additional auditing should not be performed; false if additional auditing should be performed.
      • setNoAdditionalAuditing

        public void setNoAdditionalAuditing(boolean noAdditionalAuditing)
        Sets an indication as to whether additional auditing should be performed.
        Parameters:
        noAdditionalAuditing - Indicates whether additional auditing should be performed.
      • 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.