Class RegisterProblemManager

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

public class RegisterProblemManager extends Object
  • Constructor Details

    • RegisterProblemManager

      public RegisterProblemManager(Connection con)
  • Method Details

    • updateProblem

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

      public void clearProblemHistory(int id) throws SQLException
      Throws:
      SQLException
    • getProblemHistory

      public List<RegisterProblem> getProblemHistory(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getHistoryEntry

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

      public void updateProblemExecutors(RegisterProblem ri, String groupExecutors) throws SQLException
      Throws:
      SQLException
    • deleteProblem

      public void deleteProblem(int id)
    • getProblemByID

      public RegisterProblem getProblemByID(int id)
    • getNotClosedProblems

      public List<RegisterProblem> getNotClosedProblems()
    • searchList

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

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

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

      public List<RegisterProblem> getActiveProblemList(int periodInDays, List<Integer> statusList, List<Integer> groupIdList, List<Integer> urgencyList, int limit)
    • loadRegisterCall

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

      public void loadExecutorList(List<RegisterProblem> registerProblemList)
    • getRegisterProblemIds

      public List<Integer> getRegisterProblemIds(List<RegisterProblem> registerProblemList)
    • getSubjectsMap

      public HashMap<Integer,String> getSubjectsMap()
    • addGroup

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

      public List<String> getProblemUsedGroups(int registerItemID)
    • getStatusMap

      public static Map<Integer,String> getStatusMap(String values)
    • getStatusList

      public static List<IdTitle> getStatusList(String values)