Interface CardRepository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.Integer>
countAllByPlayerAndLocation(Player player, Card.Location hand)
java.util.Optional<java.lang.Integer>
countAllByTypeAndLocation(Card.Type type, Card.Location location)
java.util.Optional<java.util.ArrayList<Card>>
getAllByPlayer(Player player)
java.util.Optional<java.util.List<Card>>
getAllByPlayerAndLocation(Player player, Card.Location location)
java.util.ArrayList<Card>
getAllByPlayerAndLocationOrderByOrderInLocation(Player player, Card.Location location)
java.util.Optional<java.util.List<Card>>
getAllByTypeAndLocation(Card.Type type, Card.Location stack)
java.util.Optional<Card>
getByLocationAndPlayerAndType(Card.Location location, Player player, Card.Type type)
java.util.Optional<Card>
getByType(Card.Type valueOf)
-
-
-
Method Detail
-
getAllByPlayerAndLocation
java.util.Optional<java.util.List<Card>> getAllByPlayerAndLocation(Player player, Card.Location location)
-
getByLocationAndPlayerAndType
java.util.Optional<Card> getByLocationAndPlayerAndType(Card.Location location, Player player, Card.Type type)
-
getAllByTypeAndLocation
java.util.Optional<java.util.List<Card>> getAllByTypeAndLocation(Card.Type type, Card.Location stack)
-
countAllByTypeAndLocation
java.util.Optional<java.lang.Integer> countAllByTypeAndLocation(Card.Type type, Card.Location location)
-
countAllByPlayerAndLocation
java.util.Optional<java.lang.Integer> countAllByPlayerAndLocation(Player player, Card.Location hand)
-
getAllByPlayerAndLocationOrderByOrderInLocation
java.util.ArrayList<Card> getAllByPlayerAndLocationOrderByOrderInLocation(Player player, Card.Location location)
-
-