Class NotificationStoreUtils


  • public class NotificationStoreUtils
    extends java.lang.Object
    GrusupplyUtils
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String convertToJsonString​(java.lang.Object object)
      Method that can be used to serialize any Java value as a String
      static fr.paris.lutece.util.ReferenceList getEnumGenericStatusRefList()
      Return an reference list of GenericStatus (Code = name of enum and Name = label of enum)
      static com.fasterxml.jackson.databind.ObjectMapper getMapper()
      convert json to Status object
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NotificationStoreUtils

        public NotificationStoreUtils()
    • Method Detail

      • convertToJsonString

        public static java.lang.String convertToJsonString​(java.lang.Object object)
        Method that can be used to serialize any Java value as a String
        Parameters:
        object -
        Returns:
      • getMapper

        public static com.fasterxml.jackson.databind.ObjectMapper getMapper()
        convert json to Status object
        Parameters:
        strStatus -
        class1 -
        Returns:
        a status
      • getEnumGenericStatusRefList

        public static fr.paris.lutece.util.ReferenceList getEnumGenericStatusRefList()
        Return an reference list of GenericStatus (Code = name of enum and Name = label of enum)
        Returns:
        Return an reference list of GenericStatu