Package org.openbravo.test.base.mock
Class VariablesSecureAppMock
- java.lang.Object
-
- org.openbravo.base.VariablesBase
-
- org.openbravo.base.secureApp.VariablesSecureApp
-
- org.openbravo.test.base.mock.VariablesSecureAppMock
-
public class VariablesSecureAppMock extends VariablesSecureApp
A mocked VariablesSecureApp to be used to create test requests.- Author:
- alostale
-
-
Field Summary
-
Fields inherited from class org.openbravo.base.VariablesBase
isMultipart
-
-
Constructor Summary
Constructors Constructor Description VariablesSecureAppMock()
Creates a mock based on current session settings.VariablesSecureAppMock(Map<String,String> mockedParams)
Creates a mock based on current session settings,mockedParams
will be use to return parameter values through#getStringParameter(String)
method.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getStringParameter(String parameter)
-
Methods inherited from class org.openbravo.base.secureApp.VariablesSecureApp
commandIn, getAccessLevel, getClient, getCommand, getDBSession, getEditionData, getJavaDataTimeFormat, getJavaDateFormat, getJsDateFormat, getLanguage, getMessage, getOrg, getRole, getSqlDateFormat, getTheme, getUser, getUserClient, getUserOrg, getWarehouse, removeEditionData, removeMessage, setEditionData, setMessage
-
Methods inherited from class org.openbravo.base.VariablesBase
clearSession, getGlobalVariable, getGlobalVariable, getGlobalVariable, getGlobalVariable, getGlobalVariable, getGlobalVariable, getInGlobalVariable, getInGlobalVariable, getInGlobalVariable, getInGlobalVariable, getInGlobalVariable, getInGlobalVariable, getInParameter, getInParameter, getInParameter, getInParameter, getInParameter, getInParameter, getInStringParameter, getInStringParameter, getInStringParameter, getInStringParameter, getInStringParameter, getInStringParameter, getListFromInString, getMultiFile, getMultiParameter, getMultiParameter, getMultiParameters, getMultiParameters, getMultiValueStringParameter, getNumericGlobalVariable, getNumericParameter, getNumericParameter, getNumericRequestGlobalVariable, getParameterNames, getPostDataHash, getRequestGlobalVariable, getRequestGlobalVariable, getRequestInGlobalVariable, getRequestInGlobalVariable, getRequiredGlobalVariable, getRequiredGlobalVariable, getRequiredInGlobalVariable, getRequiredInGlobalVariable, getRequiredInParameter, getRequiredInParameter, getRequiredInputGlobalVariable, getRequiredInputGlobalVariable, getRequiredInStringParameter, getRequiredInStringParameter, getRequiredNumericParameter, getRequiredNumericParameter, getRequiredStringParameter, getRequiredStringParameter, getSessionObject, getSessionValue, getSessionValue, getStringParameter, getStringParameter, getStringParameter, getStringParameter, getStringParameter, hasParameter, removeSessionValue, setSessionObject, setSessionObject, setSessionValue
-
-
-
-
Method Detail
-
getStringParameter
public String getStringParameter(String parameter)
- Overrides:
getStringParameter
in classVariablesBase
- See Also:
VariablesBase.getStringParameter(String,RequestFilter)
-
-