Class MxConnFunctions


  • public final class MxConnFunctions
    extends java.lang.Object
    This class provides utility functions that can be used inside scripts.
    Since:
    7.1
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getSynonymKey​(java.lang.String domainId, java.lang.String synonymValue)
      Returns the synonym key for a given value.
      java.lang.String getSynonymValue​(java.lang.String domainId, java.lang.String synonymKey)
      Returns the synonym value for a given key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSynonymKey

        public java.lang.String getSynonymKey​(java.lang.String domainId,
                                              java.lang.String synonymValue)
                                       throws MxConnectorException
        Returns the synonym key for a given value.
        Parameters:
        domainId - domain ID
        synonymValue - value associated with the synonym key
        Returns:
        synonym key for a given value or null if the domain ID does not exist
        Throws:
        MxConnectorException - if it is not possible obtain the synonym domain from Maximo
      • getSynonymValue

        public java.lang.String getSynonymValue​(java.lang.String domainId,
                                                java.lang.String synonymKey)
                                         throws MxConnectorException
        Returns the synonym value for a given key.
        Parameters:
        domainId - domain ID
        synonymKey - key associated with the synonym value
        Returns:
        synonym value for a given key or null if the domain ID does not exist
        Throws:
        MxConnectorException - if it is not possible obtain the synonym domain from Maximo