info.magnolia.audit
Class AuditLoggingManager

java.lang.Object
  extended by info.magnolia.audit.AuditLoggingManager
Direct Known Subclasses:
AuditLoggingManager

public class AuditLoggingManager
extends Object

Class for auditory logging, it's optional to define it, configured in mgnl-beans.properties.


Constructor Summary
AuditLoggingManager()
           
 
Method Summary
 void addLogConfigurations(LogConfiguration action)
           
 String getDefaultSeparator()
           
static AuditLoggingManager getInstance()
           
 LogConfiguration getLogConfiguration(String action)
           
 List<LogConfiguration> getLogConfigurations()
           
 boolean isAuditLoggingActive()
          AuditLogging is active when at least one of log configurations is active.
 void log(String action, String[] data)
           
 void setDefaultSeparator(String defaultSeparator)
           
 void setLogConfigurations(List<LogConfiguration> logConfigurations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditLoggingManager

public AuditLoggingManager()
Method Detail

getInstance

public static AuditLoggingManager getInstance()

addLogConfigurations

public void addLogConfigurations(LogConfiguration action)

getLogConfigurations

public List<LogConfiguration> getLogConfigurations()

setLogConfigurations

public void setLogConfigurations(List<LogConfiguration> logConfigurations)

getLogConfiguration

public LogConfiguration getLogConfiguration(String action)

isAuditLoggingActive

public boolean isAuditLoggingActive()
AuditLogging is active when at least one of log configurations is active.


log

public void log(String action,
                String[] data)

getDefaultSeparator

public String getDefaultSeparator()

setDefaultSeparator

public void setDefaultSeparator(String defaultSeparator)


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