| Package | Description |
|---|---|
| edu.cornell.mannlib.vitro.webapp.services.shortview |
| Modifier and Type | Method and Description |
|---|---|
static ShortViewService.ShortViewContext |
ShortViewService.ShortViewContext.fromString(String string) |
static ShortViewService.ShortViewContext |
ShortViewService.ShortViewContext.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShortViewService.ShortViewContext[] |
ShortViewService.ShortViewContext.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ShortViewService.TemplateAndSupplementalData |
ShortViewServiceImpl.getShortViewInfo(Individual individual,
ShortViewService.ShortViewContext svContext,
VitroRequest vreq) |
ShortViewService.TemplateAndSupplementalData |
ShortViewService.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 |
ShortViewServiceImpl.renderShortView(Individual individual,
ShortViewService.ShortViewContext context,
Map<String,Object> modelMap,
VitroRequest vreq) |
String |
ShortViewService.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.
|
Copyright © 2022. All rights reserved.