info.magnolia.logging
Class AuditLoggingUtil

java.lang.Object
  extended by info.magnolia.logging.AuditLoggingUtil

public class AuditLoggingUtil
extends Object

Utilities class used to log 'auditory actions'.

Author:
tmiyar

Field Summary
static String ACTION_ACTIVATE
           
static String ACTION_COPY
           
static String ACTION_CREATE
           
static String ACTION_DEACTIVATE
           
static String ACTION_DELETE
           
static String ACTION_LOGIN
           
static String ACTION_LOGOUT
           
static String ACTION_MODIFY
           
static String ACTION_MOVE
           
 
Constructor Summary
AuditLoggingUtil()
           
 
Method Summary
static void log(LoginResult loginResult, javax.servlet.http.HttpServletRequest request)
          Log user login.
static void log(String action, String workspaceName, ItemType nodeType, String nodePath)
          log create, modify, activate, deactivate, delete incl.
static void log(String action, String workspaceName, String nodePathFrom, String nodePathTo)
          Log copy, move.
static void log(UserContext userContext)
          Log user logout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_CREATE

public static final String ACTION_CREATE
See Also:
Constant Field Values

ACTION_MODIFY

public static final String ACTION_MODIFY
See Also:
Constant Field Values

ACTION_DELETE

public static final String ACTION_DELETE
See Also:
Constant Field Values

ACTION_COPY

public static final String ACTION_COPY
See Also:
Constant Field Values

ACTION_MOVE

public static final String ACTION_MOVE
See Also:
Constant Field Values

ACTION_ACTIVATE

public static final String ACTION_ACTIVATE
See Also:
Constant Field Values

ACTION_DEACTIVATE

public static final String ACTION_DEACTIVATE
See Also:
Constant Field Values

ACTION_LOGIN

public static final String ACTION_LOGIN
See Also:
Constant Field Values

ACTION_LOGOUT

public static final String ACTION_LOGOUT
See Also:
Constant Field Values
Constructor Detail

AuditLoggingUtil

public AuditLoggingUtil()
Method Detail

log

public static void log(String action,
                       String workspaceName,
                       ItemType nodeType,
                       String nodePath)
log create, modify, activate, deactivate, delete incl. node type.


log

public static void log(String action,
                       String workspaceName,
                       String nodePathFrom,
                       String nodePathTo)
Log copy, move.


log

public static void log(UserContext userContext)
Log user logout.


log

public static void log(LoginResult loginResult,
                       javax.servlet.http.HttpServletRequest request)
Log user login.



Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.