public class ProjectSuperUserClientSideElement extends SuperUserClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
protected ProjectMemberManager |
_projectUserManager
The project user manager
|
_profileAssignmentStorageEP, _profilesDAO, _rightCtxEP, _rightsEP, _sManager, _userHelper
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
ProjectSuperUserClientSideElement() |
Modifier and Type | Method and Description |
---|---|
void |
affectUserToProfile(Map<String,String> user,
String profileId,
Map<String,Object> jsParameters)
Affect a user to the given profile on the given context
|
void |
service(ServiceManager smanager) |
contextualize
affectUserToNewProfile, getContextualParameters
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
protected ProjectMemberManager _projectUserManager
public ProjectSuperUserClientSideElement()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class SuperUserClientSideElement
ServiceException
public void affectUserToProfile(Map<String,String> user, String profileId, Map<String,Object> jsParameters)
SuperUserClientSideElement
affectUserToProfile
in class SuperUserClientSideElement
user
- The userprofileId
- The profile idjsParameters
- The client-side parameters