|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.agp.sync.AgpItemHelper
public class AgpItemHelper
Item related helper functions for the AgpPush synchronizer.
| Constructor Summary | |
|---|---|
AgpItemHelper()
Default constructor. |
|
| Method Summary | |
|---|---|
boolean |
doesUnsyncedItemExist(AgpItem sourceItem,
AgpDestination destination)
Determines if an item with an exact itemId exists at the destination. |
boolean |
isSyncedItem(AgpItem item)
Determines if a source item originated from synchronization. |
protected AgpItem |
makeDestinationItem(AgpSource source,
AgpItem sourceItem)
Make the destination item. |
protected String |
makeSyncKey(AgpItem sourceItem)
Make the synchronization key. |
protected String |
makeSyncKey(String sourceId)
Make the synchronization key. |
protected AgpItem |
querySingleItem(AgpConnection connection,
String query)
Query for a single item. |
protected boolean |
requiresUpdate(AgpItem sourceItem,
AgpDestination destination,
AgpItem destItem)
Determine if the destination item requires an update. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgpItemHelper()
| Method Detail |
|---|
public boolean doesUnsyncedItemExist(AgpItem sourceItem,
AgpDestination destination)
throws Exception
sourceItem - the source itemdestination - the destination
Exceptionpublic boolean isSyncedItem(AgpItem item)
item - the source item
protected AgpItem makeDestinationItem(AgpSource source,
AgpItem sourceItem)
source - the sourcesourceItem - the source item
protected String makeSyncKey(AgpItem sourceItem)
sourceItem - the source item
protected String makeSyncKey(String sourceId)
sourceId - the ID of the source item
protected AgpItem querySingleItem(AgpConnection connection,
String query)
throws Exception
connection - the connectionquery - the query string
Exception - if an exception occurs
protected boolean requiresUpdate(AgpItem sourceItem,
AgpDestination destination,
AgpItem destItem)
throws Exception
sourceItem - the synchronization source itemdestination - the synchronization destinationdestItem - the synchronization destination item
Exception - if an exception occurs
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||