Uses of Class
ru.kpekepsalt.ruvik.exception.DataValidityException
-
Packages that use DataValidityException Package Description ru.kpekepsalt.ruvik.controller ru.kpekepsalt.ruvik.service ru.kpekepsalt.ruvik.service.Impl -
-
Uses of DataValidityException in ru.kpekepsalt.ruvik.controller
Methods in ru.kpekepsalt.ruvik.controller with parameters of type DataValidityException Modifier and Type Method Description org.springframework.http.ResponseEntity<ErrorResponseDto<Exception>>
ConversationController. handleDataValidityException(DataValidityException e)
org.springframework.http.ResponseEntity<ErrorResponseDto<Exception>>
GateController. handleDataValidityException(DataValidityException e)
Methods in ru.kpekepsalt.ruvik.controller that throw DataValidityException Modifier and Type Method Description org.springframework.http.ResponseEntity<ResponseDto<ConversationDto>>
ConversationController. acceptPendingSession(@Min(value=0L,message="Id must be greater than 0") Long id)
org.springframework.http.ResponseEntity<ResponseDto<UserDto>>
GateController. authUserByLogin()
org.springframework.http.ResponseEntity<ResponseDto<UserDto>>
GateController. authUserByToken(@NotBlank(message="User token can\'t be empty") String token)
org.springframework.http.ResponseEntity<ResponseDto<ConversationDto>>
ConversationController. createPendingSession(@NotBlank(message="User login can\'t be null") String login, SessionInitialInformationDto sessionInitialInformationDto)
org.springframework.http.ResponseEntity<ResponseDto<UserDto>>
GateController. registerUser(UserDto userDto)
-
Uses of DataValidityException in ru.kpekepsalt.ruvik.service
Methods in ru.kpekepsalt.ruvik.service that throw DataValidityException Modifier and Type Method Description User
UserService. createUser(UserDto userDto)
Creates user profilevoid
ConversationService. initiate(String login, SessionInitialInformationDto sessionInitialInformationDto, VoidActionFunctional userNotFound, VoidActionFunctional alreadyInitiated, VoidParamActionFunctional<ConversationDto> onSuccess)
Initiates conversation with receiverConversation
ConversationService. save(Conversation conversation)
Saves conversation datavoid
UserService. save(User user)
Saves user dataUser
UserService. updateUser(User user)
Updates user profile -
Uses of DataValidityException in ru.kpekepsalt.ruvik.service.Impl
Methods in ru.kpekepsalt.ruvik.service.Impl that throw DataValidityException Modifier and Type Method Description User
UserServiceImpl. createUser(UserDto userDto)
void
ConversationServiceImpl. initiate(String login, SessionInitialInformationDto sessionInitialInformationDto, VoidActionFunctional userNotFound, VoidActionFunctional alreadyInitiated, VoidParamActionFunctional<ConversationDto> onSuccess)
Conversation
ConversationServiceImpl. save(Conversation conversation)
void
UserServiceImpl. save(User user)
User
UserServiceImpl. updateUser(User user)
-