コード例 #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);
 }