Esri Geoportal Server
1.2.9

com.esri.gpt.agp.client
Class AgpCommonRequest

java.lang.Object
  extended by com.esri.gpt.agp.client.AgpCommonRequest

public class AgpCommonRequest
extends Object

Some common ArcGIS Portal requests.


Constructor Summary
AgpCommonRequest()
          Default constructor.
 
Method Summary
 AgpItems queryRelatedItems(AgpConnection connection, String itemID, String relationshipType, String direction)
          Searches for related items.
 String readFormalMetadata(AgpConnection connection, String itemId)
          Reads the formal metadata for an item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgpCommonRequest

public AgpCommonRequest()
Default constructor.

Method Detail

queryRelatedItems

public AgpItems queryRelatedItems(AgpConnection connection,
                                  String itemID,
                                  String relationshipType,
                                  String direction)
                           throws Exception
Searches for related items.

Parameters:
connection - the connection
itemID - the item id
relationshipType - the relationship type
direction - the relationship type
Returns:
the related items
Throws:
Exception - if an exception occurs

readFormalMetadata

public String readFormalMetadata(AgpConnection connection,
                                 String itemId)
                          throws Exception
Reads the formal metadata for an item.

Parameters:
connection - the connection
itemId - the item id
Returns:
the formal metadata xml
Throws:
Exception - if an exception occurs

Esri Geoportal Server
1.2.9

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