org.jasig.portlet.dining.dao
Class MockDiningMenuDaoImpl

java.lang.Object
  extended by 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
           
 
Constructor Summary
MockDiningMenuDaoImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 List<String> getDiningHalls(javax.portlet.PortletRequest request)
          Get the list of dining halls for a given portlet request.
 DiningHall getMenu(javax.portlet.PortletRequest request, String diningHall)
          Get the menu for the specified dining hall.
 void setMockData(org.springframework.core.io.Resource mockData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

MockDiningMenuDaoImpl

public MockDiningMenuDaoImpl()
Method Detail

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.