Package overit.geocallapp.logger.bl
Class LogHelper
java.lang.Object
overit.geocallapp.logger.bl.LogHelper
- All Implemented Interfaces:
Serializable
Log utility class for generate and save logs.
This class is a new implementation of WfmTaskLog.
This class is a new implementation of WfmTaskLog.
- Since:
- 20.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static LogHelpergetExceptionMessage(Exception exception) protected TeachervoidvoidvoidincrementProcessedRecords(int processed) voidvoidincrementSuccessRecords(int successes) voidvoidinitialize(Long logType, Long writingMode) voidvoidprotected voidlog(BOLogDetail detail) voidvoidvoidvoidvoidvoidlogWarning(String message) voidlogWarning(String message, Integer row) voidlogWarning(String message, Integer row, String messageDetail) voidopen()voidsetErrorRecords(int errors) voidsetInputResourceUUID(String uuid) voidsetOutputResourceUUID(String uuid) voidsetProcessedRecords(int processed) voidsetSuccessRecords(int successes) voidsetWritingMode(Long writingMode) voidupdateDescription(String description)
-
Field Details
-
logMaster
-
teacherDuty
-
writingMode
-
-
Constructor Details
-
LogHelper
public LogHelper()
-
-
Method Details
-
getTeacher
-
getLogMaster
-
getLogDetails
-
getWritingMode
-
setWritingMode
-
create
-
initialize
-
open
- Throws:
DAValidateExceptionDAException
-
initCounter
public void initCounter() -
setProcessedRecords
public void setProcessedRecords(int processed) -
incrementProcessedRecords
public void incrementProcessedRecords(int processed) -
incrementProcessedRecords
public void incrementProcessedRecords() -
incrementErrorRecords
public void incrementErrorRecords() -
setErrorRecords
public void setErrorRecords(int errors) -
setSuccessRecords
public void setSuccessRecords(int successes) -
incrementSuccessRecords
public void incrementSuccessRecords(int successes) -
incrementSuccessRecords
public void incrementSuccessRecords() -
setInputResourceUUID
-
setOutputResourceUUID
-
updateDescription
-
logError
- Throws:
DAExceptionDAValidateException
-
logError
- Throws:
DAExceptionDAValidateException
-
logError
- Throws:
DAExceptionDAValidateException
-
logError
- Throws:
DAExceptionDAValidateException
-
logError
public void logError(String message, Integer row, String messageDetail) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
logWarning
- Throws:
DAExceptionDAValidateException
-
logWarning
- Throws:
DAExceptionDAValidateException
-
logWarning
public void logWarning(String message, Integer row, String messageDetail) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
log
- Throws:
DAExceptionDAValidateException
-
log
- Throws:
DAExceptionDAValidateException
-
log
- Throws:
DAExceptionDAValidateException
-
close
- Throws:
DAExceptionDAValidateException
-
getExceptionMessage
-