Class AppSettingsController
java.lang.Object
systems.dennis.shared.utils.ApplicationContext
systems.dennis.shared.scopes.controller.AppSettingsController
- All Implemented Interfaces:
systems.dennis.shared.controller.forms.Serviceable<AppSettingsModel,,Long> systems.dennis.shared.controller.forms.ValidateForm<AppSettingsForm>,systems.dennis.shared.controller.items.AbstractAddItemController<AppSettingsModel,,AppSettingsForm, Long> systems.dennis.shared.controller.items.AbstractDeleteItemController<AppSettingsModel,,Long> systems.dennis.shared.controller.items.AbstractEditFieldItemController<AppSettingsModel,,AppSettingsForm, Long> systems.dennis.shared.controller.items.AbstractEditItemController<AppSettingsModel,,AppSettingsForm, Long> systems.dennis.shared.controller.items.AbstractListItemController<AppSettingsModel,,AppSettingsForm, Long> systems.dennis.shared.controller.items.Contextable,systems.dennis.shared.controller.items.magic.MagicForm<AppSettingsForm>,systems.dennis.shared.controller.items.magic.MagicList<AppSettingsModel,,Long> systems.dennis.shared.controller.items.Transformable<AppSettingsModel,,AppSettingsForm> systems.dennis.shared.postgres.controller.AddItemController<AppSettingsModel,,AppSettingsForm> systems.dennis.shared.postgres.controller.DeleteItemController<AppSettingsModel>,systems.dennis.shared.postgres.controller.EditItemController<AppSettingsModel,,AppSettingsForm> systems.dennis.shared.postgres.controller.ListItemController<AppSettingsModel,AppSettingsForm>
@RestController
@RequestMapping("/api/v2/shared/app_settings")
@CrossOrigin
public class AppSettingsController
extends systems.dennis.shared.utils.ApplicationContext
implements systems.dennis.shared.postgres.controller.DeleteItemController<AppSettingsModel>, systems.dennis.shared.postgres.controller.ListItemController<AppSettingsModel,AppSettingsForm>, systems.dennis.shared.postgres.controller.EditItemController<AppSettingsModel,AppSettingsForm>, systems.dennis.shared.postgres.controller.AddItemController<AppSettingsModel,AppSettingsForm>
-
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.items.magic.MagicList
pojoListCacheFields inherited from interface systems.dennis.shared.controller.forms.Serviceable
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<AppSettingsForm>add(AppSettingsForm form) voidorg.springframework.http.ResponseEntity<AppSettingsForm>edit(AppSettingsForm form) 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.AbstractAddItemController
afterSaveFormMethods inherited from interface systems.dennis.shared.controller.items.AbstractEditFieldItemController
editFieldMethods inherited from interface systems.dennis.shared.controller.items.Contextable
getContextMethods inherited from interface systems.dennis.shared.postgres.controller.DeleteItemController
deleteItemsMethods inherited from interface systems.dennis.shared.postgres.controller.ListItemController
fetchData, fetchFormMethods inherited from interface systems.dennis.shared.controller.items.magic.MagicForm
copyTo, fetchForm, getDescription, getPojoForm, setPojoFormValueMethods inherited from interface systems.dennis.shared.controller.items.magic.MagicList
copyTo, download, fetchFile, getDefaultField, getDescription, getPojoList, objectDetailsMethods 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
-
get
@GetMapping("/list") public org.springframework.http.ResponseEntity<org.springframework.data.domain.Page<Map<String,Object>>> get(Integer limit, Integer page) - Specified by:
getin interfacesystems.dennis.shared.controller.items.AbstractListItemController<AppSettingsModel,AppSettingsForm, Long> - Specified by:
getin interfacesystems.dennis.shared.postgres.controller.ListItemController<AppSettingsModel,AppSettingsForm>
-
delete
@DeleteMapping("/delete/{id}") public void delete(@PathVariable Long id) throws systems.dennis.shared.exceptions.ItemNotUserException, systems.dennis.shared.exceptions.ItemNotFoundException - Specified by:
deletein interfacesystems.dennis.shared.controller.items.AbstractDeleteItemController<AppSettingsModel,Long> - Specified by:
deletein interfacesystems.dennis.shared.postgres.controller.DeleteItemController<AppSettingsModel>- Throws:
systems.dennis.shared.exceptions.ItemNotUserExceptionsystems.dennis.shared.exceptions.ItemNotFoundException
-