Uses of Class
cz.zcu.students.cacha.bp_server.domain.Room
-
-
Uses of Room in cz.zcu.students.cacha.bp_server.controllers
Methods in cz.zcu.students.cacha.bp_server.controllers with parameters of type Room Modifier and Type Method Description GenericResponse
LocationController. saveRoom(@Valid Room room, Long buildingId, User user)
Saves new room to given building defined by idGenericResponse
LocationController. updateRoom(@Valid Room room, Long roomId, User user)
Updates room information based on its id -
Uses of Room in cz.zcu.students.cacha.bp_server.repositories
Methods in cz.zcu.students.cacha.bp_server.repositories that return types with arguments of type Room Modifier and Type Method Description Optional<Room>
RoomRepository. findByIdAndBuilding(Long roomId, Building building)
Gets room by its name and buildingOptional<Room>
RoomRepository. findByNameAndBuilding(String name, Building building)
Gets room by its name and buildingMethods in cz.zcu.students.cacha.bp_server.repositories with parameters of type Room Modifier and Type Method Description Optional<Showcase>
ShowcaseRepository. findByIdAndRoom(Long showcaseId, Room room)
Gets showcase by its id and roomOptional<Showcase>
ShowcaseRepository. findByNameAndRoom(String name, Room room)
Gets showcase by its name and room -
Uses of Room in cz.zcu.students.cacha.bp_server.services
Methods in cz.zcu.students.cacha.bp_server.services with parameters of type Room Modifier and Type Method Description void
LocationService. saveRoom(Room room, Long buildingId, User user)
Saves new room to building defined by idvoid
LocationService. updateRoom(Room updatedRoom, Long roomId, User user)
Updates room defined by id with new information -
Uses of Room in cz.zcu.students.cacha.bp_server.view_models
Constructors in cz.zcu.students.cacha.bp_server.view_models with parameters of type Room Constructor Description RoomVM(Room room)
creates new instance based on given room
-