Class ScopeController

java.lang.Object
systems.dennis.shared.utils.ApplicationContext
systems.dennis.shared.scopes.controller.ScopeController
All Implemented Interfaces:
systems.dennis.shared.controller.forms.Serviceable<ScopeModel,Long>, systems.dennis.shared.controller.forms.ValidateForm<ScopeForm>, systems.dennis.shared.controller.items.AbstractAddItemController<ScopeModel,ScopeForm,Long>, systems.dennis.shared.controller.items.AbstractDeleteItemController<ScopeModel,Long>, systems.dennis.shared.controller.items.AbstractEditFieldItemController<ScopeModel,ScopeForm,Long>, systems.dennis.shared.controller.items.AbstractEditItemController<ScopeModel,ScopeForm,Long>, systems.dennis.shared.controller.items.AbstractSelfItemsListController<ScopeModel,ScopeForm,Long>, systems.dennis.shared.controller.items.Contextable, systems.dennis.shared.controller.items.magic.MagicForm<ScopeForm>, systems.dennis.shared.controller.items.magic.MagicList<ScopeModel,Long>, systems.dennis.shared.controller.items.Transformable<ScopeModel,ScopeForm>, systems.dennis.shared.postgres.controller.AddItemController<ScopeModel,ScopeForm>, systems.dennis.shared.postgres.controller.DeleteItemController<ScopeModel>, systems.dennis.shared.postgres.controller.EditItemController<ScopeModel,ScopeForm>, systems.dennis.shared.postgres.controller.SelfItemsListController<ScopeModel,ScopeForm>

@RestController @RequestMapping("/api/v2/shared/scope") @CrossOrigin public class ScopeController extends systems.dennis.shared.utils.ApplicationContext implements systems.dennis.shared.postgres.controller.AddItemController<ScopeModel,ScopeForm>, systems.dennis.shared.postgres.controller.EditItemController<ScopeModel,ScopeForm>, systems.dennis.shared.postgres.controller.SelfItemsListController<ScopeModel,ScopeForm>, systems.dennis.shared.postgres.controller.DeleteItemController<ScopeModel>
  • 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
    ScopeController(systems.dennis.shared.config.WebContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<ScopeForm>
     
     

    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.controller.items.AbstractEditFieldItemController

    editField

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

    modifySearchSpecification, onEmpty

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

    add

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

    getContext

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

    delete, deleteItems

    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, fetchData, fetchFile, fetchForm, getDefaultField, getDescription, getPojoList, objectDetails

    Methods inherited from interface systems.dennis.shared.postgres.controller.SelfItemsListController

    getData

    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

    • ScopeController

      public ScopeController(systems.dennis.shared.config.WebContext context)
  • Method Details

    • edit

      public org.springframework.http.ResponseEntity<ScopeForm> edit(ScopeForm form) throws systems.dennis.shared.exceptions.ItemForAddContainsIdException, systems.dennis.shared.exceptions.ItemDoesNotContainsIdValueException, systems.dennis.shared.exceptions.UnmodifiedItemSaveAttemptException, systems.dennis.shared.exceptions.ItemNotFoundException
      Specified by:
      edit in interface systems.dennis.shared.controller.items.AbstractEditItemController<ScopeModel,ScopeForm,Long>
      Specified by:
      edit in interface systems.dennis.shared.postgres.controller.EditItemController<ScopeModel,ScopeForm>
      Throws:
      systems.dennis.shared.exceptions.ItemForAddContainsIdException
      systems.dennis.shared.exceptions.ItemDoesNotContainsIdValueException
      systems.dennis.shared.exceptions.UnmodifiedItemSaveAttemptException
      systems.dennis.shared.exceptions.ItemNotFoundException
    • getService

      public ScopeService getService()
      Specified by:
      getService in interface systems.dennis.shared.controller.forms.Serviceable<ScopeModel,Long>