Class CopyODFPilotageContentClientSideElement
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.ui.StaticFileImportsClientSideElement
-
- org.ametys.core.ui.StaticClientSideElement
-
- org.ametys.cms.clientsideelement.SmartContentClientSideElement
-
- org.ametys.odf.workflow.copy.CopyODFContentClientSideElement
-
- org.ametys.plugins.odfpilotage.clientsideelement.CopyODFPilotageContentClientSideElement
-
- All Implemented Interfaces:
ClientSideElement
,LogEnabled
,PluginAware
,Configurable
,Serviceable
public class CopyODFPilotageContentClientSideElement extends CopyODFContentClientSideElement
Override button for odf content to take into account the pilotage status
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ametys.odf.workflow.copy.CopyODFContentClientSideElement
CopyODFContentClientSideElement.DuplicationMode
-
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
-
-
Field Summary
Fields Modifier and Type Field Description protected PilotageStatusHelper
_pilotageStatusHelper
The pilotage status helper-
Fields inherited from class org.ametys.odf.workflow.copy.CopyODFContentClientSideElement
_contentWorkflowHelper, _copyClientSideInteraction, _jsonUtils, _observationManager, _odfHelper, _shareableCourseHelper, _solrIndexer, DUPLICATION_MODE_KEY, KEEP_CREATION_TITLE_KEY, PARENT_KEY
-
Fields inherited from class org.ametys.cms.clientsideelement.SmartContentClientSideElement
_contentHelper, _resolver, _smartHelper
-
Fields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
-
-
Constructor Summary
Constructors Constructor Description CopyODFPilotageContentClientSideElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getStatus(List<String> contentsId)
Get informations on contents' statevoid
service(ServiceManager smanager)
-
Methods inherited from class org.ametys.odf.workflow.copy.CopyODFContentClientSideElement
_commitAllChanges, _getCourse, _initializeShareableFields, canCopyTo, checkBeforeDuplication, createContentByCopy
-
Methods inherited from class org.ametys.cms.clientsideelement.SmartContentClientSideElement
_getAllRightDescription, _getIncorrectWorkflowStepDescription, _getLockedDescription, _getNoModifiableDescription, _getNoRightDescription, _getWorkflowActionUnvailableDescription, _hasRight, _isAllRight, _isLocked, _isModifiable, _isWorkflowStepCorrect, _workflowAction, getContentDefaultParameters
-
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
-
-
-
-
Field Detail
-
_pilotageStatusHelper
protected PilotageStatusHelper _pilotageStatusHelper
The pilotage status helper
-
-
Constructor Detail
-
CopyODFPilotageContentClientSideElement
public CopyODFPilotageContentClientSideElement()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classCopyODFContentClientSideElement
- Throws:
ServiceException
-
getStatus
public Map<String,Object> getStatus(List<String> contentsId)
Description copied from class:SmartContentClientSideElement
Get informations on contents' state- Overrides:
getStatus
in classSmartContentClientSideElement
- Parameters:
contentsId
- the ids of contents- Returns:
- informations on contents' state
-
-