Package org.ametys.odf.rncp
Class RNCPSubProgramClientSideElement
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.ui.StaticFileImportsClientSideElement
org.ametys.core.ui.StaticClientSideElement
org.ametys.odf.rncp.RNCPAbstractProgramClientSideElement
org.ametys.odf.rncp.RNCPSubProgramClientSideElement
- All Implemented Interfaces:
ClientSideElement
,LogEnabled
,PluginAware
,Configurable
,Serviceable
Client side element for subprogram RNCP sheets.
-
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.odf.rncp.RNCPAbstractProgramClientSideElement
_odfHelper, _resolver, _rncpModelHelper
Fields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.odf.rncp.RNCPAbstractProgramClientSideElement
getModels, service
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
-
Constructor Details
-
RNCPSubProgramClientSideElement
public RNCPSubProgramClientSideElement()
-
-
Method Details
-
getAvailablePrograms
Get the list of available programs for the selected subprogram.- Parameters:
subProgramId
- The subprogram content ID- Returns:
- A JSON list with id and label of each matching program
-