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<java.lang.String> 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<java.lang.String> |
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<java.lang.String> |
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.RemoteException
MXException
public static boolean isScriptEmpty(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static void processRules(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static void checkValidation(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static java.util.Set<java.lang.String> getApps(MboRemote oslcQuery) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public static java.util.Set<java.lang.String> collectToStringSet(MboSetRemote mboSet, java.lang.String attributeName) throws MXException, java.rmi.RemoteException
mboSet
- attributeName
- MXException
java.rmi.RemoteException
public static java.lang.String asWhereStringList(java.util.Collection<java.lang.String> strings)
public static java.lang.String generateURI(java.lang.String key)