Class GameRepository
- java.lang.Object
-
- com.dulanywebsite.sharedresources.repositories.DuWebEntityRepository
-
- com.dulanywebsite.sharedresources.repositories.game.GameRepository
-
- Direct Known Subclasses:
SecretSantaGameRepository
@NoRepositoryBean public abstract class GameRepository extends DuWebEntityRepository
-
-
Field Summary
-
Fields inherited from class com.dulanywebsite.sharedresources.repositories.DuWebEntityRepository
baseApiUrl, client, entityType, headerMap, objectMapper
-
-
Constructor Summary
Constructors Constructor Description GameRepository(EntityHttpClient client, java.lang.String entityType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<DuWebEntity>findByGroup(java.lang.Long groupId)java.util.List<DuWebEntity>findByName(java.lang.String name)java.util.List<DuWebEntity>findByOwnerId(java.lang.Long userId)
-
-
-
Constructor Detail
-
GameRepository
public GameRepository(EntityHttpClient client, java.lang.String entityType)
-
-
Method Detail
-
findByOwnerId
public java.util.List<DuWebEntity> findByOwnerId(java.lang.Long userId) throws java.io.IOException
- Throws:
java.io.IOException
-
findByGroup
public java.util.List<DuWebEntity> findByGroup(java.lang.Long groupId) throws java.io.IOException
- Throws:
java.io.IOException
-
findByName
public java.util.List<DuWebEntity> findByName(java.lang.String name) throws java.io.IOException
- Throws:
java.io.IOException
-
-