public class WebappDaoFactoryJena extends Object implements WebappDaoFactory
| Modifier and Type | Field and Description |
|---|---|
protected ApplicationDaoJena |
applicationDao |
protected WebappDaoFactoryConfig |
config |
protected DatasetWrapperFactory |
dwf |
protected IndividualDao |
entityWebappDao |
protected OntModelSelector |
ontModelSelector |
protected PropertyGroupDao |
propertyGroupDao |
protected RDFService |
rdfService |
protected UserAccountsDao |
userAccountsDao |
protected String |
userURI |
protected VClassDao |
vClassDao |
protected VClassGroupDao |
vClassGroupDao |
| Constructor and Description |
|---|
WebappDaoFactoryJena(org.apache.jena.ontology.OntModel ontModel) |
WebappDaoFactoryJena(OntModelSelector ontModelSelector) |
WebappDaoFactoryJena(OntModelSelector ontModelSelector,
OntModelSelector baseOntModelSelector,
OntModelSelector inferenceOntModelSelector,
WebappDaoFactoryConfig config) |
WebappDaoFactoryJena(OntModelSelector ontModelSelector,
OntModelSelector baseOntModelSelector,
OntModelSelector inferenceOntModelSelector,
WebappDaoFactoryConfig config,
String userURI) |
WebappDaoFactoryJena(OntModelSelector ontModelSelector,
WebappDaoFactoryConfig config) |
WebappDaoFactoryJena(OntModelSelector ontModelSelector,
WebappDaoFactoryConfig config,
String userURI) |
WebappDaoFactoryJena(WebappDaoFactoryJena base)
Method for creating a copy - does not pass the same object
|
WebappDaoFactoryJena(WebappDaoFactoryJena base,
String userURI) |
| Modifier and Type | Method and Description |
|---|---|
String |
checkURI(String uriStr)
Checks a URI String for two things: well-formedness and uniqueness in the
model.
|
String |
checkURIForEditableEntity(String uriStr)
Checks a URI String to see whether it is suitable for use on a new editable entity.
|
void |
close()
Free any resources associated with this WebappDaoFactory
|
ApplicationDao |
getApplicationDao() |
List<String> |
getCommentsForResource(String resourceURI)
BJL23 2008-05-20: Putting this here for lack of a more logical place.
|
DataPropertyDao |
getDataPropertyDao()
returns a Data Access Object for working with DataProperties
|
DataPropertyStatementDao |
getDataPropertyStatementDao()
returns a Data Access Object for working with DatatypePropertyStatements
|
DatatypeDao |
getDatatypeDao()
returns a Data Access Object for working with Datatypes
|
String |
getDefaultNamespace() |
DisplayModelDao |
getDisplayModelDao() |
IndividualDao |
getEntityDao() |
FauxPropertyDao |
getFauxPropertyDao()
returns a Data Access Object for working with "faux" ObjectProperties.
|
I18nBundle |
getI18nBundle() |
IndividualDao |
getIndividualDao()
returns a Data Access Object for working with Individuals
|
JenaBaseDao |
getJenaBaseDao() |
MenuDao |
getMenuDao() |
Set<String> |
getNonuserNamespaces() |
ObjectPropertyDao |
getObjectPropertyDao()
returns a Data Access Object for working with ObjectProperties
|
ObjectPropertyStatementDao |
getObjectPropertyStatementDao()
returns a Data Access Object for working with ObjectPropertyStatements
|
org.apache.jena.ontology.OntModel |
getOntModel() |
OntModelSelector |
getOntModelSelector() |
OntologyDao |
getOntologyDao()
returns a Data Access Object for working with Ontologies
|
PageDao |
getPageDao() |
List<String> |
getPreferredLanguages() |
Map<String,String> |
getProperties() |
PropertyGroupDao |
getPropertyGroupDao() |
PropertyInstanceDao |
getPropertyInstanceDao() |
UserAccountsDao |
getUserAccountsDao() |
WebappDaoFactory |
getUserAwareDaoFactory(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.
|
String |
getUserURI()
Return URI of user associated with this WebappDaoFactory,
or null if not applicable.
|
VClassDao |
getVClassDao()
returns a Data Access Object for working with ontology class objects
|
VClassGroupDao |
getVClassGroupDao() |
boolean |
hasExistingURI(String uriStr)
Check if a given URI string exists in the system:
checks for the following conditions: URI found as subject in a statement or an object or as a property
|
static org.apache.jena.query.Dataset |
makeInMemoryDataset(org.apache.jena.rdf.model.Model assertions,
org.apache.jena.rdf.model.Model inferences) |
String |
makeLocalNameWithPrefix(ResourceBean bean) |
String |
makePickListName(ResourceBean bean) |
void |
setSpecialDataModel(org.apache.jena.ontology.OntModel specialModel,
org.apache.jena.ontology.OntModel specialTboxModel,
org.apache.jena.ontology.OntModel specialDisplayModel)
Method for using a special model, such as the display model, with the
WebappDaoFactory.
|
protected IndividualDao entityWebappDao
protected ApplicationDaoJena applicationDao
protected UserAccountsDao userAccountsDao
protected VClassGroupDao vClassGroupDao
protected PropertyGroupDao propertyGroupDao
protected OntModelSelector ontModelSelector
protected WebappDaoFactoryConfig config
protected String userURI
protected DatasetWrapperFactory dwf
protected RDFService rdfService
protected VClassDao vClassDao
public WebappDaoFactoryJena(WebappDaoFactoryJena base, String userURI)
public WebappDaoFactoryJena(OntModelSelector ontModelSelector, OntModelSelector baseOntModelSelector, OntModelSelector inferenceOntModelSelector, WebappDaoFactoryConfig config, String userURI)
public WebappDaoFactoryJena(OntModelSelector ontModelSelector, WebappDaoFactoryConfig config, String userURI)
public WebappDaoFactoryJena(OntModelSelector ontModelSelector, WebappDaoFactoryConfig config)
public WebappDaoFactoryJena(OntModelSelector ontModelSelector, OntModelSelector baseOntModelSelector, OntModelSelector inferenceOntModelSelector, WebappDaoFactoryConfig config)
public WebappDaoFactoryJena(OntModelSelector ontModelSelector)
public WebappDaoFactoryJena(org.apache.jena.ontology.OntModel ontModel)
public WebappDaoFactoryJena(WebappDaoFactoryJena base)
base - DAO Factorypublic OntModelSelector getOntModelSelector()
public org.apache.jena.ontology.OntModel getOntModel()
public static org.apache.jena.query.Dataset makeInMemoryDataset(org.apache.jena.rdf.model.Model assertions,
org.apache.jena.rdf.model.Model inferences)
public String checkURI(String uriStr)
WebappDaoFactorycheckURI in interface WebappDaoFactorypublic String checkURIForEditableEntity(String uriStr)
WebappDaoFactorycheckURIForEditableEntity in interface WebappDaoFactorypublic boolean hasExistingURI(String uriStr)
WebappDaoFactoryhasExistingURI in interface WebappDaoFactoryuriStr - URI Stringpublic WebappDaoFactory getUserAwareDaoFactory(String userURI)
WebappDaoFactorygetUserAwareDaoFactory in interface WebappDaoFactoryuserURI - User URIpublic String getUserURI()
WebappDaoFactorygetUserURI in interface WebappDaoFactorypublic String getDefaultNamespace()
getDefaultNamespace in interface WebappDaoFactorypublic List<String> getPreferredLanguages()
getPreferredLanguages in interface WebappDaoFactorypublic Set<String> getNonuserNamespaces()
getNonuserNamespaces in interface WebappDaoFactorypublic List<String> getCommentsForResource(String resourceURI)
WebappDaoFactorygetCommentsForResource in interface WebappDaoFactorypublic IndividualDao getIndividualDao()
WebappDaoFactorygetIndividualDao in interface WebappDaoFactorypublic ApplicationDao getApplicationDao()
getApplicationDao in interface WebappDaoFactorypublic VClassGroupDao getVClassGroupDao()
getVClassGroupDao in interface WebappDaoFactorypublic PropertyGroupDao getPropertyGroupDao()
getPropertyGroupDao in interface WebappDaoFactorypublic UserAccountsDao getUserAccountsDao()
getUserAccountsDao in interface WebappDaoFactorypublic DataPropertyStatementDao getDataPropertyStatementDao()
WebappDaoFactorygetDataPropertyStatementDao in interface WebappDaoFactorypublic DatatypeDao getDatatypeDao()
WebappDaoFactorygetDatatypeDao in interface WebappDaoFactorypublic DataPropertyDao getDataPropertyDao()
WebappDaoFactorygetDataPropertyDao in interface WebappDaoFactorypublic IndividualDao getEntityDao()
public ObjectPropertyStatementDao getObjectPropertyStatementDao()
WebappDaoFactorygetObjectPropertyStatementDao in interface WebappDaoFactorypublic OntologyDao getOntologyDao()
WebappDaoFactorygetOntologyDao in interface WebappDaoFactorypublic ObjectPropertyDao getObjectPropertyDao()
WebappDaoFactorygetObjectPropertyDao in interface WebappDaoFactorypublic FauxPropertyDao getFauxPropertyDao()
WebappDaoFactorygetFauxPropertyDao in interface WebappDaoFactorypublic PropertyInstanceDao getPropertyInstanceDao()
getPropertyInstanceDao in interface WebappDaoFactorypublic VClassDao getVClassDao()
WebappDaoFactorygetVClassDao in interface WebappDaoFactorypublic JenaBaseDao getJenaBaseDao()
public PageDao getPageDao()
getPageDao in interface WebappDaoFactorypublic MenuDao getMenuDao()
getMenuDao in interface WebappDaoFactorypublic DisplayModelDao getDisplayModelDao()
getDisplayModelDao in interface WebappDaoFactorypublic void close()
WebappDaoFactoryclose in interface WebappDaoFactorypublic void setSpecialDataModel(org.apache.jena.ontology.OntModel specialModel,
org.apache.jena.ontology.OntModel specialTboxModel,
org.apache.jena.ontology.OntModel specialDisplayModel)
public String makeLocalNameWithPrefix(ResourceBean bean)
public String makePickListName(ResourceBean bean)
public I18nBundle getI18nBundle()
getI18nBundle in interface WebappDaoFactoryCopyright © 2021. All rights reserved.