Class TemporaryCodeUtils


  • public class TemporaryCodeUtils
    extends java.lang.Object
    TemporaryCodeUtils
    • Method Detail

      • generateCode

        public static java.lang.String generateCode​(TemporaryCodeConfig config)
        Generate code
        Parameters:
        config -
        Returns:
        the code generated
      • addMinuteToDate

        public static java.sql.Timestamp addMinuteToDate​(TemporaryCodeConfig config)
        Add minute to date
        Parameters:
        config -
        Returns:
        timsestamp
      • buildJsonResponse

        public static java.lang.String buildJsonResponse​(fr.paris.lutece.util.json.AbstractJsonResponse jsonResponse)
        return a string containing the JSON flow
        Parameters:
        jsonResponse - the JSON Response Object
        Returns:
        return a string containing the JSON flow