public class LocationDao extends Object implements LocationDaoLocal
| Constructor and Description |
|---|
LocationDao() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
countAll()
Methode die die Anzahl aller Location Objekte die sich in der Datenbank
befinden zurück liefert.
|
Integer |
countAllVisible() |
void |
delete(Location location)
Methode zum löschen eines Objektes der Klasse Location.
|
List<Location> |
findAll(Integer start,
Integer max)
Methode zum laden einer Liste von Location Objekten, es muss dabei ein
Startwert angegeben werden und die Anzahl der zu ladenen Location Objekte.
|
List<Location> |
findAll(Integer start,
Integer max,
String field,
String order) |
List<Location> |
findAllEventLocation() |
List<Location> |
findAllVisible(Integer start,
Integer max)
Methode zum Laden einer Listen von Location Objekten, es muss dabei ein
Startwert angegeben werden und die Anzahl der zu ladenden Objekte.
|
Location |
findByUuid(String uuid) |
Location |
findByUuidWidthEvents(String uuid) |
Boolean |
isEventLocation(String uuid)
Metholde um zu überprüfen ob die angegebene Uuid zu einer Location mit Reservierung gehört.
|
Boolean |
isLocation(String uuid)
Metholde um zu überprüfen ob die angegebene Uuid zu einer Location gehört.
|
void |
merge(Location location)
Methode zum verändern eines Objektes der Klasse Location.
|
void |
removeOpeningHour(Integer index,
String location) |
void |
save(Location location)
Methode zum speichern eines Objektes der Klasse Location.
|
public void save(Location location)
LocationDaoLocalsave in interface LocationDaoLocallocation - - Location Objekt das gespeichert werden sollpublic void merge(Location location)
LocationDaoLocalmerge in interface LocationDaoLocallocation - - Location Objekt das verändert werden sollpublic void delete(Location location)
LocationDaoLocaldelete in interface LocationDaoLocallocation - - zu löschendes Location Objektpublic Boolean isLocation(String uuid)
LocationDaoLocalisLocation in interface LocationDaoLocaluuid - - Die Uuid die überprüft werden soll.public Boolean isEventLocation(String uuid)
LocationDaoLocalisEventLocation in interface LocationDaoLocaluuid - - Die Uuid die überprüft werden soll.public Location findByUuid(String uuid)
findByUuid in interface LocationDaoLocalpublic Location findByUuidWidthEvents(String uuid)
findByUuidWidthEvents in interface LocationDaoLocalpublic List<Location> findAll(Integer start, Integer max)
LocationDaoLocalfindAll in interface LocationDaoLocalstart - - Startwert ab der die Liste beginnen sollmax - - Maximale Anzahl an Objekten die die Liste enthalten sollpublic List<Location> findAll(Integer start, Integer max, String field, String order)
findAll in interface LocationDaoLocalpublic List<Location> findAllEventLocation()
findAllEventLocation in interface LocationDaoLocalpublic List<Location> findAllVisible(Integer start, Integer max)
LocationDaoLocalfindAllVisible in interface LocationDaoLocalpublic Integer countAll()
LocationDaoLocalcountAll in interface LocationDaoLocalpublic Integer countAllVisible()
countAllVisible in interface LocationDaoLocalpublic void removeOpeningHour(Integer index, String location)
removeOpeningHour in interface LocationDaoLocalCopyright © 2010–2020 T.I.V. Consulting GmbH. All rights reserved.