org.olat.core.logging.activity
Class LogModule

java.lang.Object
  extended by org.olat.core.logging.activity.LogModule
All Implemented Interfaces:
OLATModule

public class LogModule
extends java.lang.Object
implements OLATModule

Initial Date: 01.12.2009

Author:
bja

Constructor Summary
LogModule()
           
 
Method Summary
 void destroy()
          Caled during Servlet.destroy()
static java.util.List<java.lang.String> getOperatorKeys()
           
static java.util.Set<java.lang.String> getUserProperties()
           
static int getUserPropertyPosition(java.lang.String attribute)
          The position can be set to 1..n.
 void init(com.anthonyeden.lib.config.Configuration moduleConfig)
          Called by ConfigurationManager during statrup.
static boolean isLogAnonymous()
          is anonymous logging configured
static void setUserProperties(java.util.Set<java.lang.String> userProperties)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogModule

public LogModule()
Method Detail

destroy

public void destroy()
Description copied from interface: OLATModule
Caled during Servlet.destroy()

Specified by:
destroy in interface OLATModule

init

public void init(com.anthonyeden.lib.config.Configuration moduleConfig)
Description copied from interface: OLATModule
Called by ConfigurationManager during statrup. Module is called in the order it is registered in olat_config.xml. On any critical errors, throw StartupException. Any other errors, just throw Exceptions. OLATContext will already be initialized at this stage.

Specified by:
init in interface OLATModule

isLogAnonymous

public static boolean isLogAnonymous()
is anonymous logging configured

Returns:
boolean

setUserProperties

public static void setUserProperties(java.util.Set<java.lang.String> userProperties)
Parameters:
userProperties -

getUserProperties

public static java.util.Set<java.lang.String> getUserProperties()
Returns:

getUserPropertyPosition

public static int getUserPropertyPosition(java.lang.String attribute)
The position can be set to 1..n. The value 0 means that the list userProperties doesn't contain the value of attribute.

Parameters:
attribute -
Returns:

getOperatorKeys

public static java.util.List<java.lang.String> getOperatorKeys()