Interface UserGradesActionService
- All Known Implementing Classes:
UserGradesActionServiceImpl
public interface UserGradesActionService
this service returns qualification data for User entities for use in forms
-
Method Summary
Modifier and TypeMethodDescriptiongets data from a Input_data and a given User data contains its key, related Events, related Input_node, whether it has a detail page, its type and its valuegetDetailData
(String key) gets data for a single Input_data this uses AbstractInputType#getUserGradesDetailData(InputData) to get the databoolean
isDetailVisible
(String key) checks whether the detail page of the givenInput Data
should be displayed
-
Method Details
-
isDetailVisible
checks whether the detail page of the givenInput Data
should be displayed- Parameters:
key
- thePrimaryKey
of a Input_dataEntity
as aString
- Returns:
- a boolean which determines the visibility
-
getDetailData
gets data for a single Input_data this uses AbstractInputType#getUserGradesDetailData(InputData) to get the data- Parameters:
key
- the key of a Input_data entity- Returns:
- a map of values from the Input_data
- Throws:
InterruptedException
-
getData
gets data from a Input_data and a given User data contains its key, related Events, related Input_node, whether it has a detail page, its type and its value- Parameters:
inputData
- the Input_data to get data fromparticipant
- the User to use as the participant- Returns:
- an
Optional
containing a map with values if the Input_data has valid registrations,Optional.empty()
otherwise
-