Class 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
    • Constructor Detail

      • EventInfoList

        public EventInfoList()
        Default Constructor. Set the name of the node as defined in the xml.
    • Method Detail

      • 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