info.magnolia.logging
Class AuditLoggingUtil

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

public class AuditLoggingUtil
extends java.lang.Object

Utilities class used to log 'auditory actions'.

Author:
tmiyar

Field Summary
static java.lang.String ACTION_ACTIVATE
           
static java.lang.String ACTION_COPY
           
static java.lang.String ACTION_CREATE
           
static java.lang.String ACTION_DEACTIVATE
           
static java.lang.String ACTION_DELETE
           
static java.lang.String ACTION_LOGIN
           
static java.lang.String ACTION_LOGOUT
           
static java.lang.String ACTION_MODIFY
           
static java.lang.String ACTION_MOVE
           
 
Constructor Summary
AuditLoggingUtil()
           
 
Method Summary
static void log(LoginResult loginResult, javax.servlet.http.HttpServletRequest request)
          Log user login.
static void log(java.lang.String action, java.lang.String workspaceName, ItemType nodeType, java.lang.String nodePath)
          log create, modify, activate, deactivate, delete incl.
static void log(java.lang.String action, java.lang.String workspaceName, java.lang.String nodePathFrom, java.lang.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 java.lang.String ACTION_CREATE
See Also:
Constant Field Values

ACTION_MODIFY

public static final java.lang.String ACTION_MODIFY
See Also:
Constant Field Values

ACTION_DELETE

public static final java.lang.String ACTION_DELETE
See Also:
Constant Field Values

ACTION_COPY

public static final java.lang.String ACTION_COPY
See Also:
Constant Field Values

ACTION_MOVE

public static final java.lang.String ACTION_MOVE
See Also:
Constant Field Values

ACTION_ACTIVATE

public static final java.lang.String ACTION_ACTIVATE
See Also:
Constant Field Values

ACTION_DEACTIVATE

public static final java.lang.String ACTION_DEACTIVATE
See Also:
Constant Field Values

ACTION_LOGIN

public static final java.lang.String ACTION_LOGIN
See Also:
Constant Field Values

ACTION_LOGOUT

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

AuditLoggingUtil

public AuditLoggingUtil()
Method Detail

log

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


log

public static void log(java.lang.String action,
                       java.lang.String workspaceName,
                       java.lang.String nodePathFrom,
                       java.lang.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-2010 Magnolia International Ltd.. All Rights Reserved.