Class CollectionSelectionAwareAddTaskClientSideElement
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.ui.StaticFileImportsClientSideElement
-
- org.ametys.core.ui.StaticClientSideElement
-
- org.ametys.core.ui.AddTaskClientSideElement
-
- org.ametys.plugins.contentio.synchronize.clientsideelement.CollectionSelectionAwareAddTaskClientSideElement
-
- All Implemented Interfaces:
ClientSideElement
,LogEnabled
,PluginAware
,Configurable
,Contextualizable
,Serviceable
public class CollectionSelectionAwareAddTaskClientSideElement extends AddTaskClientSideElement
This implementation creates a collection-selection aware element for adding a new task which need a collection parameter (called 'collectionId')
-
-
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.ui.AddTaskClientSideElement
_context
-
Fields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
-
-
Constructor Summary
Constructors Constructor Description CollectionSelectionAwareAddTaskClientSideElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
_configureClass(Configuration configuration)
Configure the js class nameprotected ClientSideElement.Script
_configureScript(Configuration configuration)
Configure the scriptprotected Map<String,Object>
configureInitialParameters(Configuration configuration)
Configure the initial parameters-
Methods inherited from class org.ametys.core.ui.AddTaskClientSideElement
_configureDependencies, contextualize, getDependencies
-
Methods inherited from class org.ametys.core.ui.StaticClientSideElement
_configureParameters
-
Methods inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_configureImports, _configureRights, _configureRightsMode, configure, getId, getPluginName, getRights, getScripts, getScripts, hasRight, service, setPluginInfo, toString
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
CollectionSelectionAwareAddTaskClientSideElement
public CollectionSelectionAwareAddTaskClientSideElement()
-
-
Method Detail
-
_configureClass
protected String _configureClass(Configuration configuration) throws ConfigurationException
Description copied from class:StaticClientSideElement
Configure the js class name- Overrides:
_configureClass
in classAddTaskClientSideElement
- Parameters:
configuration
- The configuration on action tag- Returns:
- The js class name
- Throws:
ConfigurationException
- If an error occurs
-
configureInitialParameters
protected Map<String,Object> configureInitialParameters(Configuration configuration) throws ConfigurationException
Description copied from class:StaticClientSideElement
Configure the initial parameters- Overrides:
configureInitialParameters
in classAddTaskClientSideElement
- Parameters:
configuration
- the global configuration- Returns:
- The initial parameters read
- Throws:
ConfigurationException
- The configuration is incorrect
-
_configureScript
protected ClientSideElement.Script _configureScript(Configuration configuration) throws ConfigurationException
Description copied from class:StaticFileImportsClientSideElement
Configure the script- Overrides:
_configureScript
in classAddTaskClientSideElement
- Parameters:
configuration
- the global configuration- Returns:
- The script created
- Throws:
ConfigurationException
- The configuration is incorrect
-
-