Esri Geoportal Server
1.2.9

com.esri.gpt.agp.sync
Class Gpt2AgpPush

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

public class Gpt2AgpPush
extends Object

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


Constructor Summary
Gpt2AgpPush()
          Default constructor.
Gpt2AgpPush(GptSource source, AgpDestination destination)
          Construct with a source and destination.
 
Method Summary
protected  boolean doContinue()
           
 void synchronize()
          Execute the synchronization process.
protected  boolean syncItem(AgpItem sourceItem, String uuid, String xml)
          Synchronize an item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gpt2AgpPush

public Gpt2AgpPush()
Default constructor.


Gpt2AgpPush

public Gpt2AgpPush(GptSource source,
                   AgpDestination destination)
Construct with a source and destination.

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

doContinue

protected boolean doContinue()

syncItem

protected boolean syncItem(AgpItem sourceItem,
                           String uuid,
                           String xml)
                    throws Exception
Synchronize 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

Esri Geoportal Server
1.2.9

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