Esri Geoportal Server
1.0

com.esri.gpt.catalog.harvest.repository
Class HrDeleteRequest

java.lang.Object
  extended by com.esri.gpt.framework.sql.BaseDao
      extended by com.esri.gpt.framework.request.DaoRequest<RequestDefinition<HrCriteria,HrResult>>
          extended by com.esri.gpt.catalog.harvest.repository.HrRequest
              extended by com.esri.gpt.catalog.harvest.repository.HrDeleteRequest
All Implemented Interfaces:
IRequest<RequestDefinition<HrCriteria,HrResult>>

public class HrDeleteRequest
extends HrRequest

Repository delete request.


Constructor Summary
HrDeleteRequest(RequestContext requestContext, String[] uuids)
          Create instance of the request.
 
Method Summary
 void execute()
          Executes request.
 String[] getUuids()
          Gets uuids of records to delete.
 void setUuids(String[] uuids)
          Sets uuids of records to delete.
 
Methods inherited from class com.esri.gpt.catalog.harvest.repository.HrRequest
getActionCriteria, getActionResult, getHarvestingDataTableName, getHarvestingHistoryTableName, getHarvestingJobsCompletedTableName, getHarvestingJobTableName, getHarvestingTableName, getQueryCriteria, getQueryResult
 
Methods inherited from class com.esri.gpt.framework.request.DaoRequest
getRequestDefinition, setRequestDefinition
 
Methods inherited from class com.esri.gpt.framework.sql.BaseDao
appendExpression, appendValueFilter, closeResultSet, closeStatement, getApplicationConfiguration, getRequestContext, logExpression, returnConnection, setRequestContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HrDeleteRequest

public HrDeleteRequest(RequestContext requestContext,
                       String[] uuids)
Create instance of the request.

Parameters:
requestContext - request context
uuids - uuids of records to delete
Method Detail

getUuids

public String[] getUuids()
Gets uuids of records to delete.

Returns:
uuids of records to delete

setUuids

public void setUuids(String[] uuids)
Sets uuids of records to delete.

Parameters:
uuids - uuids of records to delete

execute

public void execute()
             throws SQLException
Executes request.

Throws:
SQLException - if request execution fails

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.