Class RegisterProblemManager

java.lang.Object
ru.bitel.bgbilling.plugins.crm.server.dao.RegisterProblemManager

public class RegisterProblemManager
extends java.lang.Object
  • Constructor Details

    • RegisterProblemManager

      public RegisterProblemManager​(java.sql.Connection con)
  • Method Details

    • updateProblem

      public void updateProblem​(RegisterProblem problem, int userId)
      Parameters:
      problem -
    • clearProblemHistory

      public void clearProblemHistory​(int id) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • getProblemHistory

      public java.util.List<RegisterProblem> getProblemHistory​(int id) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • getHistoryEntry

      public RegisterProblem getHistoryEntry​(int id, long time)
    • updateProblemExecutors

      public void updateProblemExecutors​(RegisterProblem ri, java.lang.String groupExecutors) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • deleteProblem

      public void deleteProblem​(int id)
    • getProblemByID

      public RegisterProblem getProblemByID​(int id)
    • getNotClosedProblems

      public java.util.List<RegisterProblem> getNotClosedProblems()
    • searchList

      public void searchList​(SearchResult<RegisterProblem> searchResult, Period[] periods)
    • getActiveProblemList

      public java.util.List<RegisterProblem> getActiveProblemList​(int period)
      Deprecated.
      Parameters:
      period -
      Returns:
    • getActiveProblemListForContract

      public java.util.List<RegisterProblem> getActiveProblemListForContract​(int contractId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getActiveProblemList

      public java.util.List<RegisterProblem> getActiveProblemList​(int periodInDays, java.util.List<java.lang.Integer> statusList, java.util.List<java.lang.Integer> groupIdList, java.util.List<java.lang.Integer> urgencyList, int limit)
    • loadRegisterCall

      public void loadRegisterCall​(java.util.List<RegisterProblem> registerProblemList)
      загрузка звонков
    • loadExecutorList

      public void loadExecutorList​(java.util.List<RegisterProblem> registerProblemList)
    • getRegisterProblemIds

      public java.util.List<java.lang.Integer> getRegisterProblemIds​(java.util.List<RegisterProblem> registerProblemList)
    • getSubjectsMap

      public java.util.HashMap<java.lang.Integer,​java.lang.String> getSubjectsMap()
    • addGroup

      public void addGroup​(int registerItemID, int groupID)
    • getProblemUsedGroups

      public java.util.List<java.lang.String> getProblemUsedGroups​(int registerItemID)
    • getStatusMap

      public static java.util.Map<java.lang.Integer,​java.lang.String> getStatusMap​(java.lang.String values)
    • getStatusList

      public static java.util.List<ListItem> getStatusList​(java.lang.String values)