Class AuditDAOJena
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.audit.storage.AuditDAOJena
-
- All Implemented Interfaces:
AuditDAO
- Direct Known Subclasses:
AuditDAOTDB
public abstract class AuditDAOJena extends Object implements AuditDAO
AuditDAO using Jena triple store as the backend. This is a base class for a either TDB or SDB implementations
-
-
Constructor Summary
Constructors Constructor Description AuditDAOJena()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AuditResultsfind(long offset, int limit, long startDate, long endDate, String userUri, String graphUri, boolean order)Retrieve a set of audit entries for a given userprotected abstract org.apache.jena.query.DatasetgetDataset()Get a dataset from the Jena store that be written to / read fromList<String>getGraphs()Get list of graphsList<String>getUsers()Get list of usersvoidwrite(AuditChangeSet changes)Write the dataset to storage
-
-
-
Method Detail
-
getDataset
protected abstract org.apache.jena.query.Dataset getDataset()
Get a dataset from the Jena store that be written to / read from- Returns:
-
write
public void write(AuditChangeSet changes)
Description copied from interface:AuditDAOWrite the dataset to storage
-
find
public AuditResults find(long offset, int limit, long startDate, long endDate, String userUri, String graphUri, boolean order)
Description copied from interface:AuditDAORetrieve a set of audit entries for a given user
-
getUsers
public List<String> getUsers()
Description copied from interface:AuditDAOGet list of users
-
-