View Javadoc

1   package org.kuali.mobility.dining.service;
2   
3   import java.util.List;
4   
5   import org.kuali.mobility.dining.dao.DiningDao;
6   import org.kuali.mobility.dining.entity.Menu;
7   import org.kuali.mobility.dining.entity.Place;
8   
9   public class DiningServiceUMImpl implements DiningService {
10  	private DiningDao dao;    // DiningDaoUMImpl
11  	
12  	public void setDao(DiningDao dao) {
13  		this.dao = dao;
14  	}
15  
16  	@Override
17  	public List<Place> getPlaces() {
18  		
19  		return dao.getPlaceList();
20  	}
21  	
22  	@Override
23  	public String getMenusJson( final String name, final String location ) {
24  		
25  		return dao.getMenusJson(name, location);
26  	}
27  	
28  	@Override
29  	public List<Menu> getMenus(String location) {
30  		// TODO Auto-generated method stub
31  		return null;
32  	}
33  
34  	
35  }