Interface INavigateContext
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ILightboxContext
A navigation context structure
- Since:
- 2.1, 23/02/2011
- Author:
- vlygeros
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGets the caller navigate context.Gets the class name of the screen.Gets the inner context object.Gets the display name of the displayed object.Gets the method name of the screen.Gets the identifier of the displayed object.Gets the named parameters.getParameterObject(String key) Gets a java.lang.Object parameter.getParameterString(String key) Gets a java.lang.String parameter.String[]Gets all the parameter's values from a key.Gets the associated provider.voidremoveParameter(String key) Removes a parameter from the map.voidsetClassName(String className) Sets the class name of the screen.voidsetDisplayName(String displayName) Sets the display name of the displayed object.voidsetMethodName(String methodName) Sets the method name of the screen.voidsetObjectName(String objectName) Sets the identifier of the displayed object.voidsetParameter(String key, Object value) Sets a new object parameter.voidsetParameter(String key, String value) Sets a new string parameter.voidsetParameter(String key, String[] values) Sets several values for a specified key.voidsetParameters(Map<String, Object> map) Sets the named parameters map.
-
Method Details
-
getClassName
String getClassName()Gets the class name of the screen.- Returns:
- A java.lang.String value.
-
setClassName
Sets the class name of the screen.- Parameters:
className- The class name of the screen.
-
getMethodName
String getMethodName()Gets the method name of the screen.- Returns:
- A java.lang.String value.
-
setMethodName
Sets the method name of the screen.- Parameters:
methodName- The method name of the screen.
-
getObjectName
String getObjectName()Gets the identifier of the displayed object.- Returns:
- The identifier as a java.lang.String.
-
setObjectName
Sets the identifier of the displayed object.- Parameters:
objectName- The identifier.
-
getDisplayName
String getDisplayName()Gets the display name of the displayed object.- Returns:
- A java.lang.String value.
-
setDisplayName
Sets the display name of the displayed object.- Parameters:
displayName- The display name to set.
-
getCallerContext
INavigateContext getCallerContext()Gets the caller navigate context.- Returns:
- A
INavigateContextobject.
-
getParameterMap
Gets the named parameters.- Returns:
- A
Mapof parameters.
-
setParameters
Sets the named parameters map.- Parameters:
map- TheMapobject to set.
-
getParameterString
Gets a java.lang.String parameter.- Parameters:
key- The key of the parameter.- Returns:
- The parameter as a java.lang.String value.
-
setParameter
Sets a new string parameter.- Parameters:
key- The key of the parameter.value- The value of the parameter.
-
getParameterObject
Gets a java.lang.Object parameter.- Parameters:
key- The key of the parameter.- Returns:
- The parameter as a java.lang.Object value.
-
setParameter
Sets a new object parameter.- Parameters:
key- The key of the parameter.value- The value of the parameter.
-
getParameterStrings
Gets all the parameter's values from a key.- Parameters:
key- The key of the parameter.- Returns:
- An array of java.lang.String values.
-
setParameter
Sets several values for a specified key.- Parameters:
key- The key of the parameter.values- The values to set.
-
removeParameter
Removes a parameter from the map.- Parameters:
key- The key of the parameter.
-
getProvider
IProvider getProvider()Gets the associated provider.- Returns:
- A
IProviderobject.
-
getContext
INavigateContext getContext()Gets the inner context object.- Returns:
- A
INavigateContextobject.
-