public class ExportHandler extends UIComponentHandlerFactoryElement
HandlerFactoryElement.HandlerTrace
Modifier and Type | Field and Description |
---|---|
protected String |
componentIncludeJSP |
protected String |
kpiImportResultJSP |
protected LocaleManager |
localeManager
The locale manager.
|
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() |
afterRenderComponent, beforeRenderComponent, getName
actionVoid, addFieldError, afterInvokeAction, beforeInvokeAction, calculateActionShortcuts, clearFieldErrors, getActionForShortcut, getActionName, getFieldErrors, handle, hasError, isEnabledForActionHandling, isEnableDoubleClickControl, isScopeAdequateForDoubleClickControl, isUseActionShortcuts, setEnabledForActionHandling, setEnableDoubleClickControl, setUseActionShortcuts
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, stop
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
protected String componentIncludeJSP
protected String kpiImportResultJSP
protected String selectedWorkspaceId
protected String mode
protected LocaleManager localeManager
public static ExportHandler lookup()
public void start() throws Exception
start
in interface org.jboss.dashboard.factory.FactoryLifecycle
start
in class HandlerFactoryElement
Exception
public String getComponentIncludeJSP()
getComponentIncludeJSP
in class UIComponentHandlerFactoryElement
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-2014 JBoss by Red Hat. All Rights Reserved.