public class SuperUserClientSideElement extends SuperUserClientSideElement implements Contextualizable
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
private Context |
_context |
_profileAssignmentStorageEP, _profilesDAO, _rightCtxEP, _rightsEP, _sManager, _userHelper
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
SuperUserClientSideElement() |
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 |
contextualize(Context context) |
affectUserToNewProfile, getContextualParameters, service
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
public SuperUserClientSideElement()
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
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