|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ControllerConstants
Miscellaneous useful controller-related constants:
| Field Summary | |
|---|---|
static java.lang.String |
_METHOD_PARAM
Used in REST render requests to select the render method ( view ) to execute; if it's not a default view. |
static java.lang.String |
_PAGE_PARAM
Used in custom login pages to maintain a reference to the required page. |
static java.lang.String |
_ROOT_PARAM
This parameters may be added to links in an application to indicate that the link must be created at the first part of the navigation flow ( just after the default stage in the navigation ). |
static java.lang.String |
DEFAULT_VIEW
System default logical view. |
static java.lang.String |
ERROR_URL
System error mapping. |
static java.lang.String |
ERROR_VIEW
System error logical view. |
static java.lang.String |
LOAD_CANCEL
This constant is used in links and as return value of actions to indicate that if one is in a group of stages in the flow, the page should return the the stage just previous to the start of the given group. |
static java.lang.String |
LOAD_CURRENT
This constant is used in links and as return value of actions to indicate that the current page in the navigation flow must be reloaded. |
static java.lang.String |
LOAD_DEFAULT
This constant is used in links and as return value of actions to indicate that the default stage in the navigation flow must be loaded. |
static java.lang.String |
LOAD_ERROR
This constant is used in return value of actions to indicate that the global error page must be called. |
static java.lang.String |
LOAD_PREVIOUS
This constant is used in links and as return value of actions to indicate that the previous page in the navigation flow must be reloaded. |
| Fields inherited from interface com.acsinet_solutions.cetia4.controller.AttributeKeys |
|---|
_BUNDLE_KEY, _CONFIGURATION_KEY, _DEFAULT_CONTROLLER_KEY, _FORM_ACTION_KEY, _FORM_ATTRIBUTE_KEY, _LOCALE_KEY, _MESSAGE_KEY, _NAVIGATION_FLOW_KEY, _PORTAL_PATH_KEY, _RENDER_PARAMETERS_KEY, _SERVICE_LOCATOR_KEY, _SESSION_KEY, _SYSTEM_EXCEPTION_KEY, _VALIDATION_EXCEPTION_KEY |
| Field Detail |
|---|
static final java.lang.String LOAD_CURRENT
For stateless web service actions, this constant ( or others ) has no effect ( except LOAD_ERROR ).
NavigationFlow.getCurrentStage(),
ControllerTools.getSpecialLink(NavigationFlow,String),
Constant Field Valuesstatic final java.lang.String LOAD_PREVIOUS
For stateless web service actions, this constant ( or others ) has no effect ( except LOAD_ERROR ).
NavigationFlow.getPreviousStage(),
ControllerTools.getSpecialLink(NavigationFlow,String),
Constant Field Valuesstatic final java.lang.String LOAD_CANCEL
For stateless web service actions, this constant ( or others ) has no effect ( except LOAD_ERROR ).
NavigationFlow.getCancelStage(),
ControllerTools.getSpecialLink(NavigationFlow,String),
Constant Field Valuesstatic final java.lang.String LOAD_DEFAULT
For stateless web service actions, this constant ( or others ) has no effect ( except LOAD_ERROR ).
NavigationFlow.getPreviousStage(),
ControllerTools.getSpecialLink(NavigationFlow,String),
DefaultController,
MainServlet,
Constant Field Valuesstatic final java.lang.String LOAD_ERROR
This return value is interpreted in web and web service calls. The error URL is called using redirection on web applications. The error view is called by the error servlet or by a web service action call. Special constants are defined for both error URL and error view name.
RestRequestHandlerBase.getSpecialRenderLink(WebServletRequestContext,String),
ERROR_URL,
ERROR_VIEW,
Constant Field Valuesstatic final java.lang.String _METHOD_PARAM
This is an HTTP parameter for use in URLs.
RequestContext.getMethod(),
RestServlet,
ControllerTools#getDefaultDeleteMethod(),
ControllerTools#getDefaultPostMethod(),
ControllerTools#getDefaultPutMethod(),
Constant Field Valuesstatic final java.lang.String _PAGE_PARAM
This is an HTTP parameter automatically used by the framework in login redirection URLs.
AbstractRestServlet.redirectToLoginPage(ServletRequestContext),
Constant Field Valuesstatic final java.lang.String _ROOT_PARAM
This is an HTTP parameter for use in URLs.
static final java.lang.String ERROR_URL
error
com.acsinet_solutions.cetia4.controller.support.ErrorServlet
error
/error
ErrorServlet,
Constant Field Valuesstatic final java.lang.String DEFAULT_VIEW
com.acsinet_solutions.cetia4.controller.rest.WebServiceActionRequestHandler#handleRequest(ServletRequestContext),
Constant Field Valuesstatic final java.lang.String ERROR_VIEW
ErrorServlet,
Constant Field Values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||