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_MAP

    Fields inherited from interface systems.dennis.shared.controller.items.magic.MagicForm

    pojoFormCache

    Fields inherited from interface systems.dennis.shared.controller.items.magic.MagicList

    pojoListCache

    Fields inherited from interface systems.dennis.shared.controller.forms.Serviceable

    log
  • Constructor Summary

    Constructors
    Constructor
    Description
    TableSettingController(systems.dennis.shared.config.WebContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
     

    Methods inherited from class systems.dennis.shared.utils.ApplicationContext

    canEqual, equals, getBean, getContext, getCurrentUser, getDefaultLogger, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface systems.dennis.shared.controller.items.AbstractAddItemController

    afterSaveForm

    Methods inherited from interface systems.dennis.shared.mongo.controller.AddItemController

    add

    Methods inherited from interface systems.dennis.shared.controller.items.Contextable

    getContext

    Methods inherited from interface systems.dennis.shared.mongo.controller.DeleteItemController

    deleteItems

    Methods inherited from interface systems.dennis.shared.mongo.controller.ListItemController

    fetchData, fetchForm, get

    Methods inherited from interface systems.dennis.shared.controller.items.magic.MagicForm

    copyTo, fetchForm, getDescription, getPojoForm, setPojoFormValue

    Methods inherited from interface systems.dennis.shared.controller.items.magic.MagicList

    copyTo, download, fetchFile, getDefaultField, getDescription, getPojoList, objectDetails

    Methods inherited from interface systems.dennis.shared.controller.forms.Serviceable

    getContext, getForm, getLog, getModel, getServiceClass

    Methods inherited from interface systems.dennis.shared.controller.items.Transformable

    afterTransformToDBType, afterTransformToForm, fromForm, getClassDescription, getContext, toForm, toFormPage, transformValueToFormType, transformValueToModelType, transformValueToTargetType

    Methods inherited from interface systems.dennis.shared.controller.forms.ValidateForm

    checkValidation, getClassOfForm, getContext, validate, validate, validate, validateField
  • Constructor Details

    • TableSettingController

      public TableSettingController(systems.dennis.shared.config.WebContext context)
  • 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:
      delete in interface systems.dennis.shared.controller.items.AbstractDeleteItemController<TableSettingModel,String>
      Specified by:
      delete in interface systems.dennis.shared.mongo.controller.DeleteItemController<TableSettingModel>
      Throws:
      systems.dennis.shared.exceptions.ItemForAddContainsIdException
    • getService

      public TableSettingService getService()
      Specified by:
      getService in interface systems.dennis.shared.controller.forms.Serviceable<TableSettingModel,String>