com.ibm.tivoli.maximo.interaction.process

Class InteractionUtil

  • java.lang.Object
    • com.ibm.tivoli.maximo.interaction.process.InteractionUtil


  • public class InteractionUtil
    extends java.lang.Object
    Base class for all Interaction Utilities
    • Field Detail

      • INTERACTION_LOGGER

        public static final java.lang.String INTERACTION_LOGGER
        MAXIMO INTERACTION logger for logging database SQL statements.
        See Also:
        Constant Field Values
      • INTERACTIONLOGGER

        public static final MXLogger INTERACTIONLOGGER
        The Interaction logger
      • INTERACTION_DIR

        public static final java.lang.String INTERACTION_DIR
        MAXIMO INTERACTION direcory to write files.
        See Also:
        Constant Field Values
      • INTERACTION

        public static final java.lang.String INTERACTION
        MAXIMO INTERACTION direcory to write files.
        See Also:
        Constant Field Values
      • MAXTYPE_DATETIME

        public static final java.lang.String MAXTYPE_DATETIME
        See Also:
        Constant Field Values
    • Constructor Detail

      • InteractionUtil

        public InteractionUtil()
    • Method Detail

      • getMaxType

        public static java.lang.String getMaxType(WSIOAttribute wsioAttr)
      • getFileName

        public static java.lang.String getFileName(java.lang.String inter,
                                                   java.lang.String name)
                                            throws MXException
        Get the full path and file name based on given message data.
        Parameters:
        inter - Interaction Name
        name - file Name
        Returns:
        Full path and file name of message file.
        Throws:
        MXException
      • reloadCache

        public static void reloadCache(WSIO optimizedRequest,
                                       WSIO optimizedResponse)
                                throws MXException,
                                       java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getMaxAttrDomainIds

        public static java.util.Set getMaxAttrDomainIds(java.lang.StringBuffer whereclause,
                                                        UserInfo userInfo)
                                                 throws MXException,
                                                        java.rmi.RemoteException
        Get all DomainIDs from MaxAttributeCfg before deleting Objects and Attributes.
        Parameters:
        whereclause - Where clause that contains list of objects to be deleted
        userInfo - logged in UserInfo Object
        Throws:
        MXException - - MAXIMO exception
        java.rmi.RemoteException - - Remote exception
      • getWsioRelationsWhere

        public static java.lang.StringBuffer getWsioRelationsWhere(WSIO wsio,
                                                                   java.lang.StringBuffer where)
                                                            throws MXException,
                                                                   java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getObjectsWhere

        public static java.lang.StringBuffer getObjectsWhere(WSIO wsio,
                                                             java.lang.StringBuffer where)
                                                      throws MXException,
                                                             java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getIntrRelationsWhere

        public static java.lang.StringBuffer getIntrRelationsWhere(WSIO wsio,
                                                                   InteractionInfo interactionInfo,
                                                                   boolean isReq)
                                                            throws MXException,
                                                                   java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getDomainsWhere

        public static java.lang.StringBuffer getDomainsWhere(java.util.Set domHashSet)
                                                      throws MXException,
                                                             java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getDomainListWhere

        public static java.lang.StringBuffer getDomainListWhere(java.util.Set domHashSet,
                                                                java.lang.StringBuffer buf)
                                                         throws MXException,
                                                                java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException