genericsyncexample1/Constants.java
package genericsyncexample1;
public interface Constants {
// MI Application Name ** is also used by the MDK developer plug-in to define the correct archive name
String MI_APPLICATION_NAME = "MDK_genericsync_simpleJSP";
// Inputfields in welcome.jsp
String NAME_OF_USER = "NAME_OF_USER";
String SYNC_PASSWORD = "SYNC_PASSWORD";
// Events
String EVENT_NAME = "name";
// General text
String WELCOME_MESSAGE =
"Hello. I am a Mobile Infrastructure Client application. Who are you ?";
String WELCOME_MESSAGE_TRAILER = "Welcome ";
String WELCOME_MESSAGE_FOR_USER =
". Here is your current user information from the Web AS:";
String ERROR_MESSAGE_FOR_USER =
". The synchronization did fail with error message:";
// JSP Names
String INITIAL_JSP = "/jsp/welcome.jsp";
String TABLEVIEW_JSP = "/jsp/tableView.jsp";
// Context attributes
String CONTEXT_BEAN = "dataBean";
// R3 function name for getting user information.
String R3_METHOD_GET_USER_INFO = "MDK_USER_INFO_READ";
// Datacontainer import parameter name (user name).
String DC_I_USER_NAME = "USER_NAME";
// Datacontainer export parameter name. Contains the requested user
String DC_E_USER_INFORMATION = "USER_myUSR03";
}