|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.ufid.FederatableServerHelper
Supported API: false
Extendable: false
Nested Class Summary | |
protected static class |
FederatableServerHelper.OwnerRepositoryUtil
Class to bundle query spec's for the Repository class * |
protected static class |
FederatableServerHelper.RemoteObjectUtil
Utility class for magement of the RemoteObjectInfo * |
private static class |
FederatableServerHelper.ReposCache
|
static class |
FederatableServerHelper.RepositoryCache
|
protected static class |
FederatableServerHelper.RepositoryUtil
Class to bundle query spec's for the Repository class * |
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
static UfidSrvService |
service
Supported API: false |
private static boolean |
VERBOSE
|
Constructor Summary | |
FederatableServerHelper()
|
Method Summary | |
static Repository |
createRepository(Repository repos)
|
static void |
deleteUfid(Federatable object)
This method is to be used to delete UFID information from database when instead of deleting the Federatable object, the object is disabled (WTUser & WTGroups) For all other objects that are deleted from the database, event listeners in the Ufid service will manage the delete of the ufid. |
static QueryResult |
findCorrespondingObjects(Vector ufids)
Supported API: false |
static WTCollection |
getLocallyOwnedAmong(WTCollection objectSet)
From the given set of objects, returns a subset of objects which are locally owned. |
static Repository |
getLocalRepository()
Answer the Repository of the current system. |
static Repository |
getOwningRepository(Federatable localObject)
This will return the Repository that has been spcified as the Owning Repository. |
static WTCollection |
getRemotelyOwnedAmong(WTCollection objectSet)
From the given set of objects, returns a subset of objects which are remotely owned. |
static Repository |
getRepository(ObjectIdentifier oid)
This will answer a Repository based on the guid String. |
static Repository |
getRepository(String guid)
This will answer a Repository based on the guid String. |
private static Repository |
getRepositoryFromDB(String guid)
|
static boolean |
isBirthRepository(Federatable object)
This will answer the Repository from which the object was created. |
static boolean |
isBirthRepository(Ufid ufid)
This will answer the Repository from which the object was created. |
static boolean |
isLocallyOwned(Federatable object)
Answers true if the Federatable is localy owned. |
static boolean |
knownRepository(Repository repos)
For the specified Repository, a check will be made on the local system to determine if the given repository has already been persisted on this system. |
static void |
makeObjectLocal(Federatable object)
Supported API: false |
static void |
makeObjectRemote(Federatable object,
Repository newRepository)
Supported API: false |
static Repository |
queryForLocalRepository()
|
static Repository |
queryForRepository(Repository repos)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final UfidSrvService service
private static final boolean VERBOSE
Constructor Detail |
public FederatableServerHelper()
Method Detail |
public static boolean isLocallyOwned(Federatable object) throws UfidException
object
-
UfidException
public static boolean knownRepository(Repository repos) throws UfidException
repos
-
UfidException
public static Repository getRepository(String guid) throws UfidException
guid
-
UfidException
public static Repository getRepository(ObjectIdentifier oid) throws UfidException
oid
-
UfidException
public static Repository getLocalRepository() throws UfidException
UfidException
public static Repository getOwningRepository(Federatable localObject) throws UfidException
localObject
-
UfidException
public static boolean isBirthRepository(Ufid ufid) throws UfidException
ufid
-
UfidException
public static boolean isBirthRepository(Federatable object) throws UfidException
object
-
UfidException
public static void makeObjectRemote(Federatable object, Repository newRepository) throws UfidException
object
- newRepository
-
UfidException
public static void makeObjectLocal(Federatable object) throws UfidException
object
-
UfidException
public static WTCollection getLocallyOwnedAmong(WTCollection objectSet) throws WTException
objectSet
-
WTException
public static WTCollection getRemotelyOwnedAmong(WTCollection objectSet) throws WTException
objectSet
-
WTException
public static void deleteUfid(Federatable object) throws UfidException
object
-
UfidException
public static QueryResult findCorrespondingObjects(Vector ufids) throws UfidException
UfidException
public static final Repository queryForLocalRepository() throws WTException
WTException
public static final Repository queryForRepository(Repository repos) throws WTException
WTException
public static final Repository createRepository(Repository repos) throws WTException
WTException
private static Repository getRepositoryFromDB(String guid) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |