Esri Geoportal Server
1.2.9

com.esri.gpt.agp.ags
Class Ags2AgpCopy

java.lang.Object
  extended by com.esri.gpt.agp.ags.Ags2AgpCopy

public class Ags2AgpCopy
extends Object

Copies from ArcGIS Server to Portal for ArcGIS.


Constructor Summary
Ags2AgpCopy(ArcGISInfo source, AgpDestination destination)
          Creates instance of the class.
 
Method Summary
 void copy()
          Executes copy action.
protected  boolean doContinue()
          Check if continue copying.
protected  boolean syncItem(AgpItem sourceItem)
          Synchronizes a single item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ags2AgpCopy

public Ags2AgpCopy(ArcGISInfo source,
                   AgpDestination destination)
Creates instance of the class.

Parameters:
source - source
destination - destination
Method Detail

copy

public void copy()
          throws Exception
Executes copy action.

Throws:
Exception - if anything fails

syncItem

protected boolean syncItem(AgpItem sourceItem)
                    throws Exception
Synchronizes a single item.

Parameters:
sourceItem - item
Returns:
true if item has been synchronized
Throws:
Exception - if any exception occurs during the process

doContinue

protected boolean doContinue()
Check if continue copying.

Returns:
true if continue copying

Esri Geoportal Server
1.2.9

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