psdi.app.signature.virtual

Class UserProfileTreeNodeCache.MessageMapper

  • java.lang.Object
    • java.util.AbstractMap
      • java.util.HashMap
        • psdi.app.signature.virtual.UserProfileTreeNodeCache.MessageMapper
    • Constructor Detail

      • MessageMapper

        public MessageMapper()
    • Method Detail

      • getUnTransalatedMessage

        public java.lang.String getUnTransalatedMessage(java.lang.String transVal)
        Returns the original or untranslated string from cache.
        Parameters:
        transVal -
        Returns:
        Untranslated message
      • getTransalatedMessage

        public java.lang.String getTransalatedMessage(java.lang.String errKey)
                                               throws java.rmi.RemoteException
        Gets the transalated message from the message cache. If message is not found in the cache the passed errKey is returned back
        Parameters:
        errKey -
        Returns:
        Translated message
        Throws:
        java.rmi.RemoteException
      • getTransalatedMessage

        public java.lang.String getTransalatedMessage(java.lang.String errGrp,
                                                      java.lang.String errKey)
                                               throws java.rmi.RemoteException
        Gets the transalated message from the message cache. If message is not found in the cache the passed errKey is returned back
        Parameters:
        errGrp - Error group
        errKey - Error key
        Returns:
        Translated message
        Throws:
        java.rmi.RemoteException