public class RunImport extends AbstractAdminAction
| Modifier and Type | Field and Description |
|---|---|
protected String |
genericClassName |
protected ImportService |
importService |
protected Class<?> |
klass |
protected File |
source1 |
protected File |
source2 |
protected File |
source3 |
AUTHORITY_BASE_CLASSES, authorityBaseClassNames, authorityClasses, GET_CLASS_NAME, REFERENTIAL_BASE_CLASSES, referentialBaseClassNames, referentialClasses, serviceauthorizationService, config, currentUserAnAdmin, gson, navigationContextService, nextActionName, nextParamValue, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
RunImport() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
String |
getGenericClassName() |
protected void |
required(File... sources) |
void |
setGenericClassName(String genericClassName) |
void |
setImportService(ImportService importService) |
void |
setSource1(File source1) |
void |
setSource2(File source2) |
void |
setSource3(File source3) |
void |
validate() |
checkIsAdmin, getAuthorityClasses, getReferentialClasses, prepare, setService, sortFromI18ngetConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getNavigationContext, getNextActionName, getNextParamValue, getRichNavigationContext, getSession, getWarningNotifications, initForInput, isCurrentUserAnAdmin, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, setAuthorizationService, setConfig, setNavigationContextService, setNextActionName, setNextParamValue, setNotificationSupport, setParameters, setServletRequest, setServletResponse, setSession, toJson, verifyAndSaveNavigationContext, writeNavigationContextCookieaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsprotected ImportService importService
protected String genericClassName
protected Class<?> klass
protected File source1
protected File source2
protected File source3
public void setImportService(ImportService importService)
public void setGenericClassName(String genericClassName)
public String getGenericClassName()
public void setSource1(File source1)
public void setSource2(File source2)
public void setSource3(File source3)
protected void required(File... sources)
public void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportCopyright © 2013 Inra. All rights reserved.