Package com.microstrategy.web.beans
Class EventInfoList
- java.lang.Object
 - 
- com.microstrategy.utils.config.AbstractConfigurationElement
 - 
- com.microstrategy.utils.config.AbstractElementList
 - 
- com.microstrategy.web.beans.EventInfoList
 
 
 
 
- 
- All Implemented Interfaces:
 ConfigurationElement,ConfigurationFile,java.lang.Cloneable
public class EventInfoList extends AbstractElementList
This class represents the "events" node from the XML. It contains a list of all the events associated with the event handler. Children : The list of all the events. Attributes: none Key : null.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
AbstractConfigurationElement.FilteredList 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNODE_EVENTS- 
Fields inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
ATT_CONFIG_SRC, ATT_DELETED, ATT_POSITION, ATT_PROTOTYPE, ATT_USE_DEFAULT 
 - 
 
- 
Constructor Summary
Constructors Constructor Description EventInfoList()Default Constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteEvent(int id)Delete the event with the given idEventInfogetEvent(int eventID)Return the event which has the given idprotected java.lang.ClassgetListClass()Returns theClassitems beloging to this list will be instance of.protected java.lang.StringgetListNodeName()Returns the name of the node representing children of this list.EventInfonewEvent(int id)Create a new event and add it to the events list- 
Methods inherited from class com.microstrategy.utils.config.AbstractElementList
clear, containsKey, get, get, getKeyAttribute, getList, isEmpty, put, put, size 
- 
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
addFileSource, applyCustomization, applyCustomizations, cleanUpDeletedElements, clone, delete, deltas, deltas, equalAtts, equalElements, equalNodeValues, equals, equalsIncludingDeletedElements, exportAttributesToXML, exportElementsToXML, exportNodeValueToXML, getAttribute, getAttributes, getBoolAttribute, getChildKey, getConfigSrc, getDTDFileName, getElement, getElement, getElements, getFileLoader, getIntAttribute, getIntAttribute, getKey, getLineNumber, getList, getNextKey, getNodeName, getNodeValue, getNodeValue, getOrCreateElement, getParent, getPosition, getPrototype, getRegisteredClass, getSelfInitPath, getSource, getStrAttribute, getUseDefault, getXMLParserParameters, getXMLSerializerParameters, hashCode, hashCodeAtts, hashCodeElements, hashCodeNodeValues, hasRegisteredClass, initAttributesFromXML, initDefaultAttributes, initElementFromXML, initElementsFromXML, initFromFile, initFromResource, initFromXML, initFromXML, initNodeValueFromXML, initPrototype, isActive, isCustomized, isDeleted, isDirty, isInSource, isKeyAttribute, load, mergeChanges, newChildInstance, newSource, original, populate, printAttributes, printElements, printNodeValue, refreshLists, registerClass, registerElement, registerElement, registerElementList, reload, reloadPrototype, removeAttribute, removeDefaults, replaceList, restore, save, save, saveChangesAs, saveConfig, saveFlatXML, saveNode, saveSource, setAttribute, setBoolAttribute, setChildOriginals, setConfigSrc, setCustomized, setElement, setFileLoader, setIntAttribute, setKey, setLineNumber, setNodeName, setNodeValue, setPosition, setPrototype, setSelfInitPath, setStrAttribute, setUseDefault, setUseValidation, throwConfigParseException, toString, toXML, toXML, toXML, toXML, useNodeValue, useValidation 
 - 
 
 - 
 
- 
- 
Field Detail
- 
NODE_EVENTS
public static final java.lang.String NODE_EVENTS
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getListClass
protected java.lang.Class getListClass()
Description copied from class:AbstractElementListReturns theClassitems beloging to this list will be instance of.- Specified by:
 getListClassin classAbstractElementList
 
- 
getListNodeName
protected java.lang.String getListNodeName()
Description copied from class:AbstractElementListReturns the name of the node representing children of this list.- Specified by:
 getListNodeNamein classAbstractElementList
 
- 
getEvent
public EventInfo getEvent(int eventID)
Return the event which has the given id- Parameters:
 eventID- The id of the event to be returned- Returns:
 - The event with the given id
 
 
- 
newEvent
public EventInfo newEvent(int id)
Create a new event and add it to the events list- Parameters:
 id- The id (key) for the new event to be created- Returns:
 - The new event created and added to the list with the given id
 
 
- 
deleteEvent
public void deleteEvent(int id)
Delete the event with the given id- Parameters:
 id- The id of the event to be deleted
 
 - 
 
 -