|
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.AgpFolderRequest
public class AgpFolderRequest
Folder request.
Nested Class Summary | |
---|---|
static class |
AgpFolderRequest.UuidToFolderMap
Mapping between document UUIS and the folder. |
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 | |
---|---|
AgpFolderRequest(RequestContext requestContext,
CredentialProvider credtialProvider)
Creates instance of the request. |
|
AgpFolderRequest(RequestContext requestContext,
CredentialProvider credtialProvider,
EndPoint endPoint)
Creates instance of the request |
Method Summary | |
---|---|
String |
findFolder(String itemId)
Finds folder for the item. |
AgpFolderRequest.UuidToFolderMap |
listAll()
Lists all records for a user |
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 AgpFolderRequest(RequestContext requestContext, CredentialProvider credtialProvider)
requestContext
- request contextcredtialProvider
- credential providerpublic AgpFolderRequest(RequestContext requestContext, CredentialProvider credtialProvider, EndPoint endPoint)
requestContext
- request contextcredtialProvider
- credential providerendPoint
- end pointMethod Detail |
---|
public AgpFolderRequest.UuidToFolderMap listAll() throws AgpServerException, AgpPublishException
IOException
- if accessing AGP fails
org.json.JSONException
- if parsing JSON response from AGP fails
AgpServerException
AgpPublishException
public String findFolder(String itemId) throws AgpServerException, AgpPublishException
itemId
- item id
null
if item not found or empty string if item found on
the root
IOException
- if accessing AGP fails
org.json.JSONException
- if parsing JSON response from AGP fails
AgpServerException
AgpPublishException
|
Esri Geoportal Server 1.2.2
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |