Search in sources :

Example 1 with XMLImporter

use of net.geoprism.registry.xml.XMLImporter in project geoprism-registry by terraframe.

the class GeoRegistryUtil method importTypes.

@Authenticate
public static void importTypes(String orgCode, InputStream istream) {
    Organization organization = Organization.getByCode(orgCode);
    XMLImporter xmlImporter = new XMLImporter();
    xmlImporter.importXMLDefinitions(organization, istream);
}
Also used : XMLImporter(net.geoprism.registry.xml.XMLImporter) Authenticate(com.runwaysdk.business.rbac.Authenticate)

Aggregations

Authenticate (com.runwaysdk.business.rbac.Authenticate)1 XMLImporter (net.geoprism.registry.xml.XMLImporter)1