|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.objectplanet.survey.plugin.PluginConstants
Constants for plugins
| Field Summary | |
static java.lang.String |
PARAM_CLASS_NAME
Parameter name: plugin class name |
static java.lang.String |
PARAM_FUNCTION_NO
Parameter name: function number |
static java.lang.String |
PARAM_ORIGINAL_QUERY_STRING
Parameter name: original query string, used internal in Opinio to produce the correct default plugin url. |
static java.lang.String |
PARAM_UPLOAD_FILE_NAME_1
File name of the first file to upload |
static java.lang.String |
PARAM_UPLOAD_FILE_NAME_2
File name of the second file to upload |
static java.lang.String |
PARAM_UPLOAD_FILE_NAME_3
File name of the third file to upload |
static java.lang.String |
PARAM_UPLOAD_FILE_NAME_4
File name of the fourth file to upload |
static java.lang.String |
PARAM_UPLOAD_FILE_NAME_BASE
Name base for files to upload. |
static java.lang.String |
PROPERTIES_PREFIX
Plugin properties prefix (all properties in the property file start with "plugin" |
static java.lang.String |
PROPERTY_BUILD
Constant for plugin property: plugin build (property plugin. |
static java.lang.String |
PROPERTY_DOCS
Constant for plugin property: plugin docs (property plugin. |
static java.lang.String |
PROPERTY_NAME
Constant for plugin property: plugin name (property plugin. |
static java.lang.String |
PROPRETY_AUTHOR
Constant for plugin property: plugin author (property plugin. |
static java.lang.String |
PROPRETY_VERSION
Constant for plugin property: plugin version (property plugin. |
static java.lang.String |
RESOURCE_HTTP_REQUEST
Key for the resource of type HttpRequest in the resource map |
static java.lang.String |
RESOURCE_HTTP_RESPONCE
Key for the resource of type HttpResponse in the resource map |
static java.lang.String |
RESOURCE_UPLOAD_FILES
Key for the resource of type upload files in the resource map. |
static java.lang.String |
SESSION_ATTRIBUTE_USER_ID
Constant for session attribute User id. |
| Constructor Summary | |
PluginConstants()
|
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String RESOURCE_HTTP_REQUEST
public static final java.lang.String RESOURCE_HTTP_RESPONCE
public static final java.lang.String RESOURCE_UPLOAD_FILES
public ProcessResult processFunctionHTML(int functionNo, HashMap resources) {
ArrayList uploadFiles = (ArrayList) resources.get(PluginConstants.RESOURCE_UPLOAD_FILES);
if (uploadFiles.size() > 0) {
FormFile firstUploadFile = uploadFiles.get(0);
}
}
IMPORTANT - when creating html for upload files, make sure that files are named as
PARAM_UPLOAD_FILE_NAME_1, PARAM_UPLOAD_FILE_NAME_2, ..
public static final java.lang.String PARAM_UPLOAD_FILE_NAME_BASE
public static final java.lang.String PARAM_UPLOAD_FILE_NAME_1
public static final java.lang.String PARAM_UPLOAD_FILE_NAME_2
public static final java.lang.String PARAM_UPLOAD_FILE_NAME_3
public static final java.lang.String PARAM_UPLOAD_FILE_NAME_4
public static final java.lang.String PARAM_FUNCTION_NO
public static final java.lang.String PARAM_CLASS_NAME
public static final java.lang.String PARAM_ORIGINAL_QUERY_STRING
public static final java.lang.String PROPERTIES_PREFIX
public static final java.lang.String PROPERTY_NAME
public static final java.lang.String PROPRETY_VERSION
public static final java.lang.String PROPRETY_AUTHOR
public static final java.lang.String PROPERTY_BUILD
public static final java.lang.String PROPERTY_DOCS
public static final java.lang.String SESSION_ATTRIBUTE_USER_ID
| Constructor Detail |
public PluginConstants()
|
Copyright © ObjectPlanet Inc. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||