@Named(value="updateEventController") @SessionScoped public class UpdateEventController extends Object implements Serializable
EventController,
Serialized Form| Constructor and Description |
|---|
UpdateEventController()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
es.uvigo.esei.dgss.teama.letta.entities.Event |
getCurrentEvent()
Gets the current event to be managed.
|
String |
getCurrentEventId()
Gets the current event id.
|
Date |
getEnd()
Gets the end date of the event.
|
Date |
getStart()
Gets the start date of the event.
|
void |
loadData()
Loads the event data specified by currentEventId for later modification.
|
void |
setCurrentEvent(es.uvigo.esei.dgss.teama.letta.entities.Event currentEvent)
Sets the current event to be managed.
|
void |
setCurrentEventId(String currentEventId)
Sets the current event id.
|
void |
setEnd(Date end)
Sets the end date of the event.
|
void |
setStart(Date start)
Sets the start date of the event.
|
String |
updateEvent()
Updates the data of the current event.
|
public Date getStart()
public void setStart(Date start)
start - the start date.public Date getEnd()
public void setEnd(Date end)
end - the end date.public es.uvigo.esei.dgss.teama.letta.entities.Event getCurrentEvent()
public void setCurrentEvent(es.uvigo.esei.dgss.teama.letta.entities.Event currentEvent)
currentEvent - the new event.public String getCurrentEventId()
public void setCurrentEventId(String currentEventId)
currentEventId - the new event id.public void loadData()
throws IOException
IOException - if an error occurs in read urlpublic String updateEvent()
Copyright © 2017. All rights reserved.