|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.navigation.LightNavigationManager
public class LightNavigationManager
The Class LightNavigationManager.
Field Summary | |
---|---|
static java.lang.String |
LIGHT_NAVIGATOR_BACK_TO
The Constant LIGHT_NAVIGATOR_BACK_TO. |
static java.lang.String |
LIGHT_NAVIGATOR_BACK_TO_MARK
The Constant LIGHT_NAVIGATOR_BACK_TO_MARK. |
static java.lang.String |
LIGHT_NAVIGATOR_DISABLED
The Constant LIGHT_NAVIGATOR_DISABLED. |
static java.lang.String |
LIGHT_NAVIGATOR_MARK
The Constant LIGHT_NAVIGATOR_MARK. |
static java.lang.String |
LIGHT_NAVIGATOR_REPLACE_LAST
The Constant LIGHT_NAVIGATOR_REPLACE_LAST. |
static java.lang.String |
LIGHT_NAVIGATOR_RESET
The Constant LIGHT_NAVIGATOR_RESET. |
Constructor Summary | |
---|---|
LightNavigationManager()
|
Method Summary | |
---|---|
static it.eng.spago.base.SourceBean |
controlLightNavigation(java.lang.Object request,
it.eng.spago.base.SourceBean serviceRequest)
This method is responsible for the requests stack (the LightNavigator ) modification. |
static it.eng.spago.base.SourceBean |
controlLightNavigation(javax.portlet.PortletRequest request,
it.eng.spago.base.SourceBean serviceRequest)
Control light navigation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LIGHT_NAVIGATOR_RESET
public static final java.lang.String LIGHT_NAVIGATOR_DISABLED
public static final java.lang.String LIGHT_NAVIGATOR_BACK_TO
public static final java.lang.String LIGHT_NAVIGATOR_REPLACE_LAST
public static final java.lang.String LIGHT_NAVIGATOR_BACK_TO_MARK
public static final java.lang.String LIGHT_NAVIGATOR_MARK
Constructor Detail |
---|
public LightNavigationManager()
Method Detail |
---|
public static it.eng.spago.base.SourceBean controlLightNavigation(javax.portlet.PortletRequest request, it.eng.spago.base.SourceBean serviceRequest) throws java.lang.Exception
request
- the requestserviceRequest
- the service request
java.lang.Exception
- the exceptionpublic static it.eng.spago.base.SourceBean controlLightNavigation(java.lang.Object request, it.eng.spago.base.SourceBean serviceRequest) throws java.lang.Exception
LightNavigator
) modification.
It controls if there is one of the following attributes in the service request:
LIGHT_NAVIGATOR_RESET
(requests stack is resetted);
LIGHT_NAVIGATOR_DISABLED
(the navigator is disabled: the stack is not modified and the original request is returned);
LIGHT_NAVIGATOR_BACK_TO
(the request in the stack at position represented by this attribute is returned);
LIGHT_NAVIGATOR_BACK_TO_MARK
(the request in the stack marked by the string represented by this attribute is returned);
LIGHT_NAVIGATOR_MARK
(the request at input is marked with the string represented by this attribute and put in the stack).
LIGHT_NAVIGATOR_REPLACE_LAST
(the more recent request is replaced by the request at input).
If any errors occur, the original request is returned.
serviceRequest
- The original service request SourceBean
request
- the request
SourceBean
java.lang.Exception
- the exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |