程序包 | 说明 |
---|---|
org.olat.lms.activitylogging |
The logging frameworks which traks user actitivities is thread local based and be default write the data to
the database table "o_logging" but if you have a lot of users this table can grow very fast and need an solution to get collect and
analyze the data to shrink the table again.
|
org.olat.presentation.framework.core.control |
限定符和类型 | 类和说明 |
---|---|
class |
CoreLoggingResourceable
Core implementation for LoggingResourceable - i.e. contains those LoggingResourceables that are known in the olatcore.
|
class |
LoggingResourceable
A LoggingResourceable is the least common denominator between an OlatResourceable, an OlatResource, a RepositoryEntry and simple Strings - all of which want to be used
as (greatGrandParent,grandParent,parent,target) resourcs in the logging table.
|
限定符和类型 | 方法和说明 |
---|---|
void |
UserActivityLoggerImpl.addLoggingResourceInfo(ILoggingResourceable loggingResourceable) |
static void |
ThreadLocalUserActivityLogger.addLoggingResourceInfo(ILoggingResourceable resourceInfo)
Adds the given LoggingResourceInfo to the ThreadLocalUserActivityLogger.
|
void |
IUserActivityLogger.addLoggingResourceInfo(ILoggingResourceable resourceInfo)
Adds the given LoggingResourceable - which can be thought of as a simple wrapper around say an ICourse, a Node or in other cases just a String - to this
IUserActivityLogger permanently.
|
ReturnValue<LoggingObject> |
UserActivityLoggerImpl.log(ILoggingAction loggingAction,
java.lang.Class<?> callingClass,
ILoggingResourceable... lriOrNull) |
static void |
ThreadLocalUserActivityLogger.log(ILoggingAction loggingAction,
java.lang.Class<?> callingClass,
ILoggingResourceable... loggingResourceables)
Issues a log entry to the logging database based on the given loggingAction and the loggingResourceables.
|
ReturnValue<LoggingObject> |
IUserActivityLogger.log(ILoggingAction loggingAction,
java.lang.Class<?> callingClass,
ILoggingResourceable... loggingResourceInfosOrNull)
Stores a new log entry with the available information to the logging table.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
ResourceableTypeList.executeCheckAndGetErrorMessage(java.util.List<ILoggingResourceable> resourceInfos)
Executes the businessPath check on this list - this includes taking into account any or()-ed sublists.
|
限定符和类型 | 方法和说明 |
---|---|
void |
DefaultController.addLoggingResourceable(ILoggingResourceable loggingResourceable)
Add a LoggingResourceable (e.g. a wrapped Course or a wrapped name of a CP file) to this Controller's IUserActivityLogger.
|