| Type | Name and description |
|---|---|
static java.lang.String |
DEFAULT_API_KEY_HEADER |
static java.lang.String |
USER_HEADER |
au.org.ala.web.AuthService |
authService |
java.lang.Object |
grailsApplication |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
addAuthorisationFields(java.util.Map body)add api key and user email for authorisation and audit activities in collectory |
|
java.lang.String |
buildName(java.util.Map contact) |
|
java.util.List<java.lang.String> |
descendantDataResources(java.util.Map institution)List the data resource uids linked to this institution |
|
java.util.List<java.lang.String> |
descendantUids(java.util.Map institution)List the uids that identify this institution and all its descendant institutions. |
|
int |
doDelete(java.lang.String url)This function does a http HEAD call on the given url. |
|
java.util.Map |
doGet(java.lang.String url)Do a get request. |
|
java.util.Map |
doHead(java.lang.String url)This function does a http HEAD call on the given url. |
|
java.util.Map |
doPost(java.lang.String url, java.lang.String body)Do a post with JSON body |
|
java.util.Map |
doPost(java.lang.String url, java.util.Map body)Post to a url with Map as the body parameter. |
|
java.util.List |
getPublicContactsPrimaryFirst(java.util.List contacts)Return all contacts for this group with the primary contact listed first filtered to only include those with the 'public' attribute. |
|
java.lang.Object |
isAddressEmpty(java.lang.Object address) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
add api key and user email for authorisation and audit activities in collectory
List the data resource uids linked to this institution
List the uids that identify this institution and all its descendant institutions.
This function does a http HEAD call on the given url.
Do a get request. This method returns headers as well.
This function does a http HEAD call on the given url.
Do a post with JSON body
body - - JSON stringPost to a url with Map as the body parameter. This function adds authorization information to post body.
Return all contacts for this group with the primary contact listed first filtered to only include those with the 'public' attribute.