Class JobManagerPeasSessionController
- java.lang.Object
-
- org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
-
- org.silverpeas.core.web.mvc.controller.AbstractAdminComponentSessionController
-
- org.silverpeas.web.jobmanager.control.JobManagerPeasSessionController
-
- All Implemented Interfaces:
Serializable
,ComponentSessionController
,SessionCloseable
public class JobManagerPeasSessionController extends AbstractAdminComponentSessionController
Web Controller for all administrative tasks in the backoffice- Author:
- Emmanuel Hugonnet
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
context
-
-
Constructor Summary
Constructors Constructor Description JobManagerPeasSessionController(MainSessionController mainSessionCtrl, ComponentContext componentContext)
Standard Session Controller Constructeur
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changeOperationActif(String idNewOperation)
void
changeServiceActif(String idNewService)
String
getDirectAccessToSpaceId()
String
getIdDefaultService()
String
getIdOperationActif()
String
getIdServiceActif()
JobManagerService
getService(String key)
JobManagerService[]
getServices(int level)
JobManagerService[]
getSubServices(String idService)
JobManagerService[]
getSubServices(JobManagerService jmsParent)
boolean
isAccessGranted()
Used mainly byAbstractAdminComponentSessionController.checkAccessGranted()
.void
setDirectAccessToSpaceId(String directAccessToSpaceId)
-
Methods inherited from class org.silverpeas.core.web.mvc.controller.AbstractAdminComponentSessionController
checkAccessGranted, checkAccessGranted, checkAdminAccessOnly, isAccessGranted, isUserAdmin, setAppModeMaintenance, setSpaceModeMaintenance, throwForbiddenError
-
Methods inherited from class org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
addClipboardSelection, clipboardPasteDone, close, getClipboardErrorMessage, getClipboardExceptionError, getClipboardObjects, getClipboardSelectedObjects, getClipboardSize, getComponentAccessController, getComponentId, getComponentLabel, getComponentName, 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, setClipboardSelectedElement, setComponentRootName
-
-
-
-
Constructor Detail
-
JobManagerPeasSessionController
public JobManagerPeasSessionController(MainSessionController mainSessionCtrl, ComponentContext componentContext)
Standard Session Controller Constructeur- Parameters:
mainSessionCtrl
- The user's profilecomponentContext
- The component's profile
-
-
Method Detail
-
isAccessGranted
public boolean isAccessGranted()
Description copied from class:AbstractAdminComponentSessionController
Used mainly byAbstractAdminComponentSessionController.checkAccessGranted()
.Each implementation can precise or change this default implementation.
- Overrides:
isAccessGranted
in classAbstractAdminComponentSessionController
- Returns:
- true if access granted, false otherwise.
-
getServices
public JobManagerService[] getServices(int level)
-
getSubServices
public JobManagerService[] getSubServices(JobManagerService jmsParent)
-
getSubServices
public JobManagerService[] getSubServices(String idService)
-
getService
public JobManagerService getService(String key)
-
changeServiceActif
public void changeServiceActif(String idNewService)
-
getIdServiceActif
public String getIdServiceActif()
-
getIdOperationActif
public String getIdOperationActif()
-
changeOperationActif
public void changeOperationActif(String idNewOperation)
-
getIdDefaultService
public String getIdDefaultService()
-
getDirectAccessToSpaceId
public String getDirectAccessToSpaceId()
-
setDirectAccessToSpaceId
public void setDirectAccessToSpaceId(String directAccessToSpaceId)
-
-