Esempio n. 1
0
 @SuppressWarnings("rawtypes")
 public static Vector createComboParameter(String parameter, String values, String description) {
   return ParameterUtil.createParameterDefinition(
       parameter,
       "",
       ParameterType.PARAM_COMBOBOX,
       StringUtil.toStringVector(values, StringPool.COMMA),
       description);
 }
Esempio n. 2
0
 @SuppressWarnings("rawtypes")
 public static Vector createMaskParameter(String parameter, String mask, String description) {
   return ParameterUtil.createParameterDefinition(
       parameter, "", ParameterType.PARAM_TEXTBOX_MASK, mask, description);
 }
Esempio n. 3
0
 @SuppressWarnings("rawtypes")
 public static Vector createPasswordParameter(String parameter, String description) {
   return ParameterUtil.createParameterDefinition(
       parameter, "", ParameterType.PARAM_PASSWORD, "", description);
 }
Esempio n. 4
0
 @SuppressWarnings("rawtypes")
 public static Vector createTextParameter(String parameter, int length, String description) {
   return ParameterUtil.createParameterDefinition(
       parameter, "", ParameterType.PARAM_TEXTBOX_MAX, length, description);
 }