Class IndividualShortViewDirective
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.web.directives.BaseTemplateDirectiveModel
-
- edu.cornell.mannlib.vitro.webapp.web.directives.IndividualShortViewDirective
-
- All Implemented Interfaces:
freemarker.template.TemplateDirectiveModel,freemarker.template.TemplateModel
public class IndividualShortViewDirective extends BaseTemplateDirectiveModel
Find the short-view template for the specified Individual in the specified context. Get any required data, and render the template to HTML.
-
-
Constructor Summary
Constructors Constructor Description IndividualShortViewDirective()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(freemarker.core.Environment env, Map params, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody body)Map<String,Object>help(String name)-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.web.directives.BaseTemplateDirectiveModel
getOptionalHashModelParameter, getOptionalSimpleScalarParameter, getRequiredSimpleScalarParameter, processTemplateToString
-
-
-
-
Method Detail
-
execute
public void execute(freemarker.core.Environment env, Map params, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody body) throws freemarker.template.TemplateException, IOException- Throws:
freemarker.template.TemplateExceptionIOException
-
-