Package org.ametys.odf.tree
Class WorkflowStepIndicator
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.ui.StaticFileImportsClientSideElement
org.ametys.odf.tree.AbstractStaticODFTreeIndicator
org.ametys.odf.tree.WorkflowStepIndicator
- All Implemented Interfaces:
ClientSideElement
,ODFTreeIndicator
,LogEnabled
,PluginAware
,Prioritizable
,Configurable
,Serviceable
ODFTreeIndicator
to display the workflow step-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Nested classes/interfaces inherited from interface org.ametys.odf.tree.ODFTreeIndicator
ODFTreeIndicator.IndicatorData
-
Field Summary
Fields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetIndicatorData
(Content content) Get the indicator values for a program item.protected ODFTreeIndicator.IndicatorData
getIndicatorData
(Content content, int stepId, com.opensymphony.workflow.loader.StepDescriptor stepDescriptor) Get indicator for the given workflow stepvoid
service
(ServiceManager smanager) Methods inherited from class org.ametys.odf.tree.AbstractStaticODFTreeIndicator
configure, getApplyJSFunction, getDescription, getIconGlyph, getLabel, getMatchJSFunction, getPriority
Methods inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, _configureScript, 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.odf.tree.ODFTreeIndicator
getId, getScripts
-
Constructor Details
-
WorkflowStepIndicator
public WorkflowStepIndicator()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classStaticFileImportsClientSideElement
- Throws:
ServiceException
-
getIndicatorData
Description copied from interface:ODFTreeIndicator
Get the indicator values for a program item. Returnnull
if the indicator is not available for this program item- Parameters:
content
- the content- Returns:
- the indicator data for this program item. Can be null.
-
getIndicatorData
protected ODFTreeIndicator.IndicatorData getIndicatorData(Content content, int stepId, com.opensymphony.workflow.loader.StepDescriptor stepDescriptor) Get indicator for the given workflow step- Parameters:
content
- the contentstepId
- the step idstepDescriptor
- the step descriptor- Returns:
- the indicator data
-