|
Esri Geoportal Server 1.2.2
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.catalog.arcgis.agportal.publication.AgpBaseRequest
com.esri.gpt.catalog.arcgis.agportal.publication.AgpDeleteRequest
public class AgpDeleteRequest
Deletion request. Deletes single item from the user folder.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.esri.gpt.catalog.arcgis.agportal.publication.AgpBaseRequest |
---|
AgpBaseRequest.AttrMap, AgpBaseRequest.ItemDesc, AgpBaseRequest.ItemEntry, AgpBaseRequest.ItemType |
Field Summary |
---|
Fields inherited from class com.esri.gpt.catalog.arcgis.agportal.publication.AgpBaseRequest |
---|
credentialProvider, ep, requestContext, XSLTTEMPLATES |
Constructor Summary | |
---|---|
AgpDeleteRequest(RequestContext requestContext,
CredentialProvider credtialProvider,
EndPoint endPoint,
String itemId,
String folderName)
Creates instance of the request. |
|
AgpDeleteRequest(RequestContext requestContext,
CredentialProvider credtialProvider,
String itemId,
String folderName)
Creates instance of the request. |
Method Summary | |
---|---|
void |
execute()
Executes request. |
String |
getFolderName()
Gets folder name. |
String |
getItemId()
Gets item id. |
Methods inherited from class com.esri.gpt.catalog.arcgis.agportal.publication.AgpBaseRequest |
---|
checkError, execute, extractCredentialProvider, extractEsriItemAttributes, extractId, extractItemInfo, fetchToken, getCompiledTemplate, getFolderUrl, getItemUrl, processEsriItemAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgpDeleteRequest(RequestContext requestContext, CredentialProvider credtialProvider, String itemId, String folderName)
requestContext
- request contextcredtialProvider
- credential provideritemId
- id of the item to deletefolderName
- folder of the itempublic AgpDeleteRequest(RequestContext requestContext, CredentialProvider credtialProvider, EndPoint endPoint, String itemId, String folderName)
requestContext
- request contextcredtialProvider
- credential providerendPoint
- ArcGIS portal end pointitemId
- id of the item to deletefolderName
- folder of the itemMethod Detail |
---|
public String getFolderName()
public String getItemId()
public void execute() throws AgpServerException, AgpPublishException
IOException
- if accessing end point failed
org.json.JSONException
- if parsing response failed
AgpServerException
AgpPublishException
|
Esri Geoportal Server 1.2.2
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |