|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.common.QueryUtil
public class QueryUtil
Constructor Summary | |
---|---|
QueryUtil()
|
Method Summary | ||
---|---|---|
static QueryType |
createAllObjectsQuery()
Returns query that returns all objects. |
|
static org.w3c.dom.Element |
createAndFilter(org.w3c.dom.Document doc,
org.w3c.dom.Element... conditions)
|
|
static org.w3c.dom.Element |
createEqualFilter(org.w3c.dom.Document doc,
XPathHolder xpath,
java.util.List<? extends java.lang.Object> values)
Creates "equal" filter segment for multi-valued properties based on DOM representation. |
|
static org.w3c.dom.Element |
createEqualFilter(org.w3c.dom.Document doc,
XPathHolder xpath,
java.lang.Object value)
Creates "equal" filter segment for single-valued properties based on DOM representation. |
|
static org.w3c.dom.Element |
createEqualFilter(org.w3c.dom.Document doc,
XPathHolder xpath,
javax.xml.namespace.QName properyName,
javax.xml.namespace.QName value)
Creates "equal" filter segment for single-valued properties with QName content. |
|
static org.w3c.dom.Element |
createEqualFilter(org.w3c.dom.Document doc,
XPathHolder xpath,
javax.xml.namespace.QName properyName,
java.lang.String value)
Creates "equal" filter segment for single-valued properties with string content. |
|
static org.w3c.dom.Element |
createEqualRefFilter(org.w3c.dom.Document doc,
XPathHolder xpath,
javax.xml.namespace.QName propertyName,
java.lang.String oid)
Creates "equal" filter for object reference. |
|
static
|
createNameAndClassFilter(java.lang.Class<T> type,
java.lang.String name)
Deprecated. |
|
static QueryType |
createNameQuery(ObjectType object)
|
|
static QueryType |
createNameQuery(java.lang.String name)
|
|
static QueryType |
createQuery(org.w3c.dom.Element filter)
|
|
static QueryType |
createResourceAndAccountQuery(ResourceType resource,
javax.xml.namespace.QName objectClass,
java.lang.String accountType)
|
|
static org.w3c.dom.Element |
createTypeFilter(org.w3c.dom.Document doc,
java.lang.String uri)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryUtil()
Method Detail |
---|
@Deprecated public static org.w3c.dom.Element createTypeFilter(org.w3c.dom.Document doc, java.lang.String uri)
public static org.w3c.dom.Element createEqualFilter(org.w3c.dom.Document doc, XPathHolder xpath, java.util.List<? extends java.lang.Object> values) throws SchemaException
doc
- xpath
- property container xpath. may be null.values
-
javax.xml.bind.JAXBException
SchemaException
public static org.w3c.dom.Element createEqualFilter(org.w3c.dom.Document doc, XPathHolder xpath, java.lang.Object value) throws SchemaException
doc
- xpath
- property container xpath. may be null.value
-
javax.xml.bind.JAXBException
SchemaException
public static org.w3c.dom.Element createEqualFilter(org.w3c.dom.Document doc, XPathHolder xpath, javax.xml.namespace.QName properyName, java.lang.String value) throws SchemaException
doc
- xpath
- property container xpath. may be null.value
-
javax.xml.bind.JAXBException
SchemaException
public static org.w3c.dom.Element createEqualFilter(org.w3c.dom.Document doc, XPathHolder xpath, javax.xml.namespace.QName properyName, javax.xml.namespace.QName value) throws SchemaException
doc
- xpath
- property container xpath. may be null.value
-
javax.xml.bind.JAXBException
SchemaException
public static org.w3c.dom.Element createEqualRefFilter(org.w3c.dom.Document doc, XPathHolder xpath, javax.xml.namespace.QName propertyName, java.lang.String oid) throws SchemaException
doc
- xpath
- property container xpath. may be null.propertyName
- name of the reference property (e.g. "resourceRef")oid
- OID of the referenced object
javax.xml.bind.JAXBException
SchemaException
public static org.w3c.dom.Element createAndFilter(org.w3c.dom.Document doc, org.w3c.dom.Element... conditions)
public static QueryType createNameQuery(java.lang.String name) throws SchemaException
SchemaException
public static QueryType createNameQuery(ObjectType object) throws SchemaException
SchemaException
@Deprecated public static <T extends ObjectType> org.w3c.dom.Element createNameAndClassFilter(java.lang.Class<T> type, java.lang.String name) throws SchemaException
SchemaException
public static QueryType createQuery(org.w3c.dom.Element filter)
public static QueryType createAllObjectsQuery()
public static QueryType createResourceAndAccountQuery(ResourceType resource, javax.xml.namespace.QName objectClass, java.lang.String accountType) throws SchemaException
SchemaException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |