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 DuWebEntityListfindByGroup(java.lang.Long groupId)DuWebEntityListfindByName(java.lang.String name)DuWebEntityListfindByOwnerId(java.lang.Long userId)
-
-
-
Constructor Detail
-
GameRepository
public GameRepository(EntityHttpClient client, java.lang.String entityType)
-
-
Method Detail
-
findByOwnerId
public DuWebEntityList findByOwnerId(java.lang.Long userId)
-
findByGroup
public DuWebEntityList findByGroup(java.lang.Long groupId)
-
findByName
public DuWebEntityList findByName(java.lang.String name)
-
-