Package com.aquima.web.ui.mvc
Class MvcUi
java.lang.Object
com.aquima.web.ui.mvc.MvcUi
- All Implemented Interfaces:
com.blueriq.component.api.ui.IAquimaUi
@Component
@RefreshScope
public class MvcUi
extends Object
implements com.blueriq.component.api.ui.IAquimaUi
-
Constructor Summary
ConstructorsConstructorDescriptionMvcUi
(MvcUiConfiguration configuration, IModelFactory modelFactory, PathManager pathManager) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
hasCache()
void
render
(Writer target, String theme, String sessionId, com.aquima.interactions.composer.IPage currentPage, com.aquima.interactions.foundation.text.ILanguage currentLanguage, com.aquima.interactions.foundation.text.ILanguage defaultLanguage, int sessionTimeout) boolean
void
writeSource
(com.aquima.interactions.composer.ICompositeElement element, com.blueriq.component.api.ui.IRenderContext context, Writer result)
-
Constructor Details
-
MvcUi
@Autowired public MvcUi(MvcUiConfiguration configuration, IModelFactory modelFactory, PathManager pathManager)
-
-
Method Details
-
getName
- Specified by:
getName
in interfacecom.blueriq.component.api.ui.IAquimaUi
-
getPath
- Specified by:
getPath
in interfacecom.blueriq.component.api.ui.IAquimaUi
-
getLink
- Specified by:
getLink
in interfacecom.blueriq.component.api.ui.IAquimaUi
-
hasCache
public boolean hasCache()- Specified by:
hasCache
in interfacecom.blueriq.component.api.ui.IAquimaUi
-
resetCache
public boolean resetCache()- Specified by:
resetCache
in interfacecom.blueriq.component.api.ui.IAquimaUi
-
render
public void render(Writer target, String theme, String sessionId, com.aquima.interactions.composer.IPage currentPage, com.aquima.interactions.foundation.text.ILanguage currentLanguage, com.aquima.interactions.foundation.text.ILanguage defaultLanguage, int sessionTimeout) throws Exception - Throws:
Exception
-
writeSource
public void writeSource(com.aquima.interactions.composer.ICompositeElement element, com.blueriq.component.api.ui.IRenderContext context, Writer result) throws IOException - Specified by:
writeSource
in interfacecom.blueriq.component.api.ui.IAquimaUi
- Throws:
IOException
-
getSourceContentType
- Specified by:
getSourceContentType
in interfacecom.blueriq.component.api.ui.IAquimaUi
-
getThemes
- Specified by:
getThemes
in interfacecom.blueriq.component.api.ui.IAquimaUi
-