public interface QueriableLoggerService
| Modifier and Type | Method and Description |
|---|---|
SQueriableLog |
getLog(long logId)
Get the queriable log from its id.
|
java.util.List<SQueriableLog> |
getLogs(int startIndex,
int maxResults,
java.lang.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(java.lang.String actionType,
SQueriableLogSeverity severity)
Verify if the given action type and severity are loggable
|
void |
log(java.lang.String callerClassName,
java.lang.String callerMethodName,
SQueriableLog... queriableLogs)
Log the given queriable logs.
|
java.util.List<SQueriableLog> |
searchLogs(QueryOptions searchOptions)
Gets the queriable logs matching to the given searchOptions.
|
void log(java.lang.String callerClassName,
java.lang.String callerMethodName,
SQueriableLog... queriableLogs)
queriableLogs - boolean isLoggable(java.lang.String actionType,
SQueriableLogSeverity severity)
actionType - the action typeseverity - the severitySQueriableLog getLog(long logId) throws SQueriableLogNotFoundException, SBonitaReadException
logId - SQueriableLogExceptionSQueriableLogNotFoundExceptionSBonitaReadExceptionlong getNumberOfLogs()
throws SBonitaReadException
SBonitaReadExceptionjava.util.List<SQueriableLog> getLogs(int startIndex, int maxResults, java.lang.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 sQueriableLogSBonitaReadExceptionjava.util.List<SQueriableLog> searchLogs(QueryOptions searchOptions) throws SBonitaReadException
searchOptions - The criterion used to search sQueriableLogSBonitaReadException