Examples of HrCriteria


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

*/
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

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

      RequestContext context = onExecutionPhaseStarted();

      // check authorization
      authorizeAction(context);

      HrCriteria hc = getHarvestContext().getHarvestCriteria();
      hc.getActionCriteria().setUuid("");

    } catch (AbortProcessingException e) {
      throw (e);
    } catch (Throwable t) {
      handleException(t);
View Full Code Here

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

   * @param context request context
   * @param reload <code>true</code> to reload repository
   * @throws SQLException if accessing database fails
   */
  private void createEditor(RequestContext context, boolean reload) throws SQLException {
    HrCriteria hc = getHarvestContext().getHarvestCriteria();
    String uuid = hc.getActionCriteria().getUuid();

    HrRecord record = null;

    boolean doInit = false;
    boolean doClear = false;
View Full Code Here

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

/**
* Sets harvest repository criteria.
* @param harvestCriteria harvest repository criteria
*/
public void setHarvestCriteria(HrCriteria harvestCriteria) {
  _harvestCriteria = harvestCriteria!=null? harvestCriteria: new HrCriteria();
}
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.