Package org.fao.geonet.kernel.harvest.harvester

Examples of org.fao.geonet.kernel.harvest.harvester.CategoryMapper


    //-----------------------------------------------------------------------
    //--- retrieve all local categories and groups
    //--- retrieve harvested uuids for given harvesting node

    localCateg = new CategoryMapper(context);
    localGroups= new GroupMapper(context);
    localUuids = new UUIDMapper(context.getBean(MetadataRepository.class), params.uuid);

        dataMan.flush();
View Full Code Here


      // --- Loading results
      List<Document> list = s.presentDocuments(context, request, config);

      // --- Loading categories and groups
      localCateg = new CategoryMapper(context);
      localGroups = new GroupMapper(context);

            if(log.isDebugEnabled())
                log.debug("There are "+(list.size()-1)+" children in the results ("+lower+" to "+upper+")");
View Full Code Here

  //---
  //---------------------------------------------------------------------------

  public void doHarvest(Logger log) throws Exception
  {
    CategoryMapper localCateg = new CategoryMapper(context);

        XmlRequest req = context.getBean(GeonetHttpRequestFactory.class).createXmlRequest(params.host);

        servletName = req.getAddress();
View Full Code Here

   {
    if (capa == null)
      return;

    //--- Loading categories and groups
    localCateg   = new CategoryMapper (context);
    localGroups = new GroupMapper (context);

    // md5 the full capabilities URL
    String uuid = Sha1Encoder.encodeString (this.capabilitiesUrl); // is the service identifier
   
View Full Code Here

    if (fragments == null || !fragments.getName().equals("records")) {
      throw new BadXmlResponseEx("<records> not found in response: \n"+Xml.getString(fragments));
    }

    //--- Loading categories and groups
    localCateg   = new CategoryMapper (context);
    localGroups = new GroupMapper (context);

    @SuppressWarnings("unchecked")
        List<Element> recs = fragments.getChildren();
   
View Full Code Here

TOP

Related Classes of org.fao.geonet.kernel.harvest.harvester.CategoryMapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.