public class ObjectPropertyDaoJena extends PropertyDaoJena implements ObjectPropertyDao
PropertyDao.FullPropertyKey| Modifier and Type | Field and Description |
|---|---|
protected static List<String> |
EXCLUDED_NAMESPACES |
protected static String |
LIST_VIEW_CONFIG_FILE_QUERY_STRING |
protected static com.hp.hpl.jena.query.Query |
listViewConfigFileQuery |
protected static String |
OBJECT_PROPERTY_QUERY_STRING |
protected static String |
PROPERTY_FILTERS |
dwf, FAUX_PROPERTY_FLAG, PREFIXES, rdfServiceDEFAULT_NAMESPACE, KEEP_ONLY_IF_FALSE, KEEP_ONLY_IF_TRUE, NONUSER_NAMESPACES, PREFERRED_LANGUAGES, PSEUDO_BNODE_NS, XSD, xsdDateFormat, xsdDateTimeFormatADDITIONAL_LINK, APPLICATION_ABOUTTEXT, APPLICATION_ACKNOWLEGETEXT, APPLICATION_CONTACTMAIL, APPLICATION_COPYRIGHTANCHOR, APPLICATION_COPYRIGHTURL, APPLICATION_CORRECTIONMAIL, APPLICATION_THEMEDIR, CLASSGROUP, DATAPROPERTY_ISEXTERNALID, DESCRIPTION_ANNOT, DISPLAY_LIMIT, DISPLAY_RANK, DISPLAY_RANK_ANNOT, EXAMPLE, EXAMPLE_ANNOT, HIDDEN_FROM_DISPLAY_BELOW_ROLE_LEVEL_ANNOT, HIDDEN_FROM_PUBLISH_BELOW_ROLE_LEVEL_ANNOT, IN_CLASSGROUP, IND_MAIN_IMAGE, LINK, LINK_ANCHOR, LINK_DISPLAYRANK, LINK_TYPE, LINK_URL, MODTIME, MONIKER, ONTOLOGY_PREFIX_ANNOT, PERMISSION, PERMISSION_SET_FOR_NEW_USERS, PERMISSION_SET_FOR_PUBLIC, PERMISSIONSET, PERMISSIONSET_HAS_PERMISSION, PORTAL, PRIMARY_LINK, PROHIBITED_FROM_UPDATE_BELOW_ROLE_LEVEL_ANNOT, PROPERTY_ADDLINKSUPPRESSED, PROPERTY_COLLATEBYSUBCLASSANNOT, PROPERTY_CUSTOM_LIST_VIEW_ANNOT, PROPERTY_CUSTOMDISPLAYVIEWANNOT, PROPERTY_CUSTOMENTRYFORMANNOT, PROPERTY_CUSTOMSEARCHVIEWANNOT, PROPERTY_CUSTOMSHORTVIEWANNOT, PROPERTY_DELETELINKSUPPRESSED, PROPERTY_EDITLINKSUPPRESSED, PROPERTY_ENTITYSORTDIRECTION, PROPERTY_ENTITYSORTFIELD, PROPERTY_FULLPROPERTYNAMEANNOT, PROPERTY_INPROPERTYGROUPANNOT, PROPERTY_OBJECTINDIVIDUALSORTPROPERTY, PROPERTY_OFFERCREATENEWOPTIONANNOT, PROPERTY_SELECTFROMEXISTINGANNOT, PROPERTY_STUBOBJECTPROPERTYANNOT, PROPERTYGROUP, PUBLIC_DESCRIPTION_ANNOT, SEARCH_BOOST_ANNOT, SHORTDEF, USERACCOUNT, USERACCOUNT_EMAIL_ADDRESS, USERACCOUNT_EXTERNAL_AUTH_ID, USERACCOUNT_EXTERNAL_AUTH_ONLY, USERACCOUNT_FIRST_NAME, USERACCOUNT_HAS_PERMISSION_SET, USERACCOUNT_LAST_LOGIN_TIME, USERACCOUNT_LAST_NAME, USERACCOUNT_LOGIN_COUNT, USERACCOUNT_MD5_PASSWORD, USERACCOUNT_OLD_PASSWORD, USERACCOUNT_PASSWORD_CHANGE_REQUIRED, USERACCOUNT_PASSWORD_LINK_EXPIRES, USERACCOUNT_PROXY_EDITOR_FOR, USERACCOUNT_ROOT_USER, USERACCOUNT_STATUS, VITRO_PUBLIC_ONTOLOGY| Constructor and Description |
|---|
ObjectPropertyDaoJena(RDFService rdfService,
DatasetWrapperFactory dwf,
Map<PropertyDao.FullPropertyKey,String> customListViewConfigFileMap,
WebappDaoFactoryJena wadf) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteObjectProperty(ObjectProperty prop) |
void |
deleteObjectProperty(String propertyURI) |
void |
deleteProperty(ObjectProperty prop,
com.hp.hpl.jena.ontology.OntModel ontModel) |
void |
fillObjectPropertiesForIndividual(Individual entity) |
List |
getAllObjectProperties() |
String |
getCustomListViewConfigFileName(ObjectProperty op) |
List<ObjectProperty> |
getObjectPropertiesForObjectPropertyStatements(List objPropertyStmts) |
ObjectProperty |
getObjectPropertyByURI(String propertyURI) |
ObjectProperty |
getObjectPropertyByURIs(String propertyURI,
String domainURI,
String rangeURI) |
ObjectProperty |
getObjectPropertyByURIs(String propertyURI,
String domainURI,
String rangeURI,
ObjectProperty base)
Use this method to supply a base ObjectProperty whose fields will be updated
as necessary to correspond to the configuration for the specified Domain
and Range.
|
List<ObjectProperty> |
getObjectPropertyList(Individual subject)
Returns a list of ObjectProperty objects for which statements exist about
the individual.
|
List<ObjectProperty> |
getObjectPropertyList(String subjectUri)
Returns a list of ObjectProperty objects for which statements exist about
the individual.
|
protected com.hp.hpl.jena.ontology.OntModel |
getOntModel() |
List |
getPropIdsForClass(String classURI,
boolean direction) |
List<ObjectProperty> |
getRootObjectProperties() |
List<String> |
getSubPropertyURIs(String objectPropertyURI) |
List<String> |
getSuperPropertyURIs(String objectPropertyURI) |
int |
insertObjectProperty(ObjectProperty prop) |
int |
insertProperty(ObjectProperty prop,
com.hp.hpl.jena.ontology.OntModel ontModel) |
protected ObjectProperty |
propertyFromOntProperty(com.hp.hpl.jena.ontology.OntProperty op) |
boolean |
skipEditForm(String predicateURI) |
void |
updateObjectProperty(ObjectProperty prop) |
void |
updateProperty(ObjectProperty prop,
com.hp.hpl.jena.ontology.OntModel ontModel) |
addEquivalentProperty, addEquivalentProperty, addSubproperty, addSubproperty, addSubproperty, addSuperproperty, addSuperproperty, addSuperproperty, getAllPossiblePropInstForIndividual, getAllPropInstByVClass, getAllPropInstByVClasses, getAllSubPropertyURIs, getAllSuperPropertyURIs, getClassesWithRestrictionOnProperty, getEquivalentPropertyURIs, getPropertiesWithAppropriateDomainFor, getPropertyQueryResults, getRDFService, getRestrictedClasses, getSuperPropertyURIs, removeABoxStatementsWithPredicate, removeABoxStatementsWithPredicate, removeEquivalentProperty, removeEquivalentProperty, removeSubproperty, removeSubproperty, removeSubproperty, removeSuperproperty, removeSuperproperty, removeSuperpropertyaddPropertyBooleanValue, addPropertyDateTimeValue, addPropertyDateValue, addPropertyFloatValue, addPropertyIntValue, addPropertyLongValue, addPropertyNonNegativeIntValue, addPropertyResourceURIValue, addPropertyResourceValue, addPropertyStringValue, checkURI, getClassURIStr, getDefaultLanguage, getLabel, getLabelLiteral, getLabelLiteral, getLabelOrId, getLocalNameOrId, getMostRestrictiveRoleLevel, getOntClass, getOntModelSelector, getPropertyBooleanValue, getPropertyDateTimeValue, getPropertyDateValue, getPropertyFloatValue, getPropertyIntValue, getPropertyLongValue, getPropertyNonNegativeIntegerValue, getPropertyNonNegativeIntValue, getPropertyResourceURIValues, getPropertyStringValue, getSmartRemoval, getWebappDaoFactory, getWritableOntModelList, isBooleanClassExpression, listDirectObjectPropertySubjects, listDirectObjectPropertyValues, makeNodeForURI, removeRulesMentioningResource, smartRemove, updatePropertyBooleanValue, updatePropertyDateTimeValue, updatePropertyDateValue, updatePropertyFloatValue, updatePropertyIntValue, updatePropertyLongValue, updatePropertyNonNegativeIntegerValue, updatePropertyNonNegativeIntValue, updatePropertyResourceURIValue, updatePropertyResourceURIValue, updatePropertyResourceURIValues, updatePropertyResourceValue, updatePropertyResourceValue, updatePropertyStringValue, updateRDFSLabelgetConstModelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSuperPropertyURIsaddEquivalentProperty, addEquivalentProperty, addSubproperty, addSubproperty, addSuperproperty, addSuperproperty, getAllSubPropertyURIs, getAllSuperPropertyURIs, getClassesWithRestrictionOnProperty, getEquivalentPropertyURIs, removeEquivalentProperty, removeEquivalentProperty, removeSubproperty, removeSubproperty, removeSuperproperty, removeSuperpropertyprotected static final String PROPERTY_FILTERS
protected static final String OBJECT_PROPERTY_QUERY_STRING
protected static final String LIST_VIEW_CONFIG_FILE_QUERY_STRING
protected static com.hp.hpl.jena.query.Query listViewConfigFileQuery
public ObjectPropertyDaoJena(RDFService rdfService, DatasetWrapperFactory dwf, Map<PropertyDao.FullPropertyKey,String> customListViewConfigFileMap, WebappDaoFactoryJena wadf)
protected com.hp.hpl.jena.ontology.OntModel getOntModel()
getOntModel in class PropertyDaoJenapublic void deleteObjectProperty(String propertyURI)
deleteObjectProperty in interface ObjectPropertyDaopublic void fillObjectPropertiesForIndividual(Individual entity)
fillObjectPropertiesForIndividual in interface ObjectPropertyDaoprotected ObjectProperty propertyFromOntProperty(com.hp.hpl.jena.ontology.OntProperty op)
public List getAllObjectProperties()
getAllObjectProperties in interface ObjectPropertyDaopublic ObjectProperty getObjectPropertyByURI(String propertyURI)
getObjectPropertyByURI in interface ObjectPropertyDaopublic ObjectProperty getObjectPropertyByURIs(String propertyURI, String domainURI, String rangeURI)
getObjectPropertyByURIs in interface ObjectPropertyDaopublic ObjectProperty getObjectPropertyByURIs(String propertyURI, String domainURI, String rangeURI, ObjectProperty base)
ObjectPropertyDaogetObjectPropertyByURIs in interface ObjectPropertyDaopropertyURI - Object Property URIdomainURI - Domain URIrangeURI - Range URIbase - Object propertypublic List<ObjectProperty> getObjectPropertiesForObjectPropertyStatements(List objPropertyStmts)
getObjectPropertiesForObjectPropertyStatements in interface ObjectPropertyDaopublic int insertObjectProperty(ObjectProperty prop) throws InsertException
insertObjectProperty in interface ObjectPropertyDaoInsertExceptionpublic int insertProperty(ObjectProperty prop, com.hp.hpl.jena.ontology.OntModel ontModel) throws InsertException
InsertExceptionpublic void updateObjectProperty(ObjectProperty prop)
updateObjectProperty in interface ObjectPropertyDaopublic void updateProperty(ObjectProperty prop, com.hp.hpl.jena.ontology.OntModel ontModel)
public void deleteObjectProperty(ObjectProperty prop)
deleteObjectProperty in interface ObjectPropertyDaopublic void deleteProperty(ObjectProperty prop, com.hp.hpl.jena.ontology.OntModel ontModel)
public List<ObjectProperty> getRootObjectProperties()
getRootObjectProperties in interface ObjectPropertyDaopublic List<String> getSubPropertyURIs(String objectPropertyURI)
getSubPropertyURIs in interface ObjectPropertyDaogetSubPropertyURIs in interface PropertyDaogetSubPropertyURIs in class PropertyDaoJenapublic boolean skipEditForm(String predicateURI)
skipEditForm in interface ObjectPropertyDaopublic List<ObjectProperty> getObjectPropertyList(Individual subject)
ObjectPropertyDaogetObjectPropertyList in interface ObjectPropertyDaopublic List<ObjectProperty> getObjectPropertyList(String subjectUri)
ObjectPropertyDaogetObjectPropertyList in interface ObjectPropertyDaopublic String getCustomListViewConfigFileName(ObjectProperty op)
getCustomListViewConfigFileName in interface ObjectPropertyDaoCopyright © 2016. All rights reserved.