public abstract class OSLCQueryStrategy
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BASE_URI |
static java.lang.String |
ERROR_GROUP |
static java.lang.String |
ERROR_MESSAGE |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
asWhereStringList(java.util.Collection strings)
Returns the provided list in the form of a where clause list
|
static void |
checkValidation(MboRemote mbo)
If finds an invalid state will throw an exception.
|
static java.util.Set |
collectToStringSet(MboSetRemote mboSet,
java.lang.String attributeName) |
static java.lang.String |
generateURI(java.lang.String key)
For the given key it generates a URI that is propperly escaped
|
static java.util.Set |
getApps(MboRemote oslcQuery)
Finds the unique app names on the given OSLCQUERY app hierarchy.
|
static boolean |
isClauseEmpty(MboRemote mbo) |
static boolean |
isScriptEmpty(MboRemote mbo) |
static void |
processRules(MboRemote mbo)
Sets fields and required and readonly or not according to the values found.
|
public static final java.lang.String ERROR_GROUP
public static final java.lang.String ERROR_MESSAGE
public static final java.lang.String BASE_URI
public static boolean isClauseEmpty(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic static boolean isScriptEmpty(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic static void processRules(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic static void checkValidation(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic static java.util.Set getApps(MboRemote oslcQuery) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic static java.util.Set collectToStringSet(MboSetRemote mboSet, java.lang.String attributeName) throws MXException, java.rmi.RemoteException
mboSet - attributeName - MXExceptionjava.rmi.RemoteExceptionpublic static java.lang.String asWhereStringList(java.util.Collection strings)
public static java.lang.String generateURI(java.lang.String key)