1. More updates to the map of science vis.
This commit is contained in:
parent
1c594395aa
commit
c79c6cf968
13 changed files with 150 additions and 14 deletions
|
@ -125,6 +125,7 @@ public class VisualizationFrameworkConstants {
|
|||
public static final String UTILITIES_VIS = "utilities";
|
||||
public static final String ENTITY_COMPARISON_VIS = "entity_comparison";
|
||||
public static final String PUBLICATION_TEMPORAL_VIS_SHORT_URL = "publication-graph";
|
||||
public static final String MAP_OF_SCIENCE_VIS_SHORT_URL = "map-of-science";
|
||||
public static final String GRANT_TEMPORAL_VIS_SHORT_URL = "grant-graph";
|
||||
public static final String CO_PI_VIS = "coprincipalinvestigator";
|
||||
|
||||
|
|
|
@ -121,7 +121,23 @@ public class MapOfScienceVisualizationRequestHandler implements
|
|||
organizationEntity = OrganizationUtilityFunctions.mergeEntityIfShareSameURI(
|
||||
organizationEntity,
|
||||
organizationWithAssociatedPeople);
|
||||
}
|
||||
} /*else {
|
||||
|
||||
|
||||
// This is for just people.
|
||||
Set<SubEntity> test = new HashSet<SubEntity>();
|
||||
|
||||
test.add(new SubEntity(subjectEntityURI));
|
||||
|
||||
documentURIForAssociatedPeopleTOVO = SelectOnModelUtilities
|
||||
.getPublicationsWithJournalForAssociatedPeople(dataset, test);
|
||||
|
||||
organizationEntity = OrganizationUtilityFunctions.mergeEntityIfShareSameURI(
|
||||
organizationEntity,
|
||||
organizationWithAssociatedPeople);
|
||||
|
||||
|
||||
}*/
|
||||
|
||||
if (allDocumentURIToVOs.isEmpty() && documentURIForAssociatedPeopleTOVO.isEmpty()) {
|
||||
|
||||
|
|
|
@ -86,6 +86,13 @@ public class IndividualTemplateModel extends BaseIndividualTemplateModel {
|
|||
return getVisUrl(temporalVisURL);
|
||||
}
|
||||
|
||||
public String getMapOfScienceUrl() {
|
||||
|
||||
String mapOfScienceVisURL = getBaseVisUrl() + "/" + VisualizationFrameworkConstants.MAP_OF_SCIENCE_VIS_SHORT_URL + "/";
|
||||
|
||||
return getVisUrl(mapOfScienceVisURL);
|
||||
}
|
||||
|
||||
public String getSelfEditingId() {
|
||||
String id = null;
|
||||
String idMatchingProperty = ConfigurationProperties.getBean(getServletContext()).getProperty("selfEditing.idMatchingProperty");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue