public class ModifyEventController extends Object
| Constructor and Description |
|---|
ModifyEventController() |
| Modifier and Type | Method and Description |
|---|---|
void |
doModify()
Modify an
Event |
Date |
getDate()
Getter method of date variable
|
String |
getDescription()
Getter method of description variable
|
String |
getErrorMessage()
Getter method of errorMessage variable
|
String |
getLocation()
Getter method of location variable
|
String |
getPlace()
Getter method of place variable
|
List<String> |
getPlaces()
Getter method of places variable
|
String |
getShortDescription()
Getter method of shortDescription variable
|
String |
getTitle()
Getter method of title variable
|
es.uvigo.esei.dgss.letta.domain.entities.Event.Category |
getType()
Getter method of type variable
|
Map<String,es.uvigo.esei.dgss.letta.domain.entities.Event.Category> |
getTypes()
Getter method of types variable
|
void |
init() |
boolean |
isError()
Getter method of error variable
|
void |
setDate(Date date)
Setter method of date variable
|
void |
setDescription(String description)
Setter method of description variable
|
void |
setErrorMessage(String errorMessage)
Setter method of errorMessage variable
|
void |
setLocation(String location)
Setter method of location variable
|
void |
setPlace(String place)
Setter method of place variable
|
void |
setPlaces(List<String> places)
Setter method of places variable
|
void |
setShortDescription(String shortDescription)
Setter method of shortDescription variable
|
void |
setTitle(String title)
Setter method of title variable
|
void |
setType(es.uvigo.esei.dgss.letta.domain.entities.Event.Category type)
Setter method of type variable
|
void |
setTypes(Map<String,es.uvigo.esei.dgss.letta.domain.entities.Event.Category> types)
Setter method of types variable
|
@PostConstruct public void init() throws IOException
IOExceptionpublic void doModify()
throws IOException
EventIOException - if an input/output error occurspublic boolean isError()
@Size(min=1,
max=20,
message="Title must be between 1 and 20 characters")
public String getTitle()
public void setTitle(String title)
title - global variable@Size(min=1,
max=50,
message="Description must be between 1 and 50 characters")
public String getShortDescription()
public void setShortDescription(String shortDescription)
shortDescription - global variable@Size(min=1,
max=100,
message="Location must be between 1 and 20 characters")
public String getLocation()
public void setLocation(String location)
location - global variablepublic Date getDate()
public void setDate(Date date)
date - global variablepublic es.uvigo.esei.dgss.letta.domain.entities.Event.Category getType()
public void setType(es.uvigo.esei.dgss.letta.domain.entities.Event.Category type)
type - global variablepublic Map<String,es.uvigo.esei.dgss.letta.domain.entities.Event.Category> getTypes()
public void setTypes(Map<String,es.uvigo.esei.dgss.letta.domain.entities.Event.Category> types)
types - global variablepublic String getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage - global variablepublic String getDescription()
public void setDescription(String description)
description - global variablepublic List<String> getPlaces()
public void setPlaces(List<String> places)
places - global variablepublic String getPlace()
public void setPlace(String place)
place - global variableCopyright © 2016. All rights reserved.