com.waveset.object
Class AuditConfig

java.lang.Object
  extended bycom.waveset.object.PersistentObject
      extended bycom.waveset.object.AuditConfig
All Implemented Interfaces:
java.lang.Comparable, javax.naming.Referenceable, XmlObject

public class AuditConfig
extends PersistentObject


Nested Class Summary
static class AuditConfig.EventFilter
           
static class AuditConfig.FilterGroup
           
 
Nested classes inherited from class com.waveset.object.PersistentObject
PersistentObject.Comparator, PersistentObject.InitialInstance
 
Field Summary
static java.util.Hashtable _filterGroupDisplayNameTable
           
static java.lang.String ACCOUNT_MGMT_GROUP
           
static java.lang.String code_id
           
protected static AuditConfig initial
           
static java.lang.String INTERNAL_GROUP
           
static java.lang.String LOGIN_GROUP
           
static java.lang.String NATIVE_CHANGE_ACCOUNT
           
static java.lang.String NATIVE_CHANGE_GROUP
           
static java.lang.String PASSWORD_MGMT_GROUP
           
static java.lang.String RESOURCE_MGMT_GROUP
           
static java.lang.String ROLE_MGMT_GROUP
           
static java.lang.String SECURITY_MGMT_GROUP
           
static java.lang.String TASK_MGMT_GROUP
           
 
Fields inherited from class com.waveset.object.PersistentObject
_trace, trace
 
Constructor Summary
AuditConfig()
           
AuditConfig(org.w3c.dom.Element e)
           
 
Method Summary
 void addGroup(AuditConfig.FilterGroup filter)
           
protected  void addSubclassAttributes(java.lang.StringBuffer b)
          Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist).
protected  void addSubclassElements(java.lang.StringBuffer b)
          Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist).
 java.lang.String getAuditState()
           
 AuditConfig.FilterGroup getGroup(java.lang.String Name)
           
 java.lang.String[] getGroupNames()
           
 AuditConfig.FilterGroup[] getGroups()
           
 Type getType()
          Returns the associated Type object.
protected  void parseSubclassAttributes(org.w3c.dom.Element e)
          Each concrete subclass should parse from the XML buffer any persisted subclass-specific fields (generally, the same ones that it writes into the buffer).
protected  void parseSubclassElements(org.w3c.dom.Element e)
          Each concrete subclass should parse from the XML buffer any persisted subclass-specific elements (generally, the same ones that it writes into the buffer).
 void removeGroup(AuditConfig.FilterGroup filter)
           
 void setAuditState(java.lang.String state)
           
 void setFailure(java.lang.String groupName, boolean state)
           
 void setGroup(AuditConfig.FilterGroup group)
           
 void setGroups(AuditConfig.FilterGroup[] groups)
           
 void setSuccess(java.lang.String groupName, boolean state)
           
 int size()
          Returns the number of groups:
 
Methods inherited from class com.waveset.object.PersistentObject
addCommonElements, addEndTag, addMemberObjectGroup, addMemberObjectGroup, addPersistentAttributes, addStartTag, addSummaryAttributes, addXmlHeader, attributesMatch, attributesMatch, attributesMatch, checkReference, checkReferences, clearId, cloneAs, cloneObject, compareTo, create, create, create, create, createLastModItem, createLastModItem, createLastModItemList, directObjectGroupMember, dump, dumpFile, equals, fakeId, getAttribute, getAttributeValues, getAttributeValues, getAuthReferences, getAuthType, getBasicAttributes, getBasicAttributes, getBasicAttributes, getCache, getCounterValue, getCreateDate, getCreator, getDisplayableName, getDisplayName, getElementName, getEncryptedValues, getId, getIdOrName, getInitialInstances, getLastMod, getLastModDate, getLastModifier, getLastModItemId, getLockInfo, getMemberObjectGroupRefs, getMemberObjectGroupRefsUpTo, getMemberObjectGroups, getName, getNameOrId, getProperties, getProperty, getPropertyAsString, getPropertyList, getQueryableAttributes, getReference, getReferences, getRuleDrivenMemberObjectGroupRefs, getRuleDrivenMemberObjectGroupRefsUpTo, getRuleDrivenMemberObjectGroups, getSubtype, getSummaryAttributes, getSummaryString, hasEncryptedData, hashCode, identityEquals, isAlias, isHidden, isId, isProtected, isProtectedFromDelete, isReferencedIn, listOperationalAttributes, listQueryableAttributes, listQueryableReferenceAttributes, listSummaryAttributes, objectGroupMember, objectGroupMemberRef, parseCommonElement, parseCommonElements, parsePersistentAttributes, parseXml, parseXml, prepareForSerialization, prepareToSerialize, println, reEncrypt, reEncryptSubclassAttributes, removeMemberObjectGroup, removeProperty, resolve, resolve, resolve, resolveArray, resolveArrayByFetching, resolveObjectReference, resolveObjectReferences, resolveReference, resolveSummaryAttributes, resolveSummaryAttributes, ruleDrivenObjectGroupMemberRef, setAuthType, setAuthType, setCache, setCreateDate, setCreator, setDisplayName, setDisplayName, setHidden, setIsAlias, setLastMod, setLastMod, setLastModDate, setLastModifier, setMemberObjectGroupRef, setMemberObjectGroupRefs, setMemberObjectGroups, setName, setProperties, setProperty, setPropertyList, setProtected, setProtectedFromDelete, setRuleDrivenMembersCache, setSubtype, setTrace, toString, toXml, toXml, toXml, toXmlFile, visit
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

code_id

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

NATIVE_CHANGE_GROUP

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

NATIVE_CHANGE_ACCOUNT

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

RESOURCE_MGMT_GROUP

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

SECURITY_MGMT_GROUP

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

ACCOUNT_MGMT_GROUP

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

TASK_MGMT_GROUP

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

ROLE_MGMT_GROUP

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

LOGIN_GROUP

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

INTERNAL_GROUP

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

PASSWORD_MGMT_GROUP

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

_filterGroupDisplayNameTable

public static java.util.Hashtable _filterGroupDisplayNameTable

initial

protected static AuditConfig initial
Constructor Detail

AuditConfig

public AuditConfig()

AuditConfig

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

getType

public Type getType()
Returns the associated Type object.

Specified by:
getType in class PersistentObject

size

public int size()
Returns the number of groups:


getAuditState

public java.lang.String getAuditState()

setAuditState

public void setAuditState(java.lang.String state)

setGroups

public void setGroups(AuditConfig.FilterGroup[] groups)

getGroups

public AuditConfig.FilterGroup[] getGroups()

getGroup

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

getGroupNames

public java.lang.String[] getGroupNames()

setSuccess

public void setSuccess(java.lang.String groupName,
                       boolean state)

setFailure

public void setFailure(java.lang.String groupName,
                       boolean state)

setGroup

public void setGroup(AuditConfig.FilterGroup group)

addGroup

public void addGroup(AuditConfig.FilterGroup filter)

removeGroup

public void removeGroup(AuditConfig.FilterGroup filter)

addSubclassAttributes

protected void addSubclassAttributes(java.lang.StringBuffer b)
Description copied from class: PersistentObject
Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist). PersistentObject's default implementation is a no-op.

NOTE: Any subclass that overrides this method must similarly override parseSubclassAttributes() so that the subclass attributes are restored.

Overrides:
addSubclassAttributes in class PersistentObject
See Also:


addSubclassElements

protected void addSubclassElements(java.lang.StringBuffer b)
Description copied from class: PersistentObject
Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist). PersistentObject's default implementation is a no-op.

NOTE: Any subclass that overrides this method must similarly override parseSubclassElements() so that the subclass elements are restored.

Overrides:
addSubclassElements in class PersistentObject
See Also:


parseSubclassAttributes

protected void parseSubclassAttributes(org.w3c.dom.Element e)
                                throws WavesetException
Description copied from class: PersistentObject
Each concrete subclass should parse from the XML buffer any persisted subclass-specific fields (generally, the same ones that it writes into the buffer).

Overrides:
parseSubclassAttributes in class PersistentObject
Throws:
WavesetException
See Also:

PersistentObject's default implementation is a no-op.

, PersistentObject.parseXml(Element)

parseSubclassElements

protected void parseSubclassElements(org.w3c.dom.Element e)
                              throws WavesetException
Description copied from class: PersistentObject
Each concrete subclass should parse from the XML buffer any persisted subclass-specific elements (generally, the same ones that it writes into the buffer).

Overrides:
parseSubclassElements in class PersistentObject
Throws:
WavesetException
See Also:

PersistentObject's default implementation is a no-op.

, PersistentObject.parseXml(Element)