Class PersonPublicationCountQueryRunner
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.visualization.personpubcount.PersonPublicationCountQueryRunner
-
- All Implemented Interfaces:
QueryRunner<Set<Activity>>
public class PersonPublicationCountQueryRunner extends Object implements QueryRunner<Set<Activity>>
This query runner is used to execute a sparql query that will fetch all the publications defined by bibo:Document property for a particular individual.- Author:
- cdtank
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.jena.query.SyntaxSYNTAX
-
Constructor Summary
Constructors Constructor Description PersonPublicationCountQueryRunner(String personURI, edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService rdfService, org.apache.commons.logging.Log log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthorName()Set<Activity>getQueryResult()
-
-
-
Constructor Detail
-
PersonPublicationCountQueryRunner
public PersonPublicationCountQueryRunner(String personURI, edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService rdfService, org.apache.commons.logging.Log log)
-
-
Method Detail
-
getAuthorName
public String getAuthorName()
-
getQueryResult
public Set<Activity> getQueryResult() throws MalformedQueryParametersException
- Specified by:
getQueryResultin interfaceQueryRunner<Set<Activity>>- Throws:
MalformedQueryParametersException
-
-