Class LogMessageHelper

java.lang.Object
overit.geocallapp.wfm.forecastcapacity.bl.util.LogMessageHelper
All Implemented Interfaces:
Serializable

public class LogMessageHelper extends Object implements Serializable
The utility class that provides commonly usable methods for the forecast capacity management log.
Since:
15.0
See Also:
  • Field Details

    • FORECAST_LOG0001

      public static final Code FORECAST_LOG0001
    • FORECAST_LOG0002

      public static final Code FORECAST_LOG0002
    • FORECAST_LOG0003

      public static final Code FORECAST_LOG0003
    • FORECAST_LOG0004

      public static final Code FORECAST_LOG0004
    • FORECAST_LOG0005

      public static final Code FORECAST_LOG0005
    • FORECAST_LOG0006

      public static final Code FORECAST_LOG0006
    • FORECAST_LOG0007

      public static final Code FORECAST_LOG0007
    • FORECAST_LOG0008

      public static final Code FORECAST_LOG0008
    • FORECAST_LOG0009

      public static final Code FORECAST_LOG0009
    • FORECAST_LOG0010

      public static final Code FORECAST_LOG0010
    • FORECAST_LOG0011

      public static final Code FORECAST_LOG0011
    • FORECAST_LOG0012

      public static final Code FORECAST_LOG0012
    • FORECAST_LOG0013

      public static final Code FORECAST_LOG0013
    • FORECAST_LOG0014

      public static final Code FORECAST_LOG0014
    • FORECAST_LOG0015

      public static final Code FORECAST_LOG0015
    • FORECAST_LOG0016

      public static final Code FORECAST_LOG0016
    • FORECAST_LOG0017

      public static final Code FORECAST_LOG0017
    • FORECAST_LOG0018

      public static final Code FORECAST_LOG0018
    • FORECAST_LOG0019

      public static final Code FORECAST_LOG0019
    • FORECAST_LOG0020

      public static final Code FORECAST_LOG0020
    • logMessage

      protected static LogMessageHelper logMessage
    • teacherDuty

      protected TeacherDuty teacherDuty
  • Constructor Details

    • LogMessageHelper

      public LogMessageHelper()
  • Method Details

    • getInstance

      public static LogMessageHelper getInstance(Teacher teacher)
    • getInstance

      public static LogMessageHelper getInstance()
    • setTeacher

      public void setTeacher(Teacher teacher)
      Sets the teacher duty.
      Parameters:
      teacher - the teacher
    • getCodedMessage

      public String getCodedMessage(Code code)
      Returns the coded translated message.
      Parameters:
      code - the code
      Returns:
      the coded message
    • getCodedMessage

      public String getCodedMessage(Code code, Object[] params)
      Returns the coded translated message with the given parameters.
      Parameters:
      code - the code
      params - the message parameters
      Returns:
      the coded message