Class WebappDaoFactorySDB
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.dao.jena.WebappDaoFactoryJena
-
- edu.cornell.mannlib.vitro.webapp.dao.jena.WebappDaoFactorySDB
-
- All Implemented Interfaces:
WebappDaoFactory
public class WebappDaoFactorySDB extends WebappDaoFactoryJena
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebappDaoFactorySDB.SDBDatasetMode
-
Field Summary
-
Fields inherited from class edu.cornell.mannlib.vitro.webapp.dao.jena.WebappDaoFactoryJena
applicationDao, config, dwf, entityWebappDao, ontModelSelector, propertyGroupDao, rdfService, userAccountsDao, userURI, vClassDao, vClassGroupDao
-
-
Constructor Summary
Constructors Constructor Description WebappDaoFactorySDB(WebappDaoFactorySDB base, String userURI)WebappDaoFactorySDB(RDFService rdfService, OntModelSelector ontModelSelector)WebappDaoFactorySDB(RDFService rdfService, OntModelSelector ontModelSelector, WebappDaoFactoryConfig config)WebappDaoFactorySDB(RDFService rdfService, OntModelSelector ontModelSelector, WebappDaoFactoryConfig config, WebappDaoFactorySDB.SDBDatasetMode datasetMode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Free any resources associated with this WebappDaoFactoryDataPropertyStatementDaogetDataPropertyStatementDao()returns a Data Access Object for working with DatatypePropertyStatementsstatic StringgetFilterBlock(String[] graphVars, WebappDaoFactorySDB.SDBDatasetMode datasetMode)IndividualDaogetIndividualDao()returns a Data Access Object for working with IndividualsObjectPropertyStatementDaogetObjectPropertyStatementDao()returns a Data Access Object for working with ObjectPropertyStatementsRDFServicegetRDFService()WebappDaoFactorygetUserAwareDaoFactory(String userURI)Copy this DAO factory to a new object associated with the specified user URI, or return the same factory if a user-aware version cannot be used.VClassDaogetVClassDao()returns a Data Access Object for working with ontology class objectsStringtoString()-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.dao.jena.WebappDaoFactoryJena
checkURI, checkURIForEditableEntity, getApplicationDao, getCommentsForResource, getDataPropertyDao, getDatatypeDao, getDefaultNamespace, getDisplayModelDao, getEntityDao, getFauxPropertyDao, getI18nBundle, getJenaBaseDao, getMenuDao, getNonuserNamespaces, getObjectPropertyDao, getOntModel, getOntModelSelector, getOntologyDao, getPageDao, getPreferredLanguages, getProperties, getPropertyGroupDao, getPropertyInstanceDao, getUserAccountsDao, getUserURI, getVClassGroupDao, hasExistingURI, makeInMemoryDataset, makeLocalNameWithPrefix, makePickListName, setSpecialDataModel
-
-
-
-
Constructor Detail
-
WebappDaoFactorySDB
public WebappDaoFactorySDB(RDFService rdfService, OntModelSelector ontModelSelector)
-
WebappDaoFactorySDB
public WebappDaoFactorySDB(RDFService rdfService, OntModelSelector ontModelSelector, WebappDaoFactoryConfig config)
-
WebappDaoFactorySDB
public WebappDaoFactorySDB(RDFService rdfService, OntModelSelector ontModelSelector, WebappDaoFactoryConfig config, WebappDaoFactorySDB.SDBDatasetMode datasetMode)
-
WebappDaoFactorySDB
public WebappDaoFactorySDB(WebappDaoFactorySDB base, String userURI)
-
-
Method Detail
-
getIndividualDao
public IndividualDao getIndividualDao()
Description copied from interface:WebappDaoFactoryreturns a Data Access Object for working with Individuals- Specified by:
getIndividualDaoin interfaceWebappDaoFactory- Overrides:
getIndividualDaoin classWebappDaoFactoryJena
-
getDataPropertyStatementDao
public DataPropertyStatementDao getDataPropertyStatementDao()
Description copied from interface:WebappDaoFactoryreturns a Data Access Object for working with DatatypePropertyStatements- Specified by:
getDataPropertyStatementDaoin interfaceWebappDaoFactory- Overrides:
getDataPropertyStatementDaoin classWebappDaoFactoryJena
-
getObjectPropertyStatementDao
public ObjectPropertyStatementDao getObjectPropertyStatementDao()
Description copied from interface:WebappDaoFactoryreturns a Data Access Object for working with ObjectPropertyStatements- Specified by:
getObjectPropertyStatementDaoin interfaceWebappDaoFactory- Overrides:
getObjectPropertyStatementDaoin classWebappDaoFactoryJena
-
getVClassDao
public VClassDao getVClassDao()
Description copied from interface:WebappDaoFactoryreturns a Data Access Object for working with ontology class objects- Specified by:
getVClassDaoin interfaceWebappDaoFactory- Overrides:
getVClassDaoin classWebappDaoFactoryJena
-
getUserAwareDaoFactory
public WebappDaoFactory getUserAwareDaoFactory(String userURI)
Description copied from interface:WebappDaoFactoryCopy this DAO factory to a new object associated with the specified user URI, or return the same factory if a user-aware version cannot be used.- Specified by:
getUserAwareDaoFactoryin interfaceWebappDaoFactory- Overrides:
getUserAwareDaoFactoryin classWebappDaoFactoryJena- Parameters:
userURI- User URI
-
getRDFService
public RDFService getRDFService()
-
getFilterBlock
public static String getFilterBlock(String[] graphVars, WebappDaoFactorySDB.SDBDatasetMode datasetMode)
-
close
public void close()
Description copied from interface:WebappDaoFactoryFree any resources associated with this WebappDaoFactory- Specified by:
closein interfaceWebappDaoFactory- Overrides:
closein classWebappDaoFactoryJena
-
-