public class ShortViewServiceImpl extends Object implements ShortViewService
ShortViewService.ShortViewContext, ShortViewService.TemplateAndSupplementalData| Constructor and Description |
|---|
ShortViewServiceImpl(FakeApplicationOntologyService faker) |
| Modifier and Type | Method and Description |
|---|---|
ShortViewService.TemplateAndSupplementalData |
getShortViewInfo(Individual individual,
ShortViewService.ShortViewContext svContext,
VitroRequest vreq)
What template should be used to render the short view of this individual
in this context? What data is available from custom data getters?
Ask the Application Ontology for short view specifications on each of the
most specific classes for this individual.
|
String |
renderShortView(Individual individual,
ShortViewService.ShortViewContext context,
Map<String,Object> modelMap,
VitroRequest vreq)
Render the short view template that applies to this individual in this
context.
|
public ShortViewServiceImpl(FakeApplicationOntologyService faker)
public String renderShortView(Individual individual, ShortViewService.ShortViewContext context, Map<String,Object> modelMap, VitroRequest vreq)
ShortViewServicerenderShortView in interface ShortViewServicepublic ShortViewService.TemplateAndSupplementalData getShortViewInfo(Individual individual, ShortViewService.ShortViewContext svContext, VitroRequest vreq)
ShortViewServicegetShortViewInfo in interface ShortViewServiceCopyright © 2022. All rights reserved.