Class TableSettingController
java.lang.Object
systems.dennis.shared.utils.ApplicationContext
systems.dennis.shared.ui_settings.controller.TableSettingController
- All Implemented Interfaces:
systems.dennis.shared.controller.forms.Serviceable<TableSettingModel,,String> systems.dennis.shared.controller.forms.ValidateForm<TableSettingForm>,systems.dennis.shared.controller.items.AbstractAddItemController<TableSettingModel,,TableSettingForm, String> systems.dennis.shared.controller.items.AbstractDeleteItemController<TableSettingModel,,String> systems.dennis.shared.controller.items.AbstractListItemController<TableSettingModel,,TableSettingForm, String> systems.dennis.shared.controller.items.Contextable,systems.dennis.shared.controller.items.magic.MagicForm<TableSettingForm>,systems.dennis.shared.controller.items.magic.MagicList<TableSettingModel,,String> systems.dennis.shared.controller.items.Transformable<TableSettingModel,,TableSettingForm> systems.dennis.shared.mongo.controller.AddItemController<TableSettingModel,,TableSettingForm> systems.dennis.shared.mongo.controller.DeleteItemController<TableSettingModel>,systems.dennis.shared.mongo.controller.ListItemController<TableSettingModel,TableSettingForm>
@RestController
@RequestMapping("/api/v2/shared/table_setting")
@CrossOrigin
public class TableSettingController
extends systems.dennis.shared.utils.ApplicationContext
implements systems.dennis.shared.mongo.controller.AddItemController<TableSettingModel,TableSettingForm>, systems.dennis.shared.mongo.controller.ListItemController<TableSettingModel,TableSettingForm>, systems.dennis.shared.mongo.controller.DeleteItemController<TableSettingModel>
-
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
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.mongo.controller.AddItemController
addMethods inherited from interface systems.dennis.shared.controller.items.Contextable
getContextMethods inherited from interface systems.dennis.shared.mongo.controller.DeleteItemController
deleteItemsMethods inherited from interface systems.dennis.shared.mongo.controller.ListItemController
fetchData, fetchForm, getMethods 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, 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
-
findByUserAndTopic
@GetMapping("/list_all") public List<TableSettingForm> findByUserAndTopic(@RequestParam(required=true) String topic) -
delete
@DeleteMapping(value="/delete/{id}", consumes={"application/json","application/json;charset=UTF-8"}, produces={"application/json","application/json;charset=UTF-8"}) @ResponseBody public void delete(@PathVariable String id) throws systems.dennis.shared.exceptions.ItemForAddContainsIdException - Specified by:
deletein interfacesystems.dennis.shared.controller.items.AbstractDeleteItemController<TableSettingModel,String> - Specified by:
deletein interfacesystems.dennis.shared.mongo.controller.DeleteItemController<TableSettingModel>- Throws:
systems.dennis.shared.exceptions.ItemForAddContainsIdException
-
getService
- Specified by:
getServicein interfacesystems.dennis.shared.controller.forms.Serviceable<TableSettingModel,String>
-