public interface QueriableLoggerService
| Modifier and Type | Method and Description |
|---|---|
SQueriableLog |
getLog(long logId)
Get the queriable log from its id.
|
List<SQueriableLog> |
getLogs(int startIndex,
int maxResults,
String field,
OrderByType order)
Get the queriable logs having the given value for the given int index
|
long |
getNumberOfLogs()
Get total number of queriable logs
|
long |
getNumberOfLogs(QueryOptions searchOptions)
Gets the queriable logs number matching to the given QueryOptions.
|
boolean |
isLoggable(String actionType,
SQueriableLogSeverity severity)
Verify if the given action type and severity are loggable
|
void |
log(String callerClassName,
String callerMethodName,
SQueriableLog... queriableLogs)
Log the given queriable logs.
|
List<SQueriableLog> |
searchLogs(QueryOptions searchOptions)
Gets the queriable logs matching to the given searchOptions.
|
void log(String callerClassName, String callerMethodName, SQueriableLog... queriableLogs)
queriableLogs - boolean isLoggable(String actionType, SQueriableLogSeverity severity)
actionType - the action typeseverity - the severitySQueriableLog getLog(long logId) throws SQueriableLogNotFoundException, SBonitaReadException
logId - SQueriableLogExceptionSQueriableLogNotFoundExceptionSBonitaReadExceptionlong getNumberOfLogs()
throws SBonitaReadException
SBonitaReadExceptionList<SQueriableLog> getLogs(int startIndex, int maxResults, String field, OrderByType order) throws SBonitaReadException
fromIndex - first result to be considered(>=0)numberOfLogs - the max number of queriable logs to be returned (>=0)field - order - SQueriableLogExceptionSBonitaReadExceptionlong getNumberOfLogs(QueryOptions searchOptions) throws SBonitaReadException
QueryOptions - The criterion used to search sQueriableLogSBonitaReadExceptionList<SQueriableLog> searchLogs(QueryOptions searchOptions) throws SBonitaReadException
searchOptions - The criterion used to search sQueriableLogSBonitaReadExceptionCopyright © 2018 Bonitasoft S.A.. All rights reserved.