|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.framework.sql.BaseDao
com.esri.gpt.framework.request.DaoRequest<RequestDefinition<HrCriteria,HrResult>>
com.esri.gpt.catalog.harvest.repository.HrRequest
com.esri.gpt.catalog.harvest.repository.HrUpdateRequest
public class HrUpdateRequest
Harvest repository update request.
Allows to store harvest repository data in the database. If the harvest repository has no uuid defined, it will be a new hr created with new uuid. If has, current hr will be overwriten.
| Constructor Summary | |
|---|---|
HrUpdateRequest(RequestContext requestContext,
User owner,
HrRecord record)
Create instance of the request. |
|
| Method Summary | |
|---|---|
void |
executeUpdate(Native nativeResource)
Executes request. |
User |
getOwner()
Gets owner. |
HrRecord |
getRepository()
Gets repository to update. |
void |
setOwner(User owner)
Sets owner. |
void |
setRepository(HrRecord repository)
Sets repository to update. |
| 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, getIsDbCaseSensitive, getRequestContext, logExpression, returnConnection, setRequestContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HrUpdateRequest(RequestContext requestContext,
User owner,
HrRecord record)
requestContext - request contextowner - owner of the recordsrecord - record to update| Method Detail |
|---|
public User getOwner()
public void setOwner(User owner)
owner argument is null than the owner of
repositories is set to non existing user.
owner - owner of the repositorypublic HrRecord getRepository()
public void setRepository(HrRecord repository)
repository - repository to update
public void executeUpdate(Native nativeResource)
throws Exception
nativeResource - native resource or null
Exception - if request execution fails
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||