com.silverpeas.jobOrganizationPeas.control
Class JobOrganizationPeasSessionController
java.lang.Object
com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
com.silverpeas.jobOrganizationPeas.control.JobOrganizationPeasSessionController
- All Implemented Interfaces:
- ComponentSessionController
public class JobOrganizationPeasSessionController
- extends AbstractComponentSessionController
Class declaration
- Author:
- Thierry Leroi
Methods inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController |
addClipboardSelection, clipboardPasteDone, close, getAlertUser, getClipboardCount, getClipboardErrorMessage, getClipboardExceptionError, getClipboardName, getClipboardObjects, getClipboardSelectedObjects, getClipboardSize, getComponentAccessController, getComponentId, getComponentLabel, getComponentName, getComponentParameters, getComponentParameterValue, getComponentParameterValue, getComponentRootName, getComponentUrl, getFavoriteSpace, getGenericPanel, getHighestSilverpeasUserRole, getIcon, getLanguage, getLastResults, getLook, getMultilang, getOrganisationController, getPersonalization, getRSSUrl, getSelection, getServerNameAndPort, getSettings, getSilverpeasUserRoles, getSpaceId, getSpaceLabel, getString, getSubscriptionContext, getUrlEncodedParameter, getUserAccessLevel, getUserAvailComponentIds, getUserAvailSpaceIds, getUserDetail, getUserDetail, getUserId, getUserManageableGroupIds, getUserManageableSpaceIds, getUserRoleLevel, getUserRoles, isAppInMaintenance, isGroupManager, isPasswordChangeAllowed, isSpaceInMaintenance, removeClipboardElement, setAppModeMaintenance, setClipboardError, setClipboardSelectedElement, setComponentRootName, setFavoriteSpaceToMainSessionController, setGenericPanel, setIconFileName, setLastResults, setMultilangFileName, setResourceFileName, setSpaceModeMaintenance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REPLACE_RIGHTS
public static final String REPLACE_RIGHTS
- See Also:
- Constant Field Values
ADD_RIGHTS
public static final String ADD_RIGHTS
- See Also:
- Constant Field Values
JobOrganizationPeasSessionController
public JobOrganizationPeasSessionController(MainSessionController mainSessionCtrl,
ComponentContext componentContext)
- Standard Session Controller Constructeur
- Parameters:
mainSessionCtrl
- The user's profilecomponentContext
- The component's profile- See Also:
isRightCopyReplaceActivated
public boolean isRightCopyReplaceActivated()
getAdminController
public AdminController getAdminController()
setCurrentUserId
public void setCurrentUserId(String userId)
setCurrentGroupId
public void setCurrentGroupId(String groupId)
resetCurrentGroup
public void resetCurrentGroup()
getCurrentUserId
public String getCurrentUserId()
getCurrentGroupId
public String getCurrentGroupId()
getCurrentUserGroups
public String[][] getCurrentUserGroups()
- Returns:
- an array of (id, name, number of users, description).
getCurrentUser
public UserFull getCurrentUser()
- Returns:
- UserFull
getCurrentGroup
public Group getCurrentGroup()
- Returns:
- Group
getCurrentSuperGroupName
public String getCurrentSuperGroupName()
- Returns:
- String
getCurrentSpaces
public String[] getCurrentSpaces()
- Returns:
- array of space names (manageable by the current group or user)
getCurrentProfiles
public List<String[]> getCurrentProfiles()
- Returns:
- list of (array[space name, component id, component label, component name, profile
name])
initSelectionUserOrGroup
public String initSelectionUserOrGroup()
backSelectionUserOrGroup
public void backSelectionUserOrGroup()
initSelectionRightsUserOrGroup
public String initSelectionRightsUserOrGroup()
assignRights
public void assignRights(String choiceAssignRights,
String sourceRightsId,
String sourceRightsType,
boolean nodeAssignRights)
throws JobOrganizationPeasException
- Throws:
JobOrganizationPeasException
Copyright © 2016 Silverpeas. All Rights Reserved.