public class ExportHandler extends UIBeanHandler
BeanHandler.HandlerTrace
Modifier and Type | Field and Description |
---|---|
protected String |
componentIncludeJSP |
protected String |
kpiImportResultJSP |
static String |
KPIS_EXTENSION |
protected LocaleManager |
localeManager |
protected String |
mode |
static String |
MODE_EXPORT |
static String |
MODE_IMPORT |
static String |
PARAM_SECTION_ID |
static String |
PARAM_WORKSPACE_ID |
protected Map<String,Set<Long>> |
selectedSectionIds |
protected String |
selectedWorkspaceId |
Constructor and Description |
---|
ExportHandler() |
afterRenderBean, beforeRenderBean
actionVoid, addFieldError, afterInvokeAction, beforeInvokeAction, calculateActionShortcuts, clearFieldErrors, getActionForShortcut, getActionName, getBeanName, getFieldErrors, handle, hasError, isEnabledForActionHandling, isEnableDoubleClickControl, isUseActionShortcuts, setEnabledForActionHandling, setEnableDoubleClickControl, setUseActionShortcuts
public static final String MODE_EXPORT
public static final String MODE_IMPORT
public static final String PARAM_WORKSPACE_ID
public static final String PARAM_SECTION_ID
public static final String KPIS_EXTENSION
@Inject protected String componentIncludeJSP
@Inject protected String kpiImportResultJSP
@Inject protected LocaleManager localeManager
protected String selectedWorkspaceId
protected String mode
public static ExportHandler lookup()
@PostConstruct public void start()
start
in class BeanHandler
public String getBeanJSP()
getBeanJSP
in class UIBeanHandler
public void setComponentIncludeJSP(String componentIncludeJSP)
public String getKpiImportResultJSP()
public void setKpiImportResultJSP(String kpiImportResultJSP)
public String getSelectedWorkspaceId()
public void setSelectedWorkspaceId(String selectedWorkspaceId)
public String getMode()
public void setMode(String mode)
public WorkspaceImpl getSelectedWorkspace() throws Exception
Exception
public List<WorkspaceImpl> getWorkspacesWithKPIs() throws Exception
Exception
public List<Section> getSectionsWithKPIs(WorkspaceImpl workspace) throws Exception
Exception
public boolean isSectionSelected(Long sectionId)
public boolean isExportMode()
public boolean isImportMode()
public Set<Section> getSelectedSections(WorkspaceImpl workspace) throws Exception
Exception
public List<KPI> getSelectedKPIs(DataProvider dataProvider) throws Exception
Exception
public List<DataProvider> getSelectedDataProviders() throws Exception
Exception
public void actionSelectWorkspace(CommandRequest request) throws Exception
Exception
public void actionCheckSection(CommandRequest request) throws Exception
Exception
public void actionSelectAllSections(CommandRequest request) throws Exception
Exception
public void actionUnselectAllSections(CommandRequest request) throws Exception
Exception
public void actionClearSelectedKPIs(CommandRequest request) throws Exception
Exception
public CommandResponse actionExportSelectedKPIs(CommandRequest request) throws Exception
Exception
public CommandResponse actionImportKPIs(CommandRequest request)
public void actionGoBack(CommandRequest request)
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.