Package com.inductiveautomation.snap.web
Class WebSiteImporter
- java.lang.Object
-
- com.inductiveautomation.snap.web.WebSiteImporter
-
public class WebSiteImporter extends java.lang.Object
This class provides functionality to import a list of connected maps.
-
-
Constructor Summary
Constructors Constructor Description WebSiteImporter(WebSite aSite)
Creates a new WebSiteImporter with given data site.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Row
createRow(Entity anEntity, java.util.Map aMap)
Imports a map.Row
createRow(java.lang.String anEntityName, java.util.Map aMap)
Creates a new row for given entity name and map.void
createRowDeep(java.util.Map aMap, Row aRow)
Creates a row deep.WebSite
getSite()
Returns importer data site.void
saveRows()
Save rows.
-
-
-
Constructor Detail
-
WebSiteImporter
public WebSiteImporter(WebSite aSite)
Creates a new WebSiteImporter with given data site.
-
-
Method Detail
-
getSite
public WebSite getSite()
Returns importer data site.
-
createRow
public Row createRow(java.lang.String anEntityName, java.util.Map aMap)
Creates a new row for given entity name and map.
-
createRowDeep
public void createRowDeep(java.util.Map aMap, Row aRow)
Creates a row deep.
-
saveRows
public void saveRows()
Save rows.
-
-