com.esri.gpt.catalog.harvest.jobs
Class HjWithdrawRequest
java.lang.Object
com.esri.gpt.framework.sql.BaseDao
com.esri.gpt.framework.request.DaoRequest<RequestDefinition<HjCriteria,HjResult>>
com.esri.gpt.catalog.harvest.jobs.HjRequest
com.esri.gpt.catalog.harvest.jobs.HjWithdrawRequest
- All Implemented Interfaces:
- IRequest<RequestDefinition<HjCriteria,HjResult>>
public class HjWithdrawRequest
- extends HjRequest
Withdraw a single resource.
Method Summary |
boolean |
execute()
Executes request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HjWithdrawRequest
public HjWithdrawRequest(RequestContext requestContext,
String[] resourceUuids)
- Creates instance of the request.
- Parameters:
requestContext
- request contextresourceUuids
- resource UUIDs
execute
public boolean execute()
throws SQLException
- Executes request.
- Returns:
true
if records has been found and deleted
- Throws:
SQLException
- if deleting jobs fails
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.