Class DataCollectionTemplateGanttTooltipBuilder
java.lang.Object
overit.geocallapp.wfm.core.ux.datacollection.template.gantt.DataCollectionTemplateGanttTooltipBuilder
Utility to build the tool-tip content of the entities of the Data Collection Template Release.
- Since:
- 12.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringaddReleaseInfo(Map<String, Object> operationRawData) protected StringaddTemplateHeaderInfo(BODataCollectionTemplateHeader templateHeader) protected StringaddTooltipSectionTitle(String titleName) Build the tool-tip section title.protected StringaddTooltipTitle(String titleName) Build the tool-tip title.buildOperationTooltip(BODataCollectionTemplateHeader templateHeader, Map<String, Object> operationRawData) Build the tool-tip content for a operation.protected TeachervoidsetTeacher(Teacher teacher) Sets the teacher.
-
Field Details
-
teacherDuty
-
-
Constructor Details
-
DataCollectionTemplateGanttTooltipBuilder
public DataCollectionTemplateGanttTooltipBuilder()
-
-
Method Details
-
setTeacher
Sets the teacher.- Parameters:
teacher- the teacher
-
getTeacher
-
buildOperationTooltip
public String buildOperationTooltip(BODataCollectionTemplateHeader templateHeader, Map<String, Object> operationRawData) throws DAValidateException, DAExceptionBuild the tool-tip content for a operation.- Parameters:
templateHeader-BODataCollectionTemplateHeaderoperationRawData- the operation raw data- Returns:
- the HTML content of the operation tool-tip
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
addTemplateHeaderInfo
protected String addTemplateHeaderInfo(BODataCollectionTemplateHeader templateHeader) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
addReleaseInfo
protected String addReleaseInfo(Map<String, Object> operationRawData) throws DAValidateException, DAException- Throws:
DAValidateExceptionDAException
-
addTooltipTitle
Build the tool-tip title.- Parameters:
titleName- the string used as the title- Returns:
- the HTML content of the title
-
addTooltipSectionTitle
Build the tool-tip section title.- Parameters:
titleName- the string used as the title- Returns:
- the HTML content of the title
-