Class ProgramFlowHelper
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.odforientation.ProgramFlowHelper
- All Implemented Interfaces:
LogEnabled,Component,Serviceable
Helper for program flow data
This class is used to provide data for the students flow by degrees and study fields.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the students flow by degreesgetProgramFlowData(String catalogName, String lang) Get the data for programs pathways, including the flow and the study fields.voidservice(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The component role. -
STUDY_FIELD
Study field- See Also:
-
STUDY_FIELD_ATTRIBUTE_NAME
Study field- See Also:
-
-
Constructor Details
-
ProgramFlowHelper
public ProgramFlowHelper()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getProgramFlowData
Get the data for programs pathways, including the flow and the study fields.- Parameters:
catalogName- The name of the catalog. If null the default catalog will be used.lang- The program's language. Cannot not be null nor empty.- Returns:
- the data for programs pathways as json
-
getProgramFlowByDegrees
Get the students flow by degrees- Returns:
- the students flow
-