Package org.silverpeas.web.jcrmonitor
Class JcrMonitorWebController
- java.lang.Object
-
- org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
-
- org.silverpeas.core.web.mvc.webcomponent.WebComponentController<JcrMonitorWebRequestContext>
-
- org.silverpeas.web.jcrmonitor.JcrMonitorWebController
-
- All Implemented Interfaces:
Serializable
,ComponentSessionController
,SessionCloseable
@WebComponentController("jcrmonitor") public class JcrMonitorWebController extends WebComponentController<JcrMonitorWebRequestContext>
- Author:
- silveryocha
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
JCR_MONITOR_COMPONENT_NAME
-
Fields inherited from class org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
context
-
-
Constructor Summary
Constructors Constructor Description JcrMonitorWebController(MainSessionController controller, ComponentContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
forceGC(JcrMonitorWebRequestContext context)
void
forceSizeComputing(JcrMonitorWebRequestContext context)
String
getComponentName()
Return the name of the component (as specified in the xmlComponent)void
home(JcrMonitorWebRequestContext context)
protected void
onInstantiation(JcrMonitorWebRequestContext context)
This method is called one times just after the web controller is instantiated and just before the call of the HTTP web controller method.-
Methods inherited from class org.silverpeas.core.web.mvc.webcomponent.WebComponentController
beforeRequestProcessing
-
Methods inherited from class org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
addClipboardSelection, clipboardPasteDone, close, getClipboardErrorMessage, getClipboardExceptionError, getClipboardObjects, getClipboardSelectedObjects, getClipboardSize, getComponentAccessController, getComponentId, getComponentLabel, getComponentParameterValue, getComponentParameterValue, getComponentRootName, getComponentUrl, getHighestSilverpeasUserRole, getIcon, getLanguage, getLook, getMultilang, getOrganisationController, getPersonalization, getRSSUrl, getSelection, getSettings, getSilverpeasUserRoles, getSpaceId, getSpaceLabel, getString, getSubscriptionContext, getUrlEncodedParameter, getUserAccessLevel, getUserAvailComponentIds, getUserDetail, getUserDetail, getUserId, getUserManageableGroupIds, getUserManageableSpaceIds, getUserRoles, getZoneId, isAppInMaintenance, isGroupManager, isPasswordChangeAllowed, isSpaceInMaintenance, removeClipboardElement, setAppModeMaintenance, setClipboardSelectedElement, setComponentRootName, setSpaceModeMaintenance
-
-
-
-
Field Detail
-
JCR_MONITOR_COMPONENT_NAME
public static final String JCR_MONITOR_COMPONENT_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JcrMonitorWebController
public JcrMonitorWebController(MainSessionController controller, ComponentContext context)
-
-
Method Detail
-
onInstantiation
protected void onInstantiation(JcrMonitorWebRequestContext context)
Description copied from class:WebComponentController
This method is called one times just after the web controller is instantiated and just before the call of the HTTP web controller method.- Specified by:
onInstantiation
in classWebComponentController<JcrMonitorWebRequestContext>
- Parameters:
context
- the web request context.
-
getComponentName
public String getComponentName()
Description copied from interface:ComponentSessionController
Return the name of the component (as specified in the xmlComponent)- Specified by:
getComponentName
in interfaceComponentSessionController
- Overrides:
getComponentName
in classAbstractComponentSessionController
-
home
@GET @Path("Main") @Homepage @RedirectToInternalJsp("jcrmonitor.jsp") @LowestRoleAccess(ADMIN) public void home(JcrMonitorWebRequestContext context)
-
forceSizeComputing
@POST @Path("ForceSizeComputing") @RedirectToInternalJsp("jcrmonitor.jsp") @LowestRoleAccess(ADMIN) public void forceSizeComputing(JcrMonitorWebRequestContext context)
-
forceGC
@POST @Path("forceGC") @RedirectToInternalJsp("jcrmonitor.jsp") @LowestRoleAccess(ADMIN) public void forceGC(JcrMonitorWebRequestContext context)
-
-