public class OslcQuery extends Object
Constructor and Description |
---|
OslcQuery(OslcClient oslcClient,
String capabilityUrl)
Create an OSLC query that uses the remote system's default page size.
|
OslcQuery(OslcClient oslcClient,
String capabilityUrl,
int pageSize)
Create an OSLC query that uses the given page size
|
OslcQuery(OslcClient oslcClient,
String capabilityUrl,
int pageSize,
OslcQueryParameters oslcQueryParams)
Create an OSLC query that uses OSLC query parameters and the given page size
|
OslcQuery(OslcClient oslcClient,
String capabilityUrl,
int pageSize,
OslcQueryParameters oslcQueryParams,
String version)
Create an OSLC query that uses OSLC query parameters and the given page size
|
OslcQuery(OslcClient oslcClient,
String capabilityUrl,
OslcQueryParameters oslcQueryParams)
Create an OSLC query with query parameters that uses the default page size
|
Modifier and Type | Method and Description |
---|---|
String |
getCapabilityUrl() |
int |
getPageSize() |
String |
getQueryUrl() |
OslcQueryResult |
submit() |
public OslcQuery(OslcClient oslcClient, String capabilityUrl)
oslcClient
- the authenticated OSLC clientcapabilityUrl
- the URL that is the basepublic OslcQuery(OslcClient oslcClient, String capabilityUrl, OslcQueryParameters oslcQueryParams)
oslcClient
- the authenticated OSLC clientcapabilityUrl
- capabilityUrl the URL that is the baseoslcQueryParams
- an OslcQueryParameters objectOslcQueryParameters
public OslcQuery(OslcClient oslcClient, String capabilityUrl, int pageSize)
oslcClient
- the authenticated OSLC clientcapabilityUrl
- the URL that is the basepageSize
- the number of results to include on each page (OslcQueryResult)public OslcQuery(OslcClient oslcClient, String capabilityUrl, int pageSize, OslcQueryParameters oslcQueryParams)
oslcClient
- the authenticated OSLC clientcapabilityUrl
- the URL that is the basepageSize
- the number of results to include on each page (OslcQueryResult)oslcQueryParams
- an OslcQueryParameters object (see OslcQueryParameters
)public OslcQuery(OslcClient oslcClient, String capabilityUrl, int pageSize, OslcQueryParameters oslcQueryParams, String version)
oslcClient
- the authenticated OSLC clientcapabilityUrl
- the URL that is the basepageSize
- the number of results to include on each page (OslcQueryResult)oslcQueryParams
- an OslcQueryParameters object (see OslcQueryParameters
)version
- OSLC Version (see OSLCConstants
)public int getPageSize()
public String getCapabilityUrl()
public String getQueryUrl()
public OslcQueryResult submit()
Copyright © 2020. All rights reserved.