public class RunImport extends AbstractAdminAction
| Modifier and Type | Field and Description |
|---|---|
protected String |
genericClassName |
protected ImportService |
importService |
protected Class<?> |
klass |
protected File |
source1 |
protected String |
source1ContentType |
protected String |
source1FileName |
protected File |
source2 |
protected String |
source2ContentType |
protected String |
source2FileName |
AUTHORITY_BASE_CLASSES, authorityBaseClassNames, authorityClasses, GET_CLASS_NAME, REFERENTIAL_BASE_CLASSES, referentialBaseClassNames, referentialClasses, serviceattachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, ERROR_LAYOUT_DATA, gson, layoutData, 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 |
setSource1ContentType(String source1ContentType) |
void |
setSource1FileName(String source1FileName) |
void |
setSource2(File source2) |
void |
setSource2ContentType(String source2ContentType) |
void |
setSource2FileName(String source2FileName) |
void |
validate() |
checkIsAdmin, getAuthorityClasses, getReferentialClasses, prepare, resetAuthorityBaseClassesList, resetReferentialBaseClassesList, setService, sortFromI18ngetAttachmentCount, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getLayoutData, getNavigationContext, getNextActionName, getNextParamValue, getRichNavigationContext, getSession, getWarningNotifications, initForInput, initLayoutData, isCurrentUserAnAdmin, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, setAttachmentService, 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 String source1FileName
protected String source2FileName
protected String source1ContentType
protected String source2ContentType
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 setSource1FileName(String source1FileName)
public void setSource2FileName(String source2FileName)
public void setSource1ContentType(String source1ContentType)
public void setSource2ContentType(String source2ContentType)
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.