Package com.esri.gpt.catalog.harvest.repository

Examples of com.esri.gpt.catalog.harvest.repository.HrResult


*/
private void executeSynchronization(ActionEvent event, RequestContext context, MmdActionCriteria actionCriteria) throws Exception {
  StringSet uuids = actionCriteria.getSelectedRecordIdSet();
  String[] aUuids = uuids.toArray(new String[uuids.size()]);
  HrHarvestRequest hrvFullRequest =
    new HrHarvestRequest(context,aUuids,HjRecord.JobType.Now,new HrCriteria(),new HrResult());
  hrvFullRequest.execute();
  if (hrvFullRequest.getActionResult().getNumberOfRecordsModified() > 0) {
    extractMessageBroker().addSuccessMessage(
      "catalog.harvest.manage.message.synchronized",
      new Object[]{Integer.toString(hrvFullRequest.getActionResult().
View Full Code Here


   * Sets harvest result.
   *
   * @param result harvest result
   */
  public void setResult(HrResult result) {
    _result = result != null ? result : new HrResult();
  }
View Full Code Here

TOP

Related Classes of com.esri.gpt.catalog.harvest.repository.HrResult

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.