Class ResourceRestClient
- java.lang.Object
-
- org.apache.syncope.client.console.rest.BaseRestClient
-
- org.apache.syncope.client.console.rest.ResourceRestClient
-
- All Implemented Interfaces:
Serializable,RestClient
public class ResourceRestClient extends BaseRestClient
Console client for invoking Rest Resources services.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.client.console.rest.BaseRestClient
LOG
-
-
Constructor Summary
Constructors Constructor Description ResourceRestClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheck(String coreAddress, String domain, String jwt, String key)Pair<Boolean,String>check(ResourceTO resourceTO)ResourceTOcreate(ResourceTO resourceTO)voiddelete(String name)StringgetConnObjectKeyValue(String resource, String anyTypeKey, String anyKey)List<ResourceTO>list()ResourceTOread(String name)ConnObjectreadConnObject(String resource, String anyTypeKey, String anyKey)voidremoveSyncToken(String key, String anyType)Pair<String,List<ConnObject>>searchConnObjects(String resource, String anyTypeKey, ConnObjectTOQuery.Builder queryBuilder, SortParam<String> sortParam)voidsetLatestSyncToken(String key, String anyType)voidupdate(ResourceTO resourceTO)-
Methods inherited from class org.apache.syncope.client.console.rest.BaseRestClient
getObject, getService, getService, getStatus, getSyncopeService, resetClient, toOrderBy
-
-
-
-
Method Detail
-
check
public boolean check(String coreAddress, String domain, String jwt, String key) throws IOException
- Throws:
IOException
-
check
public Pair<Boolean,String> check(ResourceTO resourceTO)
-
readConnObject
public ConnObject readConnObject(String resource, String anyTypeKey, String anyKey)
-
getConnObjectKeyValue
public String getConnObjectKeyValue(String resource, String anyTypeKey, String anyKey)
-
searchConnObjects
public Pair<String,List<ConnObject>> searchConnObjects(String resource, String anyTypeKey, ConnObjectTOQuery.Builder queryBuilder, SortParam<String> sortParam)
-
read
public ResourceTO read(String name)
-
list
public List<ResourceTO> list()
-
create
public ResourceTO create(ResourceTO resourceTO)
-
update
public void update(ResourceTO resourceTO)
-
delete
public void delete(String name)
-
-