wt.ufid
Class FederatableServerHelper.RepositoryUtil
java.lang.Object
wt.ufid.FederatableServerHelper.RepositoryUtil
- Enclosing class:
- FederatableServerHelper
- protected static final class FederatableServerHelper.RepositoryUtil
- extends Object
Class to bundle query spec's for the Repository class *
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMAIN
private static final String DOMAIN
FederatableServerHelper.RepositoryUtil
protected FederatableServerHelper.RepositoryUtil()
byGuidQuerySpec
public static final QuerySpec byGuidQuerySpec(String guid)
throws WTException
- This will form the query spec to get the local Repository Entry
- Throws:
WTException
isLocalQuerySpec
public static final QuerySpec isLocalQuerySpec()
throws WTException
- This will form the query spec to get the Repository via the GUID
- Throws:
WTException
repositoryQuerySpec
public static final QuerySpec repositoryQuerySpec(Repository repos)
throws WTException
- This will form the query spec to get the Repository, via the GUID
if it is not empty; and by the "local" flag. Used to find whether
the repository already exists, so we can decide whether to insert it.
- Throws:
WTException
persistRepository
public static final void persistRepository(Repository repos)
throws UfidException
- Throws:
UfidException
createRepository
private static final Repository createRepository(Repository repos)
throws UfidException
- Throws:
UfidException
createLocalRepositoryReference
private static final Repository createLocalRepositoryReference()
throws WTException
- Throws:
WTException
newGuidId
private static final String newGuidId()
throws UfidException
- Throws:
UfidException