Class PublicSurveyCellCreatorServiceImpl
java.lang.Object
ch.tocco.nice2.optional.survey.impl.publicsurvey.PublicSurveyCellCreatorServiceImpl
- All Implemented Interfaces:
PublicSurveyCellCreatorService
@Component
public class PublicSurveyCellCreatorServiceImpl
extends Object
implements PublicSurveyCellCreatorService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateCell
(Entity defaultStatus, Entity surveyIntrusion, @Nullable Entity userIntrusion, Column column) creates aCell
which can be used to fill aDetailedGridResultData
.
-
Constructor Details
-
PublicSurveyCellCreatorServiceImpl
-
-
Method Details
-
createCell
public Cell createCell(Entity defaultStatus, Entity surveyIntrusion, @Nullable @Nullable Entity userIntrusion, Column column) Description copied from interface:PublicSurveyCellCreatorService
creates aCell
which can be used to fill aDetailedGridResultData
. The data specified in theColumn
parameter is extracted from the passeduserIntrusion
. If nouserIntrusion
is present, and the relationrelSurvey_intrusion
orrelSurvey_status
is requested, the label from the passed parametersurveyIntrusion
ordefaultStatus
will be returned asCell
- Specified by:
createCell
in interfacePublicSurveyCellCreatorService
-