Class TemplateLogic
- java.lang.Object
-
- net.officefloor.tutorial.sectionhttpserver.TemplateLogic
-
public class TemplateLogic extends java.lang.Object
Example logic for the template.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TemplateLogic.Flows
static class
TemplateLogic.Values
-
Constructor Summary
Constructors Constructor Description TemplateLogic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateLogic.Values
getHelloData()
Obtains the data for the hello section.void
getNotRender(TemplateLogic.Flows flows)
Skips not render section.TemplateLogic.Values
getTemplateData()
Obtains the data for the template section.
-
-
-
Method Detail
-
getTemplateData
public TemplateLogic.Values getTemplateData()
Obtains the data for the template section.- Returns:
TemplateLogic.Values
.
-
getHelloData
public TemplateLogic.Values getHelloData()
Obtains the data for the hello section.- Returns:
TemplateLogic.Values
.
-
getNotRender
public void getNotRender(TemplateLogic.Flows flows)
Skips not render section.- Parameters:
flows
-TemplateLogic.Flows
which allows rendering control over the sections of the template. As this method is called before rendering the section it skips rendering to thenoBean
section.
-
-