public class FakeApplicationOntologyService extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
FakeApplicationOntologyService.ShortViewConfigException
A custom exception that says something was wrong with the config file.
|
static class |
FakeApplicationOntologyService.TemplateAndDataGetters
The info associated with a short view.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_OF_SHORT_VIEW_INFO |
| Constructor and Description |
|---|
FakeApplicationOntologyService()
If we fail to parse the config file, use this constructor instead, to
simulate an empty config file.
|
FakeApplicationOntologyService(javax.servlet.ServletContext ctx)
Load the model from the config file, and inspect it for Views and
mappings.
|
| Modifier and Type | Method and Description |
|---|---|
FakeApplicationOntologyService.TemplateAndDataGetters |
getShortViewProperties(VitroRequest vreq,
Individual individual,
String classUri,
String contextName)
Return the template name and DataGetter instances associated with this
class and this short view context.
|
public static final String FILE_OF_SHORT_VIEW_INFO
public FakeApplicationOntologyService(javax.servlet.ServletContext ctx)
throws FakeApplicationOntologyService.ShortViewConfigException
public FakeApplicationOntologyService()
public FakeApplicationOntologyService.TemplateAndDataGetters getShortViewProperties(VitroRequest vreq, Individual individual, String classUri, String contextName)
Copyright © 2016. All rights reserved.