wt.ufid
Class FederatableServerHelper.RemoteObjectUtil

java.lang.Object
  extended bywt.ufid.FederatableServerHelper.RemoteObjectUtil
Enclosing class:
FederatableServerHelper

protected static final class FederatableServerHelper.RemoteObjectUtil
extends Object

Utility class for magement of the RemoteObjectInfo *


Field Summary
private static String guidAttribute
           
private static String oidAttribute
           
private static Class queryClass
           
private static String selectAttribute
           
 
Constructor Summary
protected FederatableServerHelper.RemoteObjectUtil()
           
 
Method Summary
static QuerySpec correspondingQuerySpec(Federatable object)
          This will form the query spec to get the remote object table entry based on the Federatable
static QuerySpec correspondingQuerySpec(long[] ids)
          This will form the query spec to get the remote object table entry based on the array of Federatable Ids
static QuerySpec correspondingQuerySpec(Ufid ufid)
          This will form the query spec to get the remote object table entry based on the Ufid
static QuerySpec correspondingQuerySpec(Vector ufids)
           
static void deleteRemoteObject(RemoteObjectInfo remoteObject)
          Delete the Owner Reference
static QuerySpec hasCorrespondingQuerySpec(Ufid ufid)
          This will form the query spec to access the RemoteObjectInfo table to determin the existence of a give oid and guid between a federatable and the repository
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queryClass

private static final Class queryClass

selectAttribute

private static final String selectAttribute
See Also:
Constant Field Values

oidAttribute

private static final String oidAttribute
See Also:
Constant Field Values

guidAttribute

private static final String guidAttribute
See Also:
Constant Field Values
Constructor Detail

FederatableServerHelper.RemoteObjectUtil

protected FederatableServerHelper.RemoteObjectUtil()
Method Detail

hasCorrespondingQuerySpec

public static final QuerySpec hasCorrespondingQuerySpec(Ufid ufid)
                                                 throws WTException
This will form the query spec to access the RemoteObjectInfo table to determin the existence of a give oid and guid between a federatable and the repository

Throws:
WTException

correspondingQuerySpec

public static final QuerySpec correspondingQuerySpec(Ufid ufid)
                                              throws WTException
This will form the query spec to get the remote object table entry based on the Ufid

Throws:
WTException

correspondingQuerySpec

public static final QuerySpec correspondingQuerySpec(Vector ufids)
                                              throws WTException
Throws:
WTException

correspondingQuerySpec

public static final QuerySpec correspondingQuerySpec(Federatable object)
                                              throws WTException
This will form the query spec to get the remote object table entry based on the Federatable

Throws:
WTException

correspondingQuerySpec

public static final QuerySpec correspondingQuerySpec(long[] ids)
                                              throws WTException
This will form the query spec to get the remote object table entry based on the array of Federatable Ids

Throws:
WTException

deleteRemoteObject

public static final void deleteRemoteObject(RemoteObjectInfo remoteObject)
                                     throws UfidException
Delete the Owner Reference

Throws:
UfidException