package no.niths.infrastructure.development.interfaces; import no.niths.domain.development.Developer; import no.niths.infrastructure.interfaces.GenericRepository; /** * Repository class for Developer * * <p> * Inherits the basic CRUD actions and has method * for getByDeveloperKey * </p> */ public interface DeveloperRepository extends GenericRepository<Developer> { @Deprecated Developer getByDeveloperToken(String token, boolean isEnabled); /** * Returns the developer with matching key, * or null if no developer is found * * @param key the developer key * @return a developer or null */ Developer getByDeveloperKey(String key); }