public abstract class AbstractQueriableLoggerImpl extends Object implements org.bonitasoft.engine.services.QueriableLoggerService
| Modifier and Type | Field and Description |
|---|---|
protected org.bonitasoft.engine.log.technical.TechnicalLoggerService |
logger |
| Constructor and Description |
|---|
AbstractQueriableLoggerImpl(org.bonitasoft.engine.services.PersistenceService persistenceService,
org.bonitasoft.engine.services.QueriableLoggerStrategy loggerStrategy,
org.bonitasoft.engine.services.QueriableLogSessionProvider sessionProvider,
PlatformService platformService,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger) |
| Modifier and Type | Method and Description |
|---|---|
org.bonitasoft.engine.queriablelogger.model.SQueriableLog |
getLog(long logId) |
List<org.bonitasoft.engine.queriablelogger.model.SQueriableLog> |
getLogs(int startIndex,
int maxResults,
String field,
org.bonitasoft.engine.persistence.OrderByType order) |
int |
getNumberOfLogs() |
long |
getNumberOfLogs(org.bonitasoft.engine.persistence.QueryOptions searchOptions) |
protected org.bonitasoft.engine.services.PersistenceService |
getPersitenceService() |
protected org.bonitasoft.engine.services.QueriableLoggerStrategy |
getQueriableLogConfiguration() |
boolean |
isLoggable(String actionType,
org.bonitasoft.engine.queriablelogger.model.SQueriableLogSeverity severity) |
protected abstract void |
log(List<org.bonitasoft.engine.queriablelogger.model.SQueriableLog> loggableLogs) |
void |
log(String callerClassName,
String callerMethodName,
org.bonitasoft.engine.queriablelogger.model.SQueriableLog... queriableLogs) |
List<org.bonitasoft.engine.queriablelogger.model.SQueriableLog> |
searchLogs(org.bonitasoft.engine.persistence.QueryOptions searchOptions) |
protected final org.bonitasoft.engine.log.technical.TechnicalLoggerService logger
public AbstractQueriableLoggerImpl(org.bonitasoft.engine.services.PersistenceService persistenceService,
org.bonitasoft.engine.services.QueriableLoggerStrategy loggerStrategy,
org.bonitasoft.engine.services.QueriableLogSessionProvider sessionProvider,
PlatformService platformService,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger)
public int getNumberOfLogs()
throws org.bonitasoft.engine.services.SQueriableLogException
getNumberOfLogs in interface org.bonitasoft.engine.services.QueriableLoggerServiceorg.bonitasoft.engine.services.SQueriableLogExceptionpublic List<org.bonitasoft.engine.queriablelogger.model.SQueriableLog> getLogs(int startIndex, int maxResults, String field, org.bonitasoft.engine.persistence.OrderByType order) throws org.bonitasoft.engine.services.SQueriableLogException
getLogs in interface org.bonitasoft.engine.services.QueriableLoggerServiceorg.bonitasoft.engine.services.SQueriableLogExceptionpublic long getNumberOfLogs(org.bonitasoft.engine.persistence.QueryOptions searchOptions)
throws org.bonitasoft.engine.persistence.SBonitaSearchException
getNumberOfLogs in interface org.bonitasoft.engine.services.QueriableLoggerServiceorg.bonitasoft.engine.persistence.SBonitaSearchExceptionpublic List<org.bonitasoft.engine.queriablelogger.model.SQueriableLog> searchLogs(org.bonitasoft.engine.persistence.QueryOptions searchOptions) throws org.bonitasoft.engine.persistence.SBonitaSearchException
searchLogs in interface org.bonitasoft.engine.services.QueriableLoggerServiceorg.bonitasoft.engine.persistence.SBonitaSearchExceptionpublic void log(String callerClassName, String callerMethodName, org.bonitasoft.engine.queriablelogger.model.SQueriableLog... queriableLogs)
log in interface org.bonitasoft.engine.services.QueriableLoggerServiceprotected abstract void log(List<org.bonitasoft.engine.queriablelogger.model.SQueriableLog> loggableLogs)
public boolean isLoggable(String actionType, org.bonitasoft.engine.queriablelogger.model.SQueriableLogSeverity severity)
isLoggable in interface org.bonitasoft.engine.services.QueriableLoggerServiceprotected org.bonitasoft.engine.services.PersistenceService getPersitenceService()
protected org.bonitasoft.engine.services.QueriableLoggerStrategy getQueriableLogConfiguration()
public org.bonitasoft.engine.queriablelogger.model.SQueriableLog getLog(long logId)
throws org.bonitasoft.engine.services.SQueriableLogNotFoundException,
org.bonitasoft.engine.services.SQueriableLogException
getLog in interface org.bonitasoft.engine.services.QueriableLoggerServiceorg.bonitasoft.engine.services.SQueriableLogNotFoundExceptionorg.bonitasoft.engine.services.SQueriableLogExceptionCopyright © 2014 Bonitasoft S.A.. All rights reserved.