Class QueriesProfileAssignmentsToolClientSideElement
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.queriesdirectory.QueriesProfileAssignmentsToolClientSideElement
- All Implemented Interfaces:
ClientSideElement
,LogEnabled
,PluginAware
,Configurable
,Serviceable
public class QueriesProfileAssignmentsToolClientSideElement
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
Methods inherited from class org.ametys.core.ui.right.ProfileAssignmentsToolClientSideElement
_checkRightAssignmentContext, _configureRightContextIds, _getEventParams, _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
-
QueriesProfileAssignmentsToolClientSideElement
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classProfileAssignmentsToolClientSideElement
- Throws:
ServiceException
-
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
-