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 void
clean()
Create a new contextString
createFilter(String filter)
Var
get(String service, ServiceGetRequest request)
Get a resource from a service using a request objectVar
get(String service, String source, String id)
Get a resource from the supplied service - simple formOpenDSLContext
getContext()
Get the ODSL contextList<Var>
list(String service, ServiceGetListRequest request)
List<Var>
list(String service, String source, String filter)
String
login()
Log into OpenDataDSL - You will log in using your AAD credentialsMessaging
messaging()
RTD
RTD()
void
setStage(String stage)
void
update(String service, ServiceSaveRequest request)
void
update(String service, String source, Var var)
void
update(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
-