com.germinus.merlin.controller.assignments
Class AssignmentPermissionsController
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.portlet.context.PortletApplicationObjectSupport
org.springframework.web.portlet.handler.PortletContentGenerator
org.springframework.web.portlet.mvc.AbstractController
com.germinus.merlin.controller.assignments.AssignmentPermissionsController
- 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 AssignmentPermissionsController
- extends org.springframework.web.portlet.mvc.AbstractController
- implements org.springframework.beans.factory.InitializingBean
- Since:
- 1.0
- Version:
- Author:
- Jesús Rodríguez, Germinus XXI
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
logger |
Methods inherited from class org.springframework.web.portlet.mvc.AbstractController |
handleActionRequest, handleActionRequestInternal, 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 |
AssignmentPermissionsController
public AssignmentPermissionsController()
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
getAssignmentManager
public AssignmentManager getAssignmentManager()
- Returns:
- the assignmentManager
getCourseManager
public CourseManager getCourseManager()
- Returns:
- the courseManager
handleActionRequestVoid
public void handleActionRequestVoid(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws java.lang.Exception
- Process the action request. There is nothing to return.
- Parameters:
request
- response
-
- 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.
Get the id of the assignment to be deleted and deleted from the database.
When the assignment is deleted its rendered the page of assignments list.
- Overrides:
handleRenderRequestInternal
in class org.springframework.web.portlet.mvc.AbstractController
- Parameters:
request
- response
-
- Returns:
- ModelAndView
- Throws:
java.lang.Exception
setAssignmentManager
public void setAssignmentManager(AssignmentManager assignmentsManagement)
- Parameters:
assignmentManager
- the assignmentManager to set
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
getMerlinUtil
public IMerlinUtil getMerlinUtil()
- Returns:
- the merlinUtil
setMerlinUtil
public void setMerlinUtil(IMerlinUtil merlinUtil)
- Parameters:
merlinUtil
- the merlinUtil to set
Copyright © 2008. All Rights Reserved.