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