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