com.ibm.tivoli.maximo.report.cognos.metadata.adapter

Class CognosExternalExit



  • public class CognosExternalExit
    extends ExternalExit

    This is the outbound processing class that will be called by the integration framework outbound invocation (Publish or Invocation channel). It is responsible for transforming Maximo Object Structure to Cognos Action Logs. The class doesn't implement the transformation logic. It depends on ActionLogBuilder for doing this mapping. Therefore, the class main role is to wrap the ActionLogBuilder as an outbound invocation Processing class.

    There are some Maximo properties that must be set in the System Properties application before running the invocation channel because this class relies on them. These properties will be part of the generated Cognos action logs. Properties are:

    1. DatabaseType - Maximo database type. For example: "DB2".
    2. DatabaseName - Maximo database Name. For example: "MAXDB71". NOTE: only needed for SQL Server database.
    3. SchemaName - Maximo schema name. For example: "MAXIMO"

    See Also:
    ActionLogBuilder}
    • Constructor Detail

      • CognosExternalExit

        public CognosExternalExit()
    • Method Detail

      • setDataOut

        public StructureData setDataOut(StructureData userExitData)
                                 throws MXException,
                                        java.rmi.RemoteException
        Convert Maximo Object Structure to Cognos Action Logs using the ActionLogBuilder class.
        Overrides:
        setDataOut in class ExternalExit
        Parameters:
        userExitData - Maximo Object Structure as StructureData object.
        Returns:
        Cognos action logs as StructureData object.
        Throws:
        MXException - if transformation failed.
        java.rmi.RemoteException