Class PeriodicErrorManager

java.lang.Object
ru.bitel.bgbilling.kernel.admin.errorlog.server.bean.PeriodicErrorManager

public class PeriodicErrorManager extends Object
  • Field Details

    • MAX_ERROR_PARAM

      public static String MAX_ERROR_PARAM
  • Constructor Details

    • PeriodicErrorManager

      public PeriodicErrorManager(Connection con)
  • Method Details

    • initErrorMessage

      public void initErrorMessage(int mid, String moduleName, String marker, Date calcDate)
    • isCapReached

      public boolean isCapReached()
    • addErrorToList

      public void addErrorToList(String errorSubj, String errorText)
    • addErrorToList

      public void addErrorToList(String errorSubj, String errorText, Exception ex)
    • getCounter

      public int getCounter()
    • processErrors

      public void processErrors()
    • deleteErrorsByMarker

      public void deleteErrorsByMarker(String marker, Date recalcTime)
    • getErrors

      public void getErrors(SearchResult<PeriodicProcessErrorMessage> searchResult, Date month, String contains)
    • deleteErrorsByIds

      public boolean deleteErrorsByIds(List<Integer> ids) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getErrorCount

      public int getErrorCount(Date month)