Examples of IUserActivityLogger


Examples of org.olat.core.logging.activity.IUserActivityLogger

   * <p>
   * The actual action is to set the session.
   * @param req the UserRequest from which the session is fetched
   */
  protected void setLoggingUserRequest(UserRequest req) {
    IUserActivityLogger logger = getUserActivityLogger();
    if (logger==null) {
      // logger is never null - guaranteed.
      // throw this in the unlikely odd still
      throw new IllegalStateException("no logger set");
    }
    logger.frameworkSetSession(UserSession.getUserSessionIfAlreadySet(req.getHttpReq()));
  }
View Full Code Here

Examples of org.olat.core.logging.activity.IUserActivityLogger

   * it can be called outside constructors as well.
   * @param loggingResourceable the loggingResourceable to be set on this Controller's
   * IUserActivityLogger
   */
  public void addLoggingResourceable(ILoggingResourceable loggingResourceable) {
    IUserActivityLogger logger = getUserActivityLogger();
    if (logger==null) {
      // logger is never null - guaranteed.
      // throw this in the unlikely odd still
      throw new IllegalStateException("no logger set");
    }
    logger.addLoggingResourceInfo(loggingResourceable);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.