Class ProjectRemoteRepositoryImpl
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.repositories.remote.impl.RemoteRepositoryImpl<Project>
-
- ca.corefacility.bioinformatics.irida.repositories.remote.impl.ProjectRemoteRepositoryImpl
-
- All Implemented Interfaces:
ProjectRemoteRepository
,RemoteRepository<Project>
@Repository public class ProjectRemoteRepositoryImpl extends RemoteRepositoryImpl<Project> implements ProjectRemoteRepository
-
-
Constructor Summary
Constructors Constructor Description ProjectRemoteRepositoryImpl(RemoteAPITokenService tokenService, UserService userService)
Create a newProjectRemoteRepositoryImpl
with the givenRemoteAPITokenService
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
readProjectHash(Project project)
Read the full project hash for the given project-
Methods inherited from class ca.corefacility.bioinformatics.irida.repositories.remote.impl.RemoteRepositoryImpl
getServiceStatus, list, read, setRemoteStatus
-
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.repositories.remote.RemoteRepository
getServiceStatus, list, read
-
-
-
-
Constructor Detail
-
ProjectRemoteRepositoryImpl
@Autowired public ProjectRemoteRepositoryImpl(RemoteAPITokenService tokenService, UserService userService)
Create a newProjectRemoteRepositoryImpl
with the givenRemoteAPITokenService
- Parameters:
tokenService
- theRemoteAPITokenService
userService
- TheUserService
for reading users
-
-
Method Detail
-
readProjectHash
public java.lang.Integer readProjectHash(Project project)
Read the full project hash for the given project- Specified by:
readProjectHash
in interfaceProjectRemoteRepository
- Parameters:
project
- theProject
to get the hash for- Returns:
- A deep hashcode for all objects in the project
-
-