public class RunExport extends AbstractAdminAction
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
entityIds |
protected ExportService |
exportService |
protected String |
genericClassName |
AUTHORITY_BASE_CLASSES, authorityBaseClassNames, authorityClasses, GET_CLASS_NAME, REFERENTIAL_BASE_CLASSES, referentialBaseClassNames, referentialClasses, serviceattachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, ERROR_LAYOUT_DATA, gson, layoutData, 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 |
setEntityIds(List<String> entityIds) |
void |
setGenericClassName(String genericClassName) |
void |
setImportService(ExportService exportService) |
checkIsAdmin, getAuthorityClasses, getReferentialClasses, prepare, resetAuthorityBaseClassesList, resetReferentialBaseClassesList, setService, sortFromI18ngetAttachmentCount, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getLayoutData, getNavigationContext, getRichNavigationContext, getSession, getWarningNotifications, initForInput, initLayoutData, isCurrentUserAnAdmin, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, removeValuesFromMap, setAttachmentService, setAuthorizationService, setConfig, setNavigationContextService, 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, setFieldErrors, validateprotected ExportService exportService
protected String genericClassName
public void setImportService(ExportService exportService)
public void setGenericClassName(String genericClassName)
public String getGenericClassName()
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–2014 Inra. All rights reserved.