Merge pull request #5 from vivo-project/feature/search-download
Added a new field email to IndividualSearchResults and a modification of...
This commit is contained in:
commit
cb757d82da
4 changed files with 45 additions and 1 deletions
|
@ -15,13 +15,20 @@ public class IndividualSearchResult extends BaseIndividualSearchResult {
|
|||
private static final String CORE = "http://vivoweb.org/ontology/core#";
|
||||
|
||||
public IndividualSearchResult(Individual individual, VitroRequest vreq) {
|
||||
super(individual, vreq);
|
||||
super(individual, vreq);
|
||||
log.info("Called Individual Search Result");
|
||||
}
|
||||
|
||||
/* Access methods for templates */
|
||||
|
||||
public String getPreferredTitle() {
|
||||
log.info("Called get Title");
|
||||
return individual.getDataValue(CORE + "preferredTitle");
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
log.info("Called get Email");
|
||||
return individual.getDataValue(CORE + "email");
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue