public class CreateEventController extends Object
| Constructor and Description |
|---|
CreateEventController() |
| Modifier and Type | Method and Description |
|---|---|
String |
doCreate() |
es.uvigo.esei.dgss.letta.domain.entities.Event |
getCreatedEvent()
Getter method of createdEvent variable
|
Date |
getDate()
Getter method of date variable
|
String |
getError()
Getter method of error variable
|
String |
getLocation()
Getter method of location variable
|
String |
getShortDescription()
Getter method of shortDescription variable
|
String |
getTitle()
Getter method of title variable
|
es.uvigo.esei.dgss.letta.domain.entities.EventType |
getType()
Getter method of type variable
|
Map<String,es.uvigo.esei.dgss.letta.domain.entities.EventType> |
getTypes()
Getter method of types variable
|
void |
init() |
void |
setCreatedEvent(es.uvigo.esei.dgss.letta.domain.entities.Event createdEvent)
Setter method of createdEvent variable
|
void |
setDate(Date date)
Setter method of date variable
|
void |
setError(String error)
Setter method of error variable
|
void |
setLocation(String location)
Setter method of location 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.EventType type)
Setter method of type variable
|
void |
setTypes(Map<String,es.uvigo.esei.dgss.letta.domain.entities.EventType> types)
Setter method of types variable
|
@PostConstruct public void init()
public String doCreate()
public String getError()
public void setError(String error)
error - global variable@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.EventType getType()
public void setType(es.uvigo.esei.dgss.letta.domain.entities.EventType type)
type - global variablepublic Map<String,es.uvigo.esei.dgss.letta.domain.entities.EventType> getTypes()
public void setTypes(Map<String,es.uvigo.esei.dgss.letta.domain.entities.EventType> types)
types - global variablepublic es.uvigo.esei.dgss.letta.domain.entities.Event getCreatedEvent()
public void setCreatedEvent(es.uvigo.esei.dgss.letta.domain.entities.Event createdEvent)
createdEvent - global variableCopyright © 2015. All rights reserved.