Interface RemoteAPIService
-
- All Superinterfaces:
CRUDService<java.lang.Long,RemoteAPI>
- All Known Implementing Classes:
RemoteAPIServiceImpl
public interface RemoteAPIService extends CRUDService<java.lang.Long,RemoteAPI>
Service for storing and retrievingRemoteAPI
s that this API can connect to
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RemoteAPI
getRemoteAPIForUrl(java.lang.String url)
Find theRemoteAPI
where the serviceURI is a substring of the given URL.-
Methods inherited from interface ca.corefacility.bioinformatics.irida.service.CRUDService
count, create, delete, exists, findAll, findRevisions, findRevisions, list, list, list, read, readMultiple, search, search, update, updateFields, updateMultiple
-
-
-
-
Method Detail
-
getRemoteAPIForUrl
RemoteAPI getRemoteAPIForUrl(java.lang.String url)
Find theRemoteAPI
where the serviceURI is a substring of the given URL. For example if you passed the URL 'http://irida.ca/api/projects/5/samples/3' the method would find aRemoteAPI
with serviceURI of 'http://irida.ca/api'- Parameters:
url
- The URL to test- Returns:
- The
RemoteAPI
matching the given URL
-
-