|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.lyo.client.oslc.resources.OslcQuery
public class OslcQuery
Represents an OSLC query (HTTP GET) request to be made of a remote system. Immutable.
Constructor Summary | |
---|---|
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,
OslcQueryParameters oslcQueryParams)
Create an OSLC query with query parameters that uses the default page size |
Method Summary | |
---|---|
String |
getCapabilityUrl()
|
int |
getPageSize()
|
String |
getQueryUrl()
|
OslcQueryResult |
submit()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 objectOslcQueryParameters
Method Detail |
---|
public int getPageSize()
public String getCapabilityUrl()
public String getQueryUrl()
public OslcQueryResult submit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |