Class PlaygroundRepositoryImpl

java.lang.Object
projectplayground.repositories.playground.PlaygroundRepositoryImpl

@Repository
public class PlaygroundRepositoryImpl
extends java.lang.Object
  • Field Details

    • entityManager

      private javax.persistence.EntityManager entityManager
  • Constructor Details

    • PlaygroundRepositoryImpl

      public PlaygroundRepositoryImpl()
  • Method Details

    • findAllPlaygrounds

      public java.util.List<Playground> findAllPlaygrounds​(java.lang.String playgroundName, java.lang.String streetName)
    • findAllDevicesByPlaygroundID

      public java.util.List<Device> findAllDevicesByPlaygroundID​(long ID)
    • findAllExpansionsByPlaygroundID

      public java.util.List<Expansion> findAllExpansionsByPlaygroundID​(long ID)
    • deductPlaygroundCounter

      public void deductPlaygroundCounter​(Playground playground, int children)
    • addPlaygroundCounter

      public void addPlaygroundCounter​(Playground playground, int children)