Class QueryTargetToContextConvertor
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.ui.StaticFileImportsClientSideElement
org.ametys.core.ui.StaticClientSideElement
org.ametys.plugins.repository.AmetysObjectTargetToContextConvertor
org.ametys.plugins.queriesdirectory.accesscontroller.QueryTargetToContextConvertor
- All Implemented Interfaces:
ClientSideElement
,TargetToContextConvertor
,LogEnabled
,PluginAware
,Configurable
,Serviceable
Convert target provided by the client into query
-
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.plugins.repository.AmetysObjectTargetToContextConvertor
_resolver
Fields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertJSContext
(Object jsContext) Retrieve an actual right context from the JS context extract for the target.void
service
(ServiceManager manager) 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, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.ametys.core.ui.ClientSideElement
getDependencies, getId, getPluginName, getRights, getScripts, getScripts
-
Constructor Details
-
QueryTargetToContextConvertor
public QueryTargetToContextConvertor()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAmetysObjectTargetToContextConvertor
- Throws:
ServiceException
-
convertJSContext
Description copied from interface:TargetToContextConvertor
Retrieve an actual right context from the JS context extract for the target.- Specified by:
convertJSContext
in interfaceTargetToContextConvertor
- Overrides:
convertJSContext
in classAmetysObjectTargetToContextConvertor
- Parameters:
jsContext
- the result of the convert method of the JS class of this component- Returns:
- a right context
-