Package com.evolveum.midpoint.ninja.impl
Class RestService
- java.lang.Object
-
- com.evolveum.midpoint.ninja.impl.RestService
-
public class RestService extends Object
Created by Viliam Repan (lazyman).
-
-
Constructor Summary
Constructors Constructor Description RestService(String url, String username, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ObjectType>
voiddelete(QName type, String oid, List<String> options)
<T extends ObjectType>
PrismObject<T>get(QName type, String oid)
PrismContext
getPrismContext()
void
modify()
<T extends ObjectType>
List<PrismObject<T>>search()
OperationResult
testResource(String oid)
-
-
-
Method Detail
-
getPrismContext
public PrismContext getPrismContext()
-
delete
public <T extends ObjectType> void delete(QName type, String oid, List<String> options)
-
get
public <T extends ObjectType> PrismObject<T> get(QName type, String oid)
-
search
public <T extends ObjectType> List<PrismObject<T>> search()
-
modify
public void modify()
-
testResource
public OperationResult testResource(String oid)
-
-