public class SuggestStandards extends CATWebService
baseUrl, password, username
Constructor and Description |
---|
SuggestStandards()
Constructor for the SuggestStandards object
|
SuggestStandards(java.lang.String username,
java.lang.String password,
java.lang.String baseUrl)
Constructor for the SuggestStandards object supplying username, password and baseUrl
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getMethod()
Gets the method attribute of the CATWebService object
|
java.util.List |
getSuggestions(CATRequestConstraints constraints)
Gets the suggestions attribute of the SuggestStandards object
|
java.util.List |
getSuggestions(java.lang.String resourceUrl,
java.util.Map optionalArgs) |
static void |
main(java.lang.String[] args)
The main program for the SuggestStandards class
|
getErrorMsg, getResponse, getResponse, pp
public SuggestStandards()
public SuggestStandards(java.lang.String username, java.lang.String password, java.lang.String baseUrl)
username
- the client usernamepassword
- the client passwordbaseUrl
- the service baseUrlprotected java.lang.String getMethod()
CATWebService
getMethod
in class CATWebService
public java.util.List getSuggestions(CATRequestConstraints constraints) throws java.lang.Exception
constraints
- search request contraintsjava.lang.Exception
- if request is not successfulpublic java.util.List getSuggestions(java.lang.String resourceUrl, java.util.Map optionalArgs) throws java.lang.Exception
resourceUrl
- url for resource for which suggestions are madeoptionalArgs
- additional search contraintsjava.lang.Exception
- NOT YET DOCUMENTEDpublic static void main(java.lang.String[] args)
args
- The command line arguments