Interface EventFactory

  • @Role
    public interface EventFactory
    A factory which creates Event objects ready to be used. Besides instantiating an Event object, the factory also fills in some of the fields with the default values, for example a new event ID, the current event group id, the current user, and the current date.
    $Id: dfbb31dd494d88f1fab6b05f3a21301fd6dc9645 $
    • Method Detail

      • createEvent

        Event createEvent()
        Create a new event with some fields already filled in.
        • unique event ID
        • the current event group ID
        • the current user
        • the current date
        a ready-to-use event
      • createRawEvent

        Event createRawEvent()
        Create a new event without any of the fields filled in.
        a blank event