Esri Geoportal Server
1.2.9

com.esri.gpt.agp.sync
Class AgpPush

java.lang.Object
  extended by com.esri.gpt.agp.sync.AgpPush

public class AgpPush
extends Object

A push synchronizer from a source ArcGIS Portal to a destination ArcGIS Portal.


Constructor Summary
AgpPush()
          Default constructor.
AgpPush(AgpSource source, AgpDestination destination)
          Construct with a source and destination.
 
Method Summary
protected  boolean doContinue()
           
 String getSummary(boolean forHtml)
          Gets the process summary.
 void synchronize()
          Execute the synchronization process.
protected  boolean syncItem(AgpItem sourceItem)
          Synchronized an item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgpPush

public AgpPush()
Default constructor.


AgpPush

public AgpPush(AgpSource source,
               AgpDestination destination)
Construct with a source and destination.

Parameters:
source - the source
destination - the destination
Method Detail

getSummary

public String getSummary(boolean forHtml)
Gets the process summary.

Parameters:
forHtml - true if the summary should be formatted for HTML
Returns:
the process summary

syncItem

protected boolean syncItem(AgpItem sourceItem)
                    throws Exception
Synchronized an item.

Parameters:
sourceItem - the source item
Returns:
true if item has been updated
Throws:
Exception - if an exception occurs

synchronize

public void synchronize()
                 throws Exception
Execute the synchronization process.

Throws:
Exception - if an exception occurs

doContinue

protected boolean doContinue()

Esri Geoportal Server
1.2.9

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