public class PeriodicErrorManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAX_ERROR_PARAM |
Constructor and Description |
---|
PeriodicErrorManager(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
void |
addErrorToList(java.lang.String errorSubj,
java.lang.String errorText) |
void |
addErrorToList(java.lang.String errorSubj,
java.lang.String errorText,
java.lang.Exception ex) |
boolean |
deleteErrorsByIds(java.lang.String ids) |
void |
deleteErrorsByMarker(java.lang.String marker,
java.util.Date recalcTime) |
int |
getCounter() |
int |
getErrorCount(java.util.Date month) |
java.util.List<PeriodicProcessErrorMessage> |
getErrors(java.util.Date month,
Period regPeriod,
Page page,
java.lang.String contains) |
void |
initErrorMessage(int mid,
java.lang.String moduleName,
java.lang.String marker,
java.util.Date calcDate) |
boolean |
isCapReached() |
void |
processErrors() |
public void initErrorMessage(int mid, java.lang.String moduleName, java.lang.String marker, java.util.Date calcDate)
public boolean isCapReached()
public void addErrorToList(java.lang.String errorSubj, java.lang.String errorText)
public void addErrorToList(java.lang.String errorSubj, java.lang.String errorText, java.lang.Exception ex)
public int getCounter()
public void processErrors()
public void deleteErrorsByMarker(java.lang.String marker, java.util.Date recalcTime)
public java.util.List<PeriodicProcessErrorMessage> getErrors(java.util.Date month, Period regPeriod, Page page, java.lang.String contains)
public boolean deleteErrorsByIds(java.lang.String ids)
public int getErrorCount(java.util.Date month)