Dashboard Builder Data Displayer API 6.1.0.CR2

org.jboss.dashboard.export
Interface ImportManager


public interface ImportManager

Dashboard import manager.


Method Summary
 ImportOptions createImportOptions()
           
 ImportResults createImportResults()
           
 ImportResults parse(InputStream xml)
          Creates elements (KPI, DataProvider ,..) parsing the specified XML stream.
 ImportResults parse(InputStream xml, ImportOptions options)
          Creates elements (KPI, DataProvider ,..) parsing the specified XML stream.
 ImportResults parse(NodeList xmlNodes, ImportOptions options)
          Creates elements (KPI, DataProvider ,..) parsing the specified XML nodes.
 ImportResults parse(String xml)
          Creates elements (KPI, DataProvider ,..) parsing the specified XML fragment.
 ImportResults parse(String xml, ImportOptions options)
          Creates elements (KPI, DataProvider ,..) parsing the specified XML fragment.
 void save(ImportResults importResults)
          Save the elements (KPI, DataProvider) contained in the import results instance.
 void update(ImportResults importResults)
          Updates the elements (KPI, DataProvider) contained in the import results instance.
 

Method Detail

createImportOptions

ImportOptions createImportOptions()

createImportResults

ImportResults createImportResults()

save

void save(ImportResults importResults)
          throws Exception
Save the elements (KPI, DataProvider) contained in the import results instance. The ImportResults message list gives us feedback about any problem found while saving.

Throws:
Exception - If the specified import results contains ERROR messages.

update

void update(ImportResults importResults)
            throws Exception
Updates the elements (KPI, DataProvider) contained in the import results instance. The ImportResults message list gives us feedback about any problem found while saving.

Throws:
Exception - If the specified import results contains ERROR messages.

parse

ImportResults parse(String xml)
                    throws Exception
Creates elements (KPI, DataProvider ,..) parsing the specified XML fragment.

Throws:
Exception

parse

ImportResults parse(InputStream xml)
                    throws Exception
Creates elements (KPI, DataProvider ,..) parsing the specified XML stream.

Throws:
Exception

parse

ImportResults parse(String xml,
                    ImportOptions options)
                    throws Exception
Creates elements (KPI, DataProvider ,..) parsing the specified XML fragment.

Throws:
Exception

parse

ImportResults parse(InputStream xml,
                    ImportOptions options)
                    throws Exception
Creates elements (KPI, DataProvider ,..) parsing the specified XML stream.

Throws:
Exception

parse

ImportResults parse(NodeList xmlNodes,
                    ImportOptions options)
                    throws Exception
Creates elements (KPI, DataProvider ,..) parsing the specified XML nodes.

Throws:
Exception

Dashboard Builder Data Displayer API 6.1.0.CR2

Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.