Esri Geoportal Server
1.2.9

com.esri.gpt.agp.sync
Class AgpPartHelper

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

public class AgpPartHelper
extends Object

Multi-part helper functions for the AgpPush synchronizer.


Constructor Summary
AgpPartHelper()
          Default constructor.
 
Method Summary
protected  void addDataPart(MultipartProvider provider, AgpSource source, AgpItem sourceItem, AgpDestination destination, AgpItem destItem)
          Adds the data part to a multiipart request for item addition or update.
protected  void addThumbnailPart(MultipartProvider provider, AgpSource source, AgpItem sourceItem, AgpDestination destination, AgpItem destItem)
          Adds the thumbnail part to a multiipart request for item addition or update.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgpPartHelper

public AgpPartHelper()
Default constructor.

Method Detail

addDataPart

protected void addDataPart(MultipartProvider provider,
                           AgpSource source,
                           AgpItem sourceItem,
                           AgpDestination destination,
                           AgpItem destItem)
                    throws Exception
Adds the data part to a multiipart request for item addition or update.

Parameters:
provider - the multi-part request provider
source - the synchronization source
sourceItem - the synchronization source item
destination - the synchronization destination
destItem - the synchronization destination item
Throws:
Exception - if an exception occurs

addThumbnailPart

protected void addThumbnailPart(MultipartProvider provider,
                                AgpSource source,
                                AgpItem sourceItem,
                                AgpDestination destination,
                                AgpItem destItem)
                         throws Exception
Adds the thumbnail part to a multiipart request for item addition or update.

Parameters:
provider - the multi-part request provider
source - the synchronization source
sourceItem - the synchronization source item
destination - the synchronization destination
destItem - the synchronization destination item
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.