@groovy.util.logging.Slf4j @io.micronaut.security.annotation.Secured(value: OPERATOR) @io.micronaut.http.annotation.Controller(value: /selection) class SelectionController extends org.simplemes.eframe.controller.BaseController
The controller for the core MES selection activities.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
WORK_CENTER_ELEMENT |
The user preference element the current work center is stored under. |
Fields inherited from class | Fields |
---|---|
class org.simplemes.eframe.controller.BaseController |
__$stMC |
Constructor and description |
---|
SelectionController
() |
Type Params | Return Type | Name and description |
---|---|---|
|
org.simplemes.eframe.controller.StandardModelAndView |
changeWorkCenterDialog(io.micronaut.http.HttpRequest request, java.security.Principal principal) Displays the change work center dialog contents. |
|
void |
workCenterChanged(java.lang.String body, java.security.Principal principal) Saves the given work center preference value into the user's preferences for the give element. |
|
org.simplemes.eframe.controller.StandardModelAndView |
workCenterSelection(io.micronaut.http.HttpRequest request, java.security.Principal principal) Displays the work center selection dashboard activity. |
Methods inherited from class | Name |
---|---|
class org.simplemes.eframe.controller.BaseController |
org.simplemes.eframe.controller.BaseController#error(io.micronaut.http.HttpRequest, java.lang.Throwable), org.simplemes.eframe.controller.BaseController#getMetaClass(), org.simplemes.eframe.controller.BaseController#setMetaClass(groovy.lang.MetaClass), org.simplemes.eframe.controller.BaseController#buildErrorResponse(java.lang.String), org.simplemes.eframe.controller.BaseController#buildOkResponse(java.lang.Object), org.simplemes.eframe.controller.BaseController#buildOkResponse(), org.simplemes.eframe.controller.BaseController#buildDeniedResponse(io.micronaut.http.HttpRequest, java.lang.String, java.security.Principal), org.simplemes.eframe.controller.BaseController#parseBody(io.micronaut.http.HttpRequest, java.lang.Class), org.simplemes.eframe.controller.BaseController#wait(long, int), org.simplemes.eframe.controller.BaseController#wait(), org.simplemes.eframe.controller.BaseController#wait(long), org.simplemes.eframe.controller.BaseController#equals(java.lang.Object), org.simplemes.eframe.controller.BaseController#toString(), org.simplemes.eframe.controller.BaseController#hashCode(), org.simplemes.eframe.controller.BaseController#getClass(), org.simplemes.eframe.controller.BaseController#notify(), org.simplemes.eframe.controller.BaseController#notifyAll(), org.simplemes.eframe.controller.BaseController#getProperty(java.lang.String), org.simplemes.eframe.controller.BaseController#setProperty(java.lang.String, java.lang.Object), org.simplemes.eframe.controller.BaseController#invokeMethod(java.lang.String, java.lang.Object) |
The user preference element the current work center is stored under. Also used as the preference key.
Displays the change work center dialog contents.
request
- The request.principal
- The user.Saves the given work center preference value into the user's preferences for the give element.
Displays the work center selection dashboard activity.
request
- The request.principal
- The user.