Class ProjectRemoteServiceImpl
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.service.remote.impl.RemoteServiceImpl<Project>
-
- ca.corefacility.bioinformatics.irida.service.remote.impl.ProjectRemoteServiceImpl
-
- All Implemented Interfaces:
ProjectRemoteService
,RemoteService<Project>
@Service public class ProjectRemoteServiceImpl extends RemoteServiceImpl<Project> implements ProjectRemoteService
Remote service for retrievingProject
s
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROJECTS_BOOKMARK
-
Constructor Summary
Constructors Constructor Description ProjectRemoteServiceImpl(ProjectRemoteRepository repository, RemoteAPIRepository apiRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getProjectHash(Project project)
Read the full project hash for the given projectjava.util.List<Project>
listProjectsForAPI(RemoteAPI api)
List all of the projects for a givenRemoteAPI
-
Methods inherited from class ca.corefacility.bioinformatics.irida.service.remote.impl.RemoteServiceImpl
getRemoteApiForURI, getServiceStatus, list, read, read
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ca.corefacility.bioinformatics.irida.service.remote.RemoteService
getServiceStatus, list, read, read
-
-
-
-
Field Detail
-
PROJECTS_BOOKMARK
public static final java.lang.String PROJECTS_BOOKMARK
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProjectRemoteServiceImpl
@Autowired public ProjectRemoteServiceImpl(ProjectRemoteRepository repository, RemoteAPIRepository apiRepository)
-
-
Method Detail
-
listProjectsForAPI
public java.util.List<Project> listProjectsForAPI(RemoteAPI api)
List all of the projects for a givenRemoteAPI
- Specified by:
listProjectsForAPI
in interfaceProjectRemoteService
- Parameters:
api
- The remote API to list projects for- Returns:
- A List of
Project
s
-
getProjectHash
public java.lang.Integer getProjectHash(Project project)
Read the full project hash for the given project- Specified by:
getProjectHash
in interfaceProjectRemoteService
- Parameters:
project
- theProject
to get the hash for- Returns:
- A deep hashcode for all objects in the project
-
-