public class RegisterProblemManager
extends java.lang.Object
Constructor and Description |
---|
RegisterProblemManager(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
void |
addGroup(int registerItemID,
int groupID) |
void |
clearProblemHistory(int id) |
void |
deleteProblem(int id) |
java.util.List<RegisterProblem> |
getActiveProblemList(int period)
Deprecated.
|
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) |
java.util.List<RegisterProblem> |
getActiveProblemListForContract(int contractId) |
RegisterProblem |
getHistoryEntry(int id,
long time) |
java.util.List<RegisterProblem> |
getNotClosedProblems() |
RegisterProblem |
getProblemByID(int id) |
java.util.List<RegisterProblem> |
getProblemHistory(int id) |
java.util.List<java.lang.String> |
getProblemUsedGroups(int registerItemID) |
java.util.List<java.lang.Integer> |
getRegisterProblemIds(java.util.List<RegisterProblem> registerProblemList) |
static java.util.List<ListItem> |
getStatusList(java.lang.String values) |
static java.util.Map<java.lang.Integer,java.lang.String> |
getStatusMap(java.lang.String values) |
java.util.HashMap<java.lang.Integer,java.lang.String> |
getSubjectsMap() |
void |
loadExecutorList(java.util.List<RegisterProblem> registerProblemList) |
void |
loadRegisterCall(java.util.List<RegisterProblem> registerProblemList)
загрузка звонков
|
void |
searchList(SearchResult<RegisterProblem> searchResult,
Period[] periods) |
void |
updateProblem(RegisterProblem problem,
int userId) |
void |
updateProblemExecutors(RegisterProblem ri,
java.lang.String groupExecutors) |
public void updateProblem(RegisterProblem problem, int userId)
problem
- public void clearProblemHistory(int id) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<RegisterProblem> getProblemHistory(int id) throws java.sql.SQLException
java.sql.SQLException
public RegisterProblem getHistoryEntry(int id, long time)
public void updateProblemExecutors(RegisterProblem ri, java.lang.String groupExecutors) throws java.sql.SQLException
java.sql.SQLException
public void deleteProblem(int id)
public RegisterProblem getProblemByID(int id)
public java.util.List<RegisterProblem> getNotClosedProblems()
public void searchList(SearchResult<RegisterProblem> searchResult, Period[] periods)
public java.util.List<RegisterProblem> getActiveProblemList(int period)
period
- public java.util.List<RegisterProblem> getActiveProblemListForContract(int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
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)
public void loadRegisterCall(java.util.List<RegisterProblem> registerProblemList)
public void loadExecutorList(java.util.List<RegisterProblem> registerProblemList)
public java.util.List<java.lang.Integer> getRegisterProblemIds(java.util.List<RegisterProblem> registerProblemList)
public java.util.HashMap<java.lang.Integer,java.lang.String> getSubjectsMap()
public void addGroup(int registerItemID, int groupID)
public java.util.List<java.lang.String> getProblemUsedGroups(int registerItemID)
public static java.util.Map<java.lang.Integer,java.lang.String> getStatusMap(java.lang.String values)
public static java.util.List<ListItem> getStatusList(java.lang.String values)