@Role
public interface EventFactory
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.| Modifier and Type | Method and Description |
|---|---|
Event |
createEvent()
Create a new event with some fields already filled in.
|
Event |
createRawEvent()
Create a new event without any of the fields filled in.
|
Event createEvent()
Event createRawEvent()
Copyright © 2004–2017 XWiki. All rights reserved.