|
Esri Geoportal Server 1.2.0
|
||||||||
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.PublicationRequest
public class PublicationRequest
This class is used to handle publication request to ArcGIS Portal instance. NOTE! This is EXPERIMENTAL feature. It might be removed at any time in the future.
Constructor Summary | |
---|---|
PublicationRequest(RequestContext requestContext,
CredentialProvider credtialProvider,
String httpReferer)
Constructs a request to publish an itemInfo to ArcGIS Portal instance. |
|
PublicationRequest(RequestContext requestContext,
EndPoint endPoint,
CredentialProvider credtialProvider,
String httpReferer)
Creates instance of the request. |
Method Summary | |
---|---|
boolean |
publish(ESRI_ItemInformation itemInfo)
Processes the ArcGIS Portal publication request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PublicationRequest(RequestContext requestContext, EndPoint endPoint, CredentialProvider credtialProvider, String httpReferer) throws Exception
requestContext
- contextendPoint
- end-pointcredtialProvider
- credential providerhttpReferer
- referer
Exception
- if publication failspublic PublicationRequest(RequestContext requestContext, CredentialProvider credtialProvider, String httpReferer) throws Exception
requestContext
- the request contextcredtialProvider
- the CredentialProviderhttpReferer
- the Http Referer
Exception
Method Detail |
---|
public boolean publish(ESRI_ItemInformation itemInfo) throws IOException, org.json.JSONException, Exception
itemInfo
- the ESRI_ItemInformation object.
Exception
IOException
org.json.JSONException
|
Esri Geoportal Server 1.2.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |