|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.ufid.CommonUfidService
wt.ufid.StandardUfidSrvService
Use the newStandardUfidSrvService
static factory method(s),
not the StandardUfidSrvService
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
DISPLAY_NAME
|
private static String |
GUID
|
private static String |
RESOURCE
|
private static boolean |
VERBOSE
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardUfidSrvService()
|
Method Summary | |
void |
assignAndStoreUfid(Federatable object,
Ufid ufid)
Supported API: false |
WTKeyedHashMap |
assignAndStoreUfid(WTKeyedHashMap map)
The input map contains the Federatable objects as key and their corresponding Ufid as value. |
Federatable |
changeLastKnownDomain(Federatable object,
String new_domain)
Supported API: false |
WTCollection |
changeLastKnownDomain(WTCollection objectSet,
String newDomain)
Change the last known domain of the objects in the collection to the new domain specified Supported API: false |
boolean |
compareUfids(Ufid ufid1,
Ufid ufid2)
Supported API: false |
Federatable |
findCorrespondingObject(Ufid ufid)
Supported API: false |
QueryResult |
findCorrespondingObjects(String guid)
Answer the QueryResult of all local objects for the given GUID Supported API: false |
HashMap |
findCorrespondingObjectSet(Vector ufids)
Returns a map containing the the Ufid as key and corresponding Federatable as value Supported API: false |
WTKeyedHashMap |
findCorrespondingObjectsForGuids(Vector guids)
Returns a map with the guid as key and corresponding QueryResult as value Supported API: false |
String |
getConceptualClassname()
Deprecated. |
private Federatable |
getLocalObject(Ufid ufid)
|
Ufid |
getUfid(Federatable object)
Returns the UFID of the Federatable. |
private String |
getUfidId(String oid,
String guid)
|
private HashMap |
getUfidMap(Vector ufids)
|
WTKeyedHashMap |
getUfids(WTCollection objectSet)
Returns a map with the Federatable object as key and its Ufid as value Supported API: false |
boolean |
hasCorrespondingObject(Ufid ufid)
Answers true if a local object for the given UFID exists in the repository Supported API: false |
static StandardUfidSrvService |
newStandardUfidSrvService()
Default factory for the class. |
protected void |
performStartupProcess()
Supported API: false |
private Hashtable |
processUfids(Collection ufids)
|
void |
setFederationInfoIfNecessary(Federatable object)
|
void |
setUfid(Federatable object)
Sets the UFID of the specified object. |
void |
setUfid(Federatable object,
Ufid ufid)
This should be used when ever a Federatable object is going to be Exported. |
void |
setUfid(WTCollection objectSet)
Sets the UFID on each object in the objectSet. |
void |
setUfid(WTKeyedHashMap map)
This should be used when ever a set of Federatable objects are going to be Exported. |
void |
storeUfidIfNecessary(Federatable target)
Supported API: false |
void |
storeUfidIfNecessary(WTCollection objectSet)
Supported API: false |
private boolean |
valueNotInMap(WTKeyedHashMap map,
Ufid ufid)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String GUID
private static final String DISPLAY_NAME
private static final boolean VERBOSE
Constructor Detail |
public StandardUfidSrvService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
public static StandardUfidSrvService newStandardUfidSrvService() throws WTException
WTException
public void setUfid(Federatable object)
setUfid
in interface UfidSrvService
object
- public void setUfid(Federatable object, Ufid ufid)
setUfid
in interface UfidSrvService
object
- ufid
- public Ufid getUfid(Federatable object) throws UfidException
getUfid
in interface UfidSrvService
object
-
UfidException
public Federatable changeLastKnownDomain(Federatable object, String new_domain)
changeLastKnownDomain
in interface UfidSrvService
object
- new_domain
-
public boolean compareUfids(Ufid ufid1, Ufid ufid2)
compareUfids
in interface UfidSrvService
ufid1
- ufid2
-
public QueryResult findCorrespondingObjects(String guid)
findCorrespondingObjects
in interface UfidSrvService
guid
-
public Federatable findCorrespondingObject(Ufid ufid) throws UfidException
findCorrespondingObject
in interface UfidSrvService
ufid
-
UfidException
public boolean hasCorrespondingObject(Ufid ufid) throws UfidException
hasCorrespondingObject
in interface UfidSrvService
ufid
-
UfidException
public void assignAndStoreUfid(Federatable object, Ufid ufid) throws UfidException
assignAndStoreUfid
in interface UfidSrvService
object
- ufid
-
UfidException
public void storeUfidIfNecessary(Federatable target) throws WTException
storeUfidIfNecessary
in interface UfidSrvService
target
-
WTException
public WTKeyedHashMap assignAndStoreUfid(WTKeyedHashMap map) throws UfidException
assignAndStoreUfid
in interface UfidSrvService
map
-
UfidException
public WTCollection changeLastKnownDomain(WTCollection objectSet, String newDomain)
changeLastKnownDomain
in interface UfidSrvService
objectSet
- Map of Federatable objects as key and corresponding new domain string as valuenewDomain
-
public HashMap findCorrespondingObjectSet(Vector ufids) throws UfidException
findCorrespondingObjectSet
in interface UfidSrvService
ufids
- Vector of Ufids for which corresponding objects are needed.
UfidException
public WTKeyedHashMap findCorrespondingObjectsForGuids(Vector guids)
findCorrespondingObjectsForGuids
in interface UfidSrvService
guids
- Vector of guids
public WTKeyedHashMap getUfids(WTCollection objectSet) throws UfidException
getUfids
in interface UfidSrvService
objectSet
-
UfidException
public void setUfid(WTCollection objectSet)
setUfid
in interface UfidSrvService
objectSet
- public void setUfid(WTKeyedHashMap map)
setUfid
in interface UfidSrvService
map
- Map with the Federatable object as key and its corresponding Ufid as valuepublic void storeUfidIfNecessary(WTCollection objectSet) throws WTException
storeUfidIfNecessary
in interface UfidSrvService
objectSet
-
WTException
public void setFederationInfoIfNecessary(Federatable object) throws WTPropertyVetoException
WTPropertyVetoException
private Federatable getLocalObject(Ufid ufid) throws UfidException
UfidException
private Hashtable processUfids(Collection ufids)
private HashMap getUfidMap(Vector ufids)
private String getUfidId(String oid, String guid)
private boolean valueNotInMap(WTKeyedHashMap map, Ufid ufid) throws UfidException
UfidException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |