Package org.ametys.plugins.extraction
Class ExtractionProfileAssignmentsToolClientSideElement
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.ui.StaticFileImportsClientSideElement
org.ametys.core.ui.StaticClientSideElement
org.ametys.core.ui.right.ProfileAssignmentsToolClientSideElement
org.ametys.plugins.extraction.ExtractionProfileAssignmentsToolClientSideElement
- All Implemented Interfaces:
ClientSideElement
,LogEnabled
,PluginAware
,Configurable
,Serviceable
public class ExtractionProfileAssignmentsToolClientSideElement
extends ProfileAssignmentsToolClientSideElement
ClientSideElement
for the tool displaying the profile assignments for queries-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.core.ui.right.ProfileAssignmentsToolClientSideElement
ProfileAssignmentsToolClientSideElement.AccessType, ProfileAssignmentsToolClientSideElement.TargetType
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
-
Field Summary
Fields inherited from class org.ametys.core.ui.right.ProfileAssignmentsToolClientSideElement
_groupDirectoryDAO, _groupManager, _observationManager, _profileAssignmentStorageEP, _profileDAO, _rightAssignmentContextEP, _userHelper
Fields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription_getEventParams
(Object context, String contextIdentifier, Set<String> profileIds) Get the event params for notification.protected boolean
Determine following the right parameter if the user has right to access this featurevoid
service
(ServiceManager smanager) Methods inherited from class org.ametys.core.ui.right.ProfileAssignmentsToolClientSideElement
_checkRightAssignmentContext, _configureRightContextIds, _notifyObservers, applyAssignments, canDelegateRights, configure, disallowInheritance, getInheritedAssignment, getInheritedAssignments, getRightAssignmentContexts, getScripts, getUserGroups, isInheritanceDisallowed, saveChanges
Methods inherited from class org.ametys.core.ui.StaticClientSideElement
_configureClass, _configureParameters, _configureScript, configureInitialParameters
Methods inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, getDependencies, getId, getPluginName, getRights, getScripts, hasRight, setPluginInfo, toString
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
ExtractionProfileAssignmentsToolClientSideElement
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classProfileAssignmentsToolClientSideElement
- Throws:
ServiceException
-
_getEventParams
protected Map<String,Object> _getEventParams(Object context, String contextIdentifier, Set<String> profileIds) Description copied from class:ProfileAssignmentsToolClientSideElement
Get the event params for notification.- Overrides:
_getEventParams
in classProfileAssignmentsToolClientSideElement
- Parameters:
context
- The contextcontextIdentifier
- The context identifierprofileIds
- The profiles- Returns:
- the event params
-
hasRight
Description copied from class:ProfileAssignmentsToolClientSideElement
Determine following the right parameter if the user has right to access this feature- Overrides:
hasRight
in classProfileAssignmentsToolClientSideElement
- Parameters:
rights
- The rights (name, context) to check. Can be empty.context
- The object context- Returns:
- true if the user has the right or if there is not right and false otherwise
-