com.waveset.object
Class AuditConfig.FilterGroup

java.lang.Object
  extended bycom.waveset.object.AuditConfig.FilterGroup
Enclosing class:
AuditConfig

public static class AuditConfig.FilterGroup
extends java.lang.Object


Constructor Summary
AuditConfig.FilterGroup(org.w3c.dom.Element e)
           
AuditConfig.FilterGroup(java.lang.String Name)
           
 
Method Summary
 void addFilter(AuditConfig.EventFilter filter)
           
 boolean failureEnabled()
           
 java.lang.String getDisplayName(java.lang.String name)
          i18n: Get the catalog key associated with the filter name else return the filter name.
 AuditConfig.EventFilter getFilter(java.lang.String name)
           
 java.util.ArrayList getFilterNames()
           
 AuditConfig.EventFilter[] getFilters()
           
 java.lang.String getName()
           
 boolean getState()
          Method to return the state of the group.
 void removeFilter(AuditConfig.EventFilter filter)
           
 void setFailure(boolean state)
           
 void setFilters(AuditConfig.EventFilter[] filters)
           
 void setName(java.lang.String name)
           
 void setState(java.lang.String state)
           
 void setSuccess(boolean state)
           
 boolean successEnabled()
           
 java.lang.String toXml()
           
 void toXml(java.lang.StringBuffer b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditConfig.FilterGroup

public AuditConfig.FilterGroup(java.lang.String Name)

AuditConfig.FilterGroup

public AuditConfig.FilterGroup(org.w3c.dom.Element e)
                        throws WavesetException
Method Detail

setFilters

public void setFilters(AuditConfig.EventFilter[] filters)

getFilters

public AuditConfig.EventFilter[] getFilters()

getFilter

public AuditConfig.EventFilter getFilter(java.lang.String name)

getName

public java.lang.String getName()

getDisplayName

public java.lang.String getDisplayName(java.lang.String name)
i18n: Get the catalog key associated with the filter name else return the filter name.

Parameters:
name - - filter name
Returns:
String - catalog key

setName

public void setName(java.lang.String name)

getState

public boolean getState()
Method to return the state of the group. True is returned on when inabled and False if disabled. Used by the filter to determine if it should read the groups filters into memory. If either the success or failures of a filter are enabled this method returns true.


getFilterNames

public java.util.ArrayList getFilterNames()

successEnabled

public boolean successEnabled()

failureEnabled

public boolean failureEnabled()

setSuccess

public void setSuccess(boolean state)

setFailure

public void setFailure(boolean state)

setState

public void setState(java.lang.String state)

addFilter

public void addFilter(AuditConfig.EventFilter filter)

removeFilter

public void removeFilter(AuditConfig.EventFilter filter)

toXml

public java.lang.String toXml()

toXml

public void toXml(java.lang.StringBuffer b)