public interface ShortViewService
| Modifier and Type | Interface and Description |
|---|---|
static class |
ShortViewService.ShortViewContext
The available contexts for short views.
|
static interface |
ShortViewService.TemplateAndSupplementalData
The information associated with a particular short view.
|
| 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.
|
String renderShortView(Individual individual, ShortViewService.ShortViewContext context, Map<String,Object> modelMap, VitroRequest vreq)
ShortViewService.TemplateAndSupplementalData getShortViewInfo(Individual individual, ShortViewService.ShortViewContext svContext, VitroRequest vreq)
Copyright © 2021. All rights reserved.