This commit is contained in:
Anton Romanov 2018-11-14 17:03:22 +04:00
parent 112958a70b
commit f587f80eb6
4 changed files with 46 additions and 20 deletions

View File

@ -11,8 +11,15 @@ import ru.ulstu.core.error.EntityIdIsNullException;
import ru.ulstu.core.model.ErrorConstants;
import ru.ulstu.core.model.response.Response;
import ru.ulstu.core.model.response.ResponseExtended;
import ru.ulstu.user.error.*;
import ru.ulstu.user.error.*;
import ru.ulstu.user.error.UserActivationError;
import ru.ulstu.user.error.UserEmailExistsException;
import ru.ulstu.user.error.UserIdExistsException;
import ru.ulstu.user.error.UserIsUndeadException;
import ru.ulstu.user.error.UserLoginExistsException;
import ru.ulstu.user.error.UserNotActivatedException;
import ru.ulstu.user.error.UserNotFoundException;
import ru.ulstu.user.error.UserPasswordsNotValidOrNotMatchException;
import ru.ulstu.user.error.UserResetKeyError;
import java.util.Set;
import java.util.stream.Collectors;

View File

@ -5,12 +5,25 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import ru.ulstu.core.error.OdinException;
import ru.ulstu.odin.model.*;
import ru.ulstu.odin.model.*;
import ru.ulstu.odin.model.OdinBooleanField;
import ru.ulstu.odin.model.OdinCollectionField;
import ru.ulstu.odin.model.OdinDateField;
import ru.ulstu.odin.model.OdinDto;
import ru.ulstu.odin.model.OdinField;
import ru.ulstu.odin.model.OdinMetadata;
import ru.ulstu.odin.model.OdinNumericField;
import ru.ulstu.odin.model.OdinObjectField;
import ru.ulstu.odin.model.OdinStringField;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.*;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import java.util.stream.Collectors;
@Service

View File

@ -65,9 +65,13 @@ public class EventDto {
return title;
}
public PeriodEvent getPeriod() { return period; }
public PeriodEvent getPeriod() {
return period;
}
public Event.EventStatus getStatus() { return status; }
public Event.EventStatus getStatus() {
return status;
}
public Date getCreateDate() {
return createDate;

View File

@ -16,7 +16,9 @@ public enum PeriodEvent {
this.message = message;
}
public Period getPeriod() { return period; }
public Period getPeriod() {
return period;
}
public String getMessage() {
return message;