org.opennms.netmgt.xml.eventconf
Class Security

java.lang.Object
  extended by org.opennms.netmgt.xml.eventconf.Security
All Implemented Interfaces:
java.io.Serializable

public class Security
extends java.lang.Object
implements java.io.Serializable

Security settings for this configuration

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Security()
           
 
Method Summary
 void addDoNotOverride(int index, java.lang.String vDoNotOverride)
          Method addDoNotOverride
 void addDoNotOverride(java.lang.String vDoNotOverride)
          Method addDoNotOverride
 void clearDoNotOverride()
          Method clearDoNotOverride
 java.util.Enumeration enumerateDoNotOverride()
          Method enumerateDoNotOverride
 java.lang.String[] getDoNotOverride()
          Method getDoNotOverride
 java.lang.String getDoNotOverride(int index)
          Method getDoNotOverride
 java.util.ArrayList getDoNotOverrideCollection()
          Method getDoNotOverrideCollection Returns a reference to 'doNotOverride'.
 int getDoNotOverrideCount()
          Method getDoNotOverrideCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeDoNotOverride(java.lang.String vDoNotOverride)
          Method removeDoNotOverride
 void setDoNotOverride(java.util.ArrayList doNotOverrideCollection)
          Method setDoNotOverride Sets the value of 'doNotOverride' by copying the given ArrayList.
 void setDoNotOverride(int index, java.lang.String vDoNotOverride)
          Method setDoNotOverride
 void setDoNotOverride(java.lang.String[] doNotOverrideArray)
          Method setDoNotOverride
 void setDoNotOverrideCollection(java.util.ArrayList doNotOverrideCollection)
          Method setDoNotOverrideCollection Sets the value of 'doNotOverride' by setting it to the given ArrayList.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Security

public Security()
Method Detail

addDoNotOverride

public void addDoNotOverride(java.lang.String vDoNotOverride)
                      throws java.lang.IndexOutOfBoundsException
Method addDoNotOverride

Parameters:
vDoNotOverride -
Throws:
java.lang.IndexOutOfBoundsException

addDoNotOverride

public void addDoNotOverride(int index,
                             java.lang.String vDoNotOverride)
                      throws java.lang.IndexOutOfBoundsException
Method addDoNotOverride

Parameters:
index -
vDoNotOverride -
Throws:
java.lang.IndexOutOfBoundsException

clearDoNotOverride

public void clearDoNotOverride()
Method clearDoNotOverride


enumerateDoNotOverride

public java.util.Enumeration enumerateDoNotOverride()
Method enumerateDoNotOverride

Returns:
Enumeration

getDoNotOverride

public java.lang.String getDoNotOverride(int index)
                                  throws java.lang.IndexOutOfBoundsException
Method getDoNotOverride

Parameters:
index -
Returns:
String
Throws:
java.lang.IndexOutOfBoundsException

getDoNotOverride

public java.lang.String[] getDoNotOverride()
Method getDoNotOverride

Returns:
String

getDoNotOverrideCollection

public java.util.ArrayList getDoNotOverrideCollection()
Method getDoNotOverrideCollection Returns a reference to 'doNotOverride'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getDoNotOverrideCount

public int getDoNotOverrideCount()
Method getDoNotOverrideCount

Returns:
int

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeDoNotOverride

public boolean removeDoNotOverride(java.lang.String vDoNotOverride)
Method removeDoNotOverride

Parameters:
vDoNotOverride -
Returns:
boolean

setDoNotOverride

public void setDoNotOverride(int index,
                             java.lang.String vDoNotOverride)
                      throws java.lang.IndexOutOfBoundsException
Method setDoNotOverride

Parameters:
index -
vDoNotOverride -
Throws:
java.lang.IndexOutOfBoundsException

setDoNotOverride

public void setDoNotOverride(java.lang.String[] doNotOverrideArray)
Method setDoNotOverride

Parameters:
doNotOverrideArray -

setDoNotOverride

public void setDoNotOverride(java.util.ArrayList doNotOverrideCollection)
Method setDoNotOverride Sets the value of 'doNotOverride' by copying the given ArrayList.

Parameters:
doNotOverrideCollection - the Vector to copy.

setDoNotOverrideCollection

public void setDoNotOverrideCollection(java.util.ArrayList doNotOverrideCollection)
Method setDoNotOverrideCollection Sets the value of 'doNotOverride' by setting it to the given ArrayList. No type checking is performed.

Parameters:
doNotOverrideCollection - the ArrayList to copy.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.