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 String
WBE_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 void
disable(WbeWebRequestContext context)
void
enable(WbeWebRequestContext context)
String
getComponentName()
Return the name of the component (as specified in the xmlComponent)void
home(WbeWebRequestContext context)
protected void
onInstantiation(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.void
revokeAll(WbeWebRequestContext context)
void
revokeSelected(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: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<WbeWebRequestContext>
- 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("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)
-
-