public class RunExport extends AbstractAdminAction
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
emptyFile |
protected List<String> |
entityIds |
protected ExportService |
exportService |
protected String |
genericClassName |
authorityClasses, GET_CLASS_NAME, referentialClasses, serviceapplicationContext, attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, currentUserAnIsDataProcessor, ERROR_LAYOUT_DATA, gson, layoutData, messageService, navigationContextService, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
RunExport() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
String |
getFilename() |
String |
getGenericClassName() |
InputStream |
getInputStream() |
void |
setEmptyFile(boolean emptyFile) |
void |
setEntityIds(List<String> entityIds) |
void |
setGenericClassName(String genericClassName) |
void |
setImportService(ExportService exportService) |
checkIsAdmin, getAuthorityClasses, getReferentialClasses, prepare, resetAuthorityBaseClassesList, resetReferentialBaseClassesList, setService, sortFromI18ngetAttachmentCount, getBroadcastMessages, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getIsBroadcastMessagesEmpty, getIsFirstTimeMessageRead, getLayoutData, getNavigationContext, getRichNavigationContext, getServletInfo, getSession, getSessionId, getWarningNotifications, initForInput, initLayoutData, isCurrentUserAnAdmin, isCurrentUserAnIsDataProcessor, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, setApplicationContext, setAttachmentService, setAuthorizationService, setConfig, setMessageService, setNavigationContextService, setNotificationSupport, setParameters, setServletRequest, setServletResponse, setSession, toJson, toTrueMap, 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, setFieldErrors, validateprotected transient ExportService exportService
protected String genericClassName
protected boolean emptyFile
public void setImportService(ExportService exportService)
public void setGenericClassName(String genericClassName)
public String getGenericClassName()
public void setEmptyFile(boolean emptyFile)
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic InputStream getInputStream()
public String getFilename()
Copyright © 2013–2015 Inra. All rights reserved.