| org.sakaiproject.vm.VmServlet org.sakaiproject.cheftool.VmServlet org.sakaiproject.cheftool.ToolServlet org.sakaiproject.cheftool.VelocityPortletPaneledAction org.sakaiproject.cheftool.VelocityPortletStateAction
All known Subclasses: org.sakaiproject.calendar.tool.CalendarAction,
VelocityPortletStateAction | abstract public class VelocityPortletStateAction extends VelocityPortletPaneledAction (Code) | |
VelocityPortletStateAction is an extension of VelocityPortletAction which provides a way to associate Controller state with each instances of the portlet using this action.
|
Method Summary | |
protected ControllerState | getState(Context context, RunData rundata, Class stateClass) Get the proper state for this instance (if portlet is not known, only context).
Parameters: context - The Template Context (it contains a reference to the portlet). Parameters: rundata - The Jetspeed (Turbine) rundata associated with the request. Parameters: stateClass - The Class of the ControllerState to find / create. | protected ControllerState | getState(VelocityPortlet portlet, RunData rundata, Class stateClass) Get the proper state for this instance (if portlet is known).
Parameters: portlet - The portlet being rendered. Parameters: rundata - The Jetspeed (Turbine) rundata associated with the request. Parameters: stateClass - The Class of the ControllerState to find / create. | protected ControllerState | getState(String peid, RunData rundata, Class stateClass) Get the proper state for this instance (if portlet id is known).
Parameters: peid - The portlet id. Parameters: rundata - The Jetspeed (Turbine) rundata associated with the request. Parameters: stateClass - The Class of the ControllerState to find / create. | protected void | releaseState(Context context, RunData rundata) Release the proper state for this instance (if portlet is not known, only context). | protected void | releaseState(VelocityPortlet portlet, RunData rundata) Release the proper state for this instance (if portlet is known). | protected void | releaseState(String peid, RunData rundata) Release the proper state for this instance (if portlet id is known). |
getState | protected ControllerState getState(Context context, RunData rundata, Class stateClass)(Code) | | Get the proper state for this instance (if portlet is not known, only context).
Parameters: context - The Template Context (it contains a reference to the portlet). Parameters: rundata - The Jetspeed (Turbine) rundata associated with the request. Parameters: stateClass - The Class of the ControllerState to find / create. The proper state object for this instance. |
getState | protected ControllerState getState(VelocityPortlet portlet, RunData rundata, Class stateClass)(Code) | | Get the proper state for this instance (if portlet is known).
Parameters: portlet - The portlet being rendered. Parameters: rundata - The Jetspeed (Turbine) rundata associated with the request. Parameters: stateClass - The Class of the ControllerState to find / create. The proper state object for this instance. |
getState | protected ControllerState getState(String peid, RunData rundata, Class stateClass)(Code) | | Get the proper state for this instance (if portlet id is known).
Parameters: peid - The portlet id. Parameters: rundata - The Jetspeed (Turbine) rundata associated with the request. Parameters: stateClass - The Class of the ControllerState to find / create. The proper state object for this instance. |
releaseState | protected void releaseState(Context context, RunData rundata)(Code) | | Release the proper state for this instance (if portlet is not known, only context).
Parameters: context - The Template Context (it contains a reference to the portlet). Parameters: rundata - The Jetspeed (Turbine) rundata associated with the request. |
releaseState | protected void releaseState(VelocityPortlet portlet, RunData rundata)(Code) | | Release the proper state for this instance (if portlet is known).
Parameters: portlet - The portlet being rendered. Parameters: rundata - The Jetspeed (Turbine) rundata associated with the request. |
releaseState | protected void releaseState(String peid, RunData rundata)(Code) | | Release the proper state for this instance (if portlet id is known).
Parameters: peid - The portlet id being rendered. Parameters: rundata - The Jetspeed (Turbine) rundata associated with the request. |
Methods inherited from org.sakaiproject.cheftool.VelocityPortletPaneledAction | protected void actionDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc) public static void addAlert(SessionState state, String message)(Code)(Java Doc) protected void addOptionsMenu(Menu bar, JetspeedRunData data)(Code)(Java Doc) protected boolean allowedToOptions()(Code)(Java Doc) protected void cancelOptions()(Code)(Java Doc) protected String clientWindowId(SessionState state, String toolId)(Code)(Java Doc) public static void disableObservers(SessionState state)(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException(Code)(Java Doc) public void doOptions(RunData runData, Context context)(Code)(Java Doc) public void doReset(RunData runData, Context context)(Code)(Java Doc) public static void enableObservers(SessionState state)(Code)(Java Doc) protected Map getContext(RunData data)(Code)(Java Doc) protected void helperActionDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res, String className)(Code)(Java Doc) protected void initState(SessionState state, VelocityPortlet portlet, JetspeedRunData rundata)(Code)(Java Doc) protected void initState(SessionState state, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc) public static void justDelivered(SessionState state)(Code)(Java Doc) public static String mainPanelUpdateId(String toolId)(Code)(Java Doc) protected String panelMethodName(String panel)(Code)(Java Doc) public void processAction(HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc) protected void resetTool(SessionState state)(Code)(Java Doc) protected void saveOptions()(Code)(Java Doc) protected void scheduleFocusRefresh(String[] path)(Code)(Java Doc) protected void schedulePeerFrameRefresh(String id)(Code)(Java Doc) protected void scheduleTopRefresh()(Code)(Java Doc) protected void setVmCourier(HttpServletRequest request, int refresh)(Code)(Java Doc) protected void setVmStdRef(HttpServletRequest request, HttpServletResponse response)(Code)(Java Doc) public static String titlePanelUpdateId(String toolId)(Code)(Java Doc) protected void toolModeDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res) throws ToolException(Code)(Java Doc) protected void updateState(SessionState state, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc)
|
Methods inherited from org.sakaiproject.cheftool.ToolServlet | protected void actionDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException(Code)(Java Doc) protected Alert getAlert(HttpServletRequest req)(Code)(Java Doc) protected Alert getAlert(SessionState state)(Code)(Java Doc) protected Menu getMenu(HttpServletRequest req)(Code)(Java Doc) protected String getPid(HttpServletRequest req)(Code)(Java Doc) protected SessionState getState(HttpServletRequest req)(Code)(Java Doc) protected String getToolMode(HttpServletRequest req)(Code)(Java Doc) protected void initState(SessionState state, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc) protected void prepState(HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc) protected void processAction(HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc) protected boolean sendToHelper(HttpServletRequest req, HttpServletResponse res, String target) throws ToolException(Code)(Java Doc) protected void setToolMode(String toolMode, HttpServletRequest req)(Code)(Java Doc) protected void setVmStdRef(HttpServletRequest request, HttpServletResponse response)(Code)(Java Doc) protected void startHelper(HttpServletRequest req, String helperId, String panel)(Code)(Java Doc) protected void startHelper(HttpServletRequest req, String helperId)(Code)(Java Doc) protected void toolModeDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res) throws ToolException(Code)(Java Doc) protected void updateState(SessionState state, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc)
|
|
|