public class ClassGroupPageData extends DataGetterBase implements DataGetter
CONTEXT_DISPLAY_MODEL, REQUEST_DISPLAY_MODEL, REQUEST_JENA_ONT_MODEL| Constructor and Description |
|---|
ClassGroupPageData(VitroRequest vreq,
org.apache.jena.rdf.model.Model displayModel,
String dataGetterURI)
Constructor with display model and data getter URI that will be called by reflection.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure(VitroRequest vreq,
org.apache.jena.rdf.model.Model displayModel,
String dataGetterURI)
Configure this instance based on the URI and display model.
|
com.fasterxml.jackson.databind.JsonNode |
convertToJSON(Map<String,Object> dataMap,
VitroRequest vreq)
For processing of JSONObject
|
static VClassGroupTemplateModel |
getClassGroup(String classGroupUri,
javax.servlet.ServletContext context,
VitroRequest vreq) |
Map<String,Object> |
getData(Map<String,Object> pageData)
Get data.
|
String |
getDataServiceUrl() |
protected static void |
setAllClassCountsToZero(VClassGroup vcg) |
getModelpublic ClassGroupPageData(VitroRequest vreq, org.apache.jena.rdf.model.Model displayModel, String dataGetterURI)
protected void configure(VitroRequest vreq, org.apache.jena.rdf.model.Model displayModel, String dataGetterURI)
public Map<String,Object> getData(Map<String,Object> pageData)
DataGettergetData in interface DataGetterpageData - any values already generated by data getters or the controller.
Might be immutable, and should not be modified within the method.public static VClassGroupTemplateModel getClassGroup(String classGroupUri, javax.servlet.ServletContext context, VitroRequest vreq)
public String getDataServiceUrl()
public com.fasterxml.jackson.databind.JsonNode convertToJSON(Map<String,Object> dataMap, VitroRequest vreq)
protected static void setAllClassCountsToZero(VClassGroup vcg)
Copyright © 2021. All rights reserved.