Class ExtractionRightAssignmentContext
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.ui.StaticFileImportsClientSideElement
org.ametys.core.ui.StaticClientSideElement
org.ametys.core.right.AbstractStaticRightAssignmentContext
org.ametys.plugins.core.impl.right.StringRightAssignmentContext
org.ametys.plugins.extraction.rights.ExtractionRightAssignmentContext
- All Implemented Interfaces:
RightAssignmentContext,ClientSideElement,LogEnabled,PluginAware,Configurable,Contextualizable,Serviceable
RightAssignmentContext for assign rights to a Extraction-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile -
Field Summary
Fields inherited from class org.ametys.core.right.AbstractStaticRightAssignmentContext
_context, _isPrivate, _label, _reverseWorkspaceMather, _workspaceMatcherFields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetParentContexts(Object context) Get the parent contexts of the object contextgetRootContexts(Map<String, Object> contextParameters) Get the list of root contexts if the current workspace matches the allowed workspaceMethods inherited from class org.ametys.plugins.core.impl.right.StringRightAssignmentContext
convertJSContext, getContextIdentifierMethods inherited from class org.ametys.core.right.AbstractStaticRightAssignmentContext
configure, contextualize, getScripts, isPrivate, matchWorkspaceMethods inherited from class org.ametys.core.ui.StaticClientSideElement
_configureClass, _configureParameters, _configureScript, configureInitialParametersMethods inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, getDependencies, getId, getPluginName, getRights, getScripts, hasRight, service, setPluginInfo, toStringMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ametys.core.ui.ClientSideElement
getDependencies, getId, getPluginName, getRights, getScripts
-
Constructor Details
-
ExtractionRightAssignmentContext
public ExtractionRightAssignmentContext()
-
-
Method Details
-
getParentContexts
Description copied from interface:RightAssignmentContextGet the parent contexts of the object context- Specified by:
getParentContextsin interfaceRightAssignmentContext- Overrides:
getParentContextsin classStringRightAssignmentContext- Parameters:
context- The object context- Returns:
- The parents if exist or
nullotherwise
-
getRootContexts
Description copied from interface:RightAssignmentContextGet the list of root contexts if the current workspace matches the allowed workspace- Specified by:
getRootContextsin interfaceRightAssignmentContext- Overrides:
getRootContextsin classStringRightAssignmentContext- Parameters:
contextParameters- The contextual parameters- Returns:
- The root context object in a list
-