Package org.silverpeas.web.wbe
Class WbeWebController
- java.lang.Object
-
- org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
-
- org.silverpeas.core.web.mvc.webcomponent.WebComponentController<WbeWebRequestContext>
-
- org.silverpeas.web.wbe.WbeWebController
-
- All Implemented Interfaces:
Serializable,ComponentSessionController,SessionCloseable
@WebComponentController("wbe") public class WbeWebController extends WebComponentController<WbeWebRequestContext>
- Author:
- silveryocha
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringWBE_COMPONENT_NAME-
Fields inherited from class org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
context
-
-
Constructor Summary
Constructors Constructor Description WbeWebController(MainSessionController controller, ComponentContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisable(WbeWebRequestContext context)voidenable(WbeWebRequestContext context)StringgetComponentName()Return the name of the component (as specified in the xmlComponent)voidhome(WbeWebRequestContext context)protected voidonInstantiation(WbeWebRequestContext 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.voidrevokeAll(WbeWebRequestContext context)voidrevokeSelected(WbeWebRequestContext context)-
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
-
WBE_COMPONENT_NAME
public static final String WBE_COMPONENT_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WbeWebController
public WbeWebController(MainSessionController controller, ComponentContext context)
-
-
Method Detail
-
onInstantiation
protected void onInstantiation(WbeWebRequestContext context)
Description copied from class:WebComponentControllerThis 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:
onInstantiationin classWebComponentController<WbeWebRequestContext>- Parameters:
context- the web request context.
-
getComponentName
public String getComponentName()
Description copied from interface:ComponentSessionControllerReturn the name of the component (as specified in the xmlComponent)- Specified by:
getComponentNamein interfaceComponentSessionController- Overrides:
getComponentNamein classAbstractComponentSessionController
-
home
@GET @Path("Main") @Homepage @RedirectToInternalJsp("wbe.jsp") @LowestRoleAccess(ADMIN) public void home(WbeWebRequestContext context)
-
enable
@POST @Path("enable") @RedirectToInternalJsp("wbe.jsp") @LowestRoleAccess(ADMIN) public void enable(WbeWebRequestContext context)
-
disable
@POST @Path("disable") @RedirectToInternalJsp("wbe.jsp") @LowestRoleAccess(ADMIN) public void disable(WbeWebRequestContext context)
-
revokeSelected
@POST @Path("revokeSelected") @RedirectToInternalJsp("wbe.jsp") @LowestRoleAccess(ADMIN) public void revokeSelected(WbeWebRequestContext context)
-
revokeAll
@POST @Path("revokeAll") @RedirectToInternalJsp("wbe.jsp") @LowestRoleAccess(ADMIN) public void revokeAll(WbeWebRequestContext context)
-
-