DB access functions related to floor plan