Class PlaygroundRepositoryImpl
java.lang.Object
projectplayground.repositories.playground.PlaygroundRepositoryImpl
@Repository
public class PlaygroundRepositoryImpl
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description private javax.persistence.EntityManager
entityManager
-
Constructor Summary
Constructors Constructor Description PlaygroundRepositoryImpl()
-
Method Summary
Modifier and Type Method Description void
addPlaygroundCounter(Playground playground, int children)
void
deductPlaygroundCounter(Playground playground, int children)
java.util.List<Device>
findAllDevicesByPlaygroundID(long ID)
java.util.List<Expansion>
findAllExpansionsByPlaygroundID(long ID)
java.util.List<Playground>
findAllPlaygrounds(java.lang.String playgroundName, java.lang.String streetName)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
findAllExpansionsByPlaygroundID
-
deductPlaygroundCounter
-
addPlaygroundCounter
-