Package sdk
Class ODSL
java.lang.Object
sdk.ODSL
public class ODSL extends Object
-
Constructor Summary
Constructors Constructor Description ODSL() -
Method Summary
Modifier and Type Method Description voidclean()Create a new contextStringcreateFilter(String filter)Varget(String service, ServiceGetRequest request)Get a resource from a service using a request objectVarget(String service, String source, String id)Get a resource from the supplied service - simple formOpenDSLContextgetContext()Get the ODSL contextList<Var>list(String service, ServiceGetListRequest request)List<Var>list(String service, String source, String filter)Stringlogin()Log into OpenDataDSL - You will log in using your AAD credentialsMessagingmessaging()RTDRTD()voidsetStage(String stage)voidupdate(String service, ServiceSaveRequest request)voidupdate(String service, String source, Var var)voidupdate(String service, String source, Var var, String options)
-
Constructor Details
-
ODSL
public ODSL()
-
-
Method Details
-
clean
public void clean()Create a new context -
login
Log into OpenDataDSL - You will log in using your AAD credentials- Returns:
- The security token generated from the login
-
setStage
-
getContext
Get the ODSL context- Returns:
- The context
-
get
Get a resource from the supplied service - simple form- Parameters:
service- The service to read from, e.g. object, data etc.source- The source of the resource, usually private or publicid- The id of the resource- Returns:
- The resource as a Var - this can be cast to whatever the returned resource is
-
get
Get a resource from a service using a request object- Parameters:
service- The service to read from, e.g. object, data etc.request- The get request object- Returns:
- The resource as a Var - this can be cast to whatever the returned resource is
-
list
-
list
-
update
-
update
-
update
-
createFilter
-
messaging
-
RTD
-