org.jasig.portlet.dining.dao
Class MockDiningMenuDaoImpl
java.lang.Object
org.jasig.portlet.dining.dao.MockDiningMenuDaoImpl
- All Implemented Interfaces:
- IDiningMenuDao, org.springframework.beans.factory.InitializingBean
public class MockDiningMenuDaoImpl
- extends Object
- implements IDiningMenuDao, org.springframework.beans.factory.InitializingBean
|
Field Summary |
protected org.apache.commons.logging.Log |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
MockDiningMenuDaoImpl
public MockDiningMenuDaoImpl()
setMockData
public void setMockData(org.springframework.core.io.Resource mockData)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getMenu
public DiningHall getMenu(javax.portlet.PortletRequest request,
String diningHall)
- Description copied from interface:
IDiningMenuDao
- Get the menu for the specified dining hall.
- Specified by:
getMenu in interface IDiningMenuDao
- Returns:
getDiningHalls
public List<String> getDiningHalls(javax.portlet.PortletRequest request)
- Description copied from interface:
IDiningMenuDao
- Get the list of dining halls for a given portlet request.
- Specified by:
getDiningHalls in interface IDiningMenuDao
- Returns:
Copyright © 2011 Jasig. All Rights Reserved.