Esri Geoportal Server
1.0

com.esri.gpt.catalog.harvest.history
Class HeDeleteRequest

java.lang.Object
  extended by com.esri.gpt.framework.sql.BaseDao
      extended by com.esri.gpt.framework.request.DaoRequest<RequestDefinition<HeCriteria,HeResult>>
          extended by com.esri.gpt.catalog.harvest.history.HeRequest
              extended by com.esri.gpt.catalog.harvest.history.HeDeleteRequest
All Implemented Interfaces:
IRequest<RequestDefinition<HeCriteria,HeResult>>

public class HeDeleteRequest
extends HeRequest

Harvest history events delete request.


Constructor Summary
HeDeleteRequest(RequestContext requestContext, String[] uuids)
          Creates instance of the request.
 
Method Summary
 void execute()
          Executes request.
 String[] getUuids()
          Gets uuid's of harvest history events to delete.
 void setUuids(String[] uuids)
          Sets uuid's of harvest history events to delete.
 
Methods inherited from class com.esri.gpt.catalog.harvest.history.HeRequest
getActionCriteria, getActionResult, getHarvestingHistoryTableName, 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

HeDeleteRequest

public HeDeleteRequest(RequestContext requestContext,
                       String[] uuids)
Creates instance of the request.

Parameters:
requestContext - request context
uuids - uuid's of harvest history events to delete.
Method Detail

getUuids

public String[] getUuids()
Gets uuid's of harvest history events to delete.

Returns:
uuid's of harvest history events to delete

setUuids

public void setUuids(String[] uuids)
Sets uuid's of harvest history events to delete.

Parameters:
uuids - uuid's of harvest history events to delete

execute

public void execute()
             throws SQLException
Executes request.

Throws:
SQLException - if error accessing database.

Esri Geoportal Server
1.0

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