com.germinus.merlin.controller.resources
Class ResourcesViewController

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.portlet.context.PortletApplicationObjectSupport
          extended by org.springframework.web.portlet.handler.PortletContentGenerator
              extended by org.springframework.web.portlet.mvc.AbstractController
                  extended by com.germinus.merlin.controller.resources.ResourcesViewController
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.web.portlet.context.PortletContextAware, org.springframework.web.portlet.mvc.Controller

public class ResourcesViewController
extends org.springframework.web.portlet.mvc.AbstractController
implements org.springframework.beans.factory.InitializingBean


Field Summary
static java.lang.String SUCCESS_VIEW
           
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
ResourcesViewController()
           
 
Method Summary
 void afterPropertiesSet()
           
 CourseManager getCourseManager()
           
 IMerlinDLManager getDocumentLibraryManager()
           
 com.germinus.liferay.util.ILiferayUtil getLiferayUtil()
           
protected  void handleActionRequestInternal(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
          Process the action request.
 org.springframework.web.portlet.ModelAndView handleRenderRequestInternal(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
          Process the render request and return a ModelAndView object which the DispatcherPortlet will render.
 void setCourseManager(CourseManager courseManager)
           
 void setDocumentLibraryManager(IMerlinDLManager documentLibraryManager)
           
 void setLiferayUtil(com.germinus.liferay.util.ILiferayUtil liferayUtil)
           
 
Methods inherited from class org.springframework.web.portlet.mvc.AbstractController
handleActionRequest, handleRenderRequest, isRenderWhenMinimized, isSynchronizeOnSession, setRenderWhenMinimized, setSynchronizeOnSession
 
Methods inherited from class org.springframework.web.portlet.handler.PortletContentGenerator
applyCacheSeconds, cacheForSeconds, check, checkAndPrepare, checkAndPrepare, getCacheSeconds, isRequireSession, preventCaching, setCacheSeconds, setRequireSession
 
Methods inherited from class org.springframework.web.portlet.context.PortletApplicationObjectSupport
getPortletContext, getTempDir, isContextRequired, setPortletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUCCESS_VIEW

public static final java.lang.String SUCCESS_VIEW
See Also:
Constant Field Values
Constructor Detail

ResourcesViewController

public ResourcesViewController()
Method Detail

handleActionRequestInternal

protected void handleActionRequestInternal(javax.portlet.ActionRequest request,
                                           javax.portlet.ActionResponse response)
                                    throws java.lang.Exception
Process the action request. There is nothing to return.

Overrides:
handleActionRequestInternal in class org.springframework.web.portlet.mvc.AbstractController
Throws:
java.lang.Exception

handleRenderRequestInternal

public org.springframework.web.portlet.ModelAndView handleRenderRequestInternal(javax.portlet.RenderRequest request,
                                                                                javax.portlet.RenderResponse response)
                                                                         throws java.lang.Exception
Process the render request and return a ModelAndView object which the DispatcherPortlet will render.

Overrides:
handleRenderRequestInternal in class org.springframework.web.portlet.mvc.AbstractController
Throws:
java.lang.Exception

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

getCourseManager

public CourseManager getCourseManager()
Returns:
the courseManager

setCourseManager

public void setCourseManager(CourseManager courseManager)
Parameters:
courseManager - the courseManager to set

getLiferayUtil

public com.germinus.liferay.util.ILiferayUtil getLiferayUtil()
Returns:
the liferayUtil

setLiferayUtil

public void setLiferayUtil(com.germinus.liferay.util.ILiferayUtil liferayUtil)
Parameters:
liferayUtil - the liferayUtil to set

getDocumentLibraryManager

public IMerlinDLManager getDocumentLibraryManager()
Returns:
the documentLibraryManager

setDocumentLibraryManager

public void setDocumentLibraryManager(IMerlinDLManager documentLibraryManager)
Parameters:
documentLibraryManager - the documentLibraryManager to set


Copyright © 2008. All Rights Reserved.