wt.ixb.mapping
Class IxbUfidHelper
java.lang.Object
wt.ixb.mapping.IxbUfidHelper
- public class IxbUfidHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IxbUfidHelper
public IxbUfidHelper()
getBirthUfidByLocalUfid
public static String getBirthUfidByLocalUfid(String localUfid)
throws WTException
- Throws:
WTException
getLocalUfidByBirthUfidAndContainer
public static String getLocalUfidByBirthUfidAndContainer(String birthUfid,
String containerId)
throws WTException
- This method looks for UFID matches in the mapping table
- Parameters:
birthUfid
- string representation of Ufid with which object was brought to this system
- Returns:
- local ufid for corresponding object in container (null if there is no such object)
- Throws:
WTException
ufidMappingAlreadyExists
public static boolean ufidMappingAlreadyExists(String birthUfid,
String containerId)
throws WTException
- Throws:
WTException
storeNewUfidMapping
public static void storeNewUfidMapping(String localUfid,
String birthUfid,
String containerId)
throws WTException
- Throws:
WTException
getObjectOfBirthUfid
public static Federatable getObjectOfBirthUfid(String birthUfid,
String containerId)
throws WTException
- Find object with a given birth ufid in a given container
- Throws:
WTException
getUfidMappingByLocalUfid
private static UfidMapping getUfidMappingByLocalUfid(String localUfid)
throws WTException
- Throws:
WTException
getUfidMappingByBirthUfidAndContainer
private static UfidMapping getUfidMappingByBirthUfidAndContainer(String birthUfid,
String containerId)
throws WTException
- Throws:
WTException
findObjectOfUfidInContainer
private static Federatable findObjectOfUfidInContainer(String ufid,
String containerId)
throws WTException
- Throws:
WTException
isFederatedObjInContainer
private static boolean isFederatedObjInContainer(Federatable obj,
String containerId)
throws WTException
- Throws:
WTException
PP
private static void PP(String s)