Package systems.dennis.auth.controller
Class UserDataProfileController
java.lang.Object
systems.dennis.shared.utils.ApplicationContext
systems.dennis.auth.controller.UserDataProfileController
- All Implemented Interfaces:
systems.dennis.shared.controller.forms.Serviceable<UserData,,Long> systems.dennis.shared.controller.forms.ValidateForm<UserDataForm>,systems.dennis.shared.controller.items.AbstractEditFieldItemController<UserData,,UserDataForm, Long> systems.dennis.shared.controller.items.AbstractEditItemController<UserData,,UserDataForm, Long> systems.dennis.shared.controller.items.magic.MagicForm<UserDataForm>,systems.dennis.shared.controller.items.Transformable<UserData,,UserDataForm> systems.dennis.shared.postgres.controller.EditItemController<UserData,UserDataForm>
@RestController
@CrossOrigin("*")
@RequestMapping("/api/v2/auth/profile")
public class UserDataProfileController
extends systems.dennis.shared.utils.ApplicationContext
implements systems.dennis.shared.postgres.controller.EditItemController<UserData,UserDataForm>
-
Field Summary
Fields inherited from class systems.dennis.shared.utils.ApplicationContext
CREATED_FIELDS_MAPFields inherited from interface systems.dennis.shared.controller.items.magic.MagicForm
pojoFormCacheFields inherited from interface systems.dennis.shared.controller.forms.Serviceable
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntitychangeLang(String lang) voidorg.springframework.http.ResponseEntity<UserDataForm>edit(UserDataForm form) findByScope(String scopeName, String time) getUserByEmail(String mail) getUserStatus(String mail) Methods inherited from class systems.dennis.shared.utils.ApplicationContext
canEqual, equals, getBean, getContext, getCurrentUser, getDefaultLogger, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface systems.dennis.shared.controller.items.AbstractEditFieldItemController
editFieldMethods inherited from interface systems.dennis.shared.controller.items.magic.MagicForm
copyTo, fetchForm, getDescription, getPojoForm, setPojoFormValueMethods inherited from interface systems.dennis.shared.controller.forms.Serviceable
getContext, getForm, getLog, getModel, getService, getServiceClassMethods inherited from interface systems.dennis.shared.controller.items.Transformable
afterTransformToDBType, afterTransformToForm, fromForm, getClassDescription, getContext, toForm, toFormPage, transformValueToFormType, transformValueToModelType, transformValueToTargetTypeMethods inherited from interface systems.dennis.shared.controller.forms.ValidateForm
checkValidation, getClassOfForm, getContext, validate, validate, validate, validateField
-
Constructor Details
-
Method Details
-
create
-
findByScope
@GetMapping("/all/scope/{name}") public List<UserDataForm> findByScope(@PathVariable("name") String scopeName, @RequestParam(value="time",required=false) @DateTimeFormat(pattern="yyyy-MM-dd\'T\'HH:mm:ss.SSS") String time) -
getUserStatus
-
getUserByEmail
-
changeLang
@PostMapping("/update_lang/{lang}") public org.springframework.http.ResponseEntity changeLang(@PathVariable("lang") String lang) -
delete
-
edit
public org.springframework.http.ResponseEntity<UserDataForm> edit(UserDataForm form) throws systems.dennis.shared.exceptions.ItemForAddContainsIdException, systems.dennis.shared.exceptions.ItemDoesNotContainsIdValueException, systems.dennis.shared.exceptions.UnmodifiedItemSaveAttemptException, systems.dennis.shared.exceptions.ItemNotFoundException - Specified by:
editin interfacesystems.dennis.shared.controller.items.AbstractEditItemController<UserData,UserDataForm, Long> - Specified by:
editin interfacesystems.dennis.shared.postgres.controller.EditItemController<UserData,UserDataForm> - Throws:
systems.dennis.shared.exceptions.ItemForAddContainsIdExceptionsystems.dennis.shared.exceptions.ItemDoesNotContainsIdValueExceptionsystems.dennis.shared.exceptions.UnmodifiedItemSaveAttemptExceptionsystems.dennis.shared.exceptions.ItemNotFoundException
-