public class ModelClientUtil extends Object
Modifier and Type | Field and Description |
---|---|
static QName |
COMMON_ASSIGNMENT |
static QName |
COMMON_GIVEN_NAME |
static QName |
COMMON_PATH |
static QName |
COMMON_VALUE |
static String |
NS_COMMON |
static String |
NS_TYPES |
static QName |
TYPES_CLEAR_VALUE |
Constructor and Description |
---|
ModelClientUtil() |
Modifier and Type | Method and Description |
---|---|
static ItemPathType |
createItemPathType(String stringPath) |
static com.evolveum.midpoint.xml.ns._public.common.common_3.CredentialsType |
createPasswordCredentials(String password) |
static com.evolveum.midpoint.xml.ns._public.common.common_3.PasswordType |
createPasswordType(String password) |
static Element |
createPathElement(String stringPath,
Document doc) |
static PolyStringType |
createPolyStringType(String string,
Document doc) |
static ProtectedStringType |
createProtectedString(String clearValue) |
static Element |
createTextElement(QName qname,
String value,
Document doc) |
static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType |
findInDeltaOperationList(com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectDeltaOperationListType operationListType,
ObjectDeltaType originalDelta) |
static Document |
getDocumnent() |
static Element |
getFirstChildElement(Node parent) |
static String |
getOidFromDeltaOperationList(com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectDeltaOperationListType operationListType,
ObjectDeltaType originalDelta)
Retrieves OID created by model Web Service from the returned list of ObjectDeltaOperations.
|
static String |
getOrig(PolyStringType polyStringType) |
static QName |
getTypeQName(Class<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> type) |
static String |
getTypeUri(Class<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> type) |
static JAXBContext |
instantiateJaxbContext() |
static Element |
parseElement(String stringXml) |
static SearchFilterType |
parseSearchFilterType(String filterClauseAsXml) |
static <T> JAXBElement<T> |
toJaxbElement(QName name,
T value) |
public static final String NS_COMMON
public static final QName COMMON_PATH
public static final QName COMMON_VALUE
public static final QName COMMON_GIVEN_NAME
public static final QName COMMON_ASSIGNMENT
public static final String NS_TYPES
public static final QName TYPES_CLEAR_VALUE
public static JAXBContext instantiateJaxbContext() throws JAXBException
JAXBException
public static ItemPathType createItemPathType(String stringPath)
public static SearchFilterType parseSearchFilterType(String filterClauseAsXml) throws IOException, SAXException, JAXBException
IOException
SAXException
JAXBException
public static PolyStringType createPolyStringType(String string, Document doc)
public static String getOrig(PolyStringType polyStringType)
public static com.evolveum.midpoint.xml.ns._public.common.common_3.CredentialsType createPasswordCredentials(String password)
public static com.evolveum.midpoint.xml.ns._public.common.common_3.PasswordType createPasswordType(String password)
public static ProtectedStringType createProtectedString(String clearValue)
public static <T> JAXBElement<T> toJaxbElement(QName name, T value)
public static Document getDocumnent()
public static String getTypeUri(Class<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> type)
public static QName getTypeQName(Class<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> type)
public static Element parseElement(String stringXml) throws SAXException, IOException
SAXException
IOException
public static String getOidFromDeltaOperationList(com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectDeltaOperationListType operationListType, ObjectDeltaType originalDelta)
operationListType
- result of the model web service executeChanges calloriginalDelta
- original request used to find corresponding ObjectDeltaOperationType instance. Must be of ADD type.public static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType findInDeltaOperationList(com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectDeltaOperationListType operationListType, ObjectDeltaType originalDelta)
Copyright © 2014 evolveum. All rights reserved.