Package com.esri.gpt.control.webharvest.engine

Examples of com.esri.gpt.control.webharvest.engine.Harvester.submit()


* @return <code>true</code> if job has been created
*/
private boolean insertJob(HrRecord record, Integer maxRecs, Date fromDate) {
  ApplicationContext appCtx = ApplicationContext.getInstance();
  Harvester harvester = appCtx.getHarvestingEngine();
  return harvester.submit(getRequestContext(), record, maxRecs, fromDate);
}

/**
* Reads all the records from uuids.
* @param uuids uuids of the selected records.
View Full Code Here


    }

    // NEW in 10.0;  notify update
    Harvester harvestEngine = getRequestContext().getApplicationContext().getHarvestingEngine();
    if (_repository.getIsHarvestDue()) {
      harvestEngine.submit(getRequestContext(), _repository, null, _repository.getLastSyncDate());
    }
    harvestEngine.reselect();

  } catch (Exception ex) {
    if (con!=null) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.