/** @return Returns the locations. */
 public List getLocations() {
   if (locations == null || refresh == true) {
     locations = locationDAO.Locations();
     refresh = false;
   }
   return locations;
 }
 public void saveLocation(Location stock) throws Exception {
   locationDAO.saveLocation(stock);
   refresh = true;
 }
 public Location getLocation(Integer LocationID) {
   return locationDAO.getLocation(LocationID);
 }