Interface ObjectPropertyDao
-
- All Superinterfaces:
PropertyDao
- All Known Implementing Classes:
ObjectPropertyDaoFiltering,ObjectPropertyDaoJena
public interface ObjectPropertyDao extends PropertyDao
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface edu.cornell.mannlib.vitro.webapp.dao.PropertyDao
PropertyDao.FullPropertyKey
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteObjectProperty(ObjectProperty objectProperty)voiddeleteObjectProperty(String objectPropertyURI)voidfillObjectPropertiesForIndividual(Individual individual)List<ObjectProperty>getAllObjectProperties()StringgetCustomListViewConfigFileName(ObjectProperty objectProperty)List<ObjectProperty>getObjectPropertiesForObjectPropertyStatements(List<ObjectPropertyStatement> objectPropertyStatements)ObjectPropertygetObjectPropertyByURI(String objectPropertyURI)ObjectPropertygetObjectPropertyByURIs(String objectPropertyURI, String domainURI, String rangeURI)ObjectPropertygetObjectPropertyByURIs(String objectPropertyURI, 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.List<ObjectProperty>getRootObjectProperties()List<String>getSubPropertyURIs(String objectPropertyURI)List<String>getSuperPropertyURIs(String objectPropertyURI, boolean direct)intinsertObjectProperty(ObjectProperty objectProperty)booleanskipEditForm(String predicateURI)voidupdateObjectProperty(ObjectProperty objectProperty)-
Methods inherited from interface edu.cornell.mannlib.vitro.webapp.dao.PropertyDao
addEquivalentProperty, addEquivalentProperty, addSubproperty, addSubproperty, addSuperproperty, addSuperproperty, getAllSubPropertyURIs, getAllSuperPropertyURIs, getClassesWithRestrictionOnProperty, getEquivalentPropertyURIs, removeEquivalentProperty, removeEquivalentProperty, removeSubproperty, removeSubproperty, removeSuperproperty, removeSuperproperty
-
-
-
-
Method Detail
-
getAllObjectProperties
List<ObjectProperty> getAllObjectProperties()
-
getObjectPropertyByURI
ObjectProperty getObjectPropertyByURI(String objectPropertyURI)
-
getObjectPropertyByURIs
ObjectProperty getObjectPropertyByURIs(String objectPropertyURI, String domainURI, String rangeURI)
-
getObjectPropertyByURIs
ObjectProperty getObjectPropertyByURIs(String objectPropertyURI, 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.- Parameters:
objectPropertyURI- Object Property URIdomainURI- Domain URIrangeURI- Range URIbase- Object property- Returns:
- ObjectProperty
-
getObjectPropertiesForObjectPropertyStatements
List<ObjectProperty> getObjectPropertiesForObjectPropertyStatements(List<ObjectPropertyStatement> objectPropertyStatements)
-
getSuperPropertyURIs
List<String> getSuperPropertyURIs(String objectPropertyURI, boolean direct)
- Specified by:
getSuperPropertyURIsin interfacePropertyDao
-
getSubPropertyURIs
List<String> getSubPropertyURIs(String objectPropertyURI)
- Specified by:
getSubPropertyURIsin interfacePropertyDao
-
fillObjectPropertiesForIndividual
void fillObjectPropertiesForIndividual(Individual individual)
-
insertObjectProperty
int insertObjectProperty(ObjectProperty objectProperty) throws InsertException
- Throws:
InsertException
-
updateObjectProperty
void updateObjectProperty(ObjectProperty objectProperty)
-
deleteObjectProperty
void deleteObjectProperty(String objectPropertyURI)
-
deleteObjectProperty
void deleteObjectProperty(ObjectProperty objectProperty)
-
skipEditForm
boolean skipEditForm(String predicateURI)
-
getRootObjectProperties
List<ObjectProperty> getRootObjectProperties()
-
getObjectPropertyList
List<ObjectProperty> getObjectPropertyList(Individual subject)
Returns a list of ObjectProperty objects for which statements exist about the individual. Note that this method now returns multiple copies of a given predicate, with the rangeVClassURI changed to indicate the distinct types of the related objects. This supports finding the approriate list views for the "faux" qualified properties.
-
getObjectPropertyList
List<ObjectProperty> getObjectPropertyList(String subjectUri)
Returns a list of ObjectProperty objects for which statements exist about the individual. Note that this method now returns multiple copies of a given predicate, with the rangeVClassURI changed to indicate the distinct types of the related objects. This supports finding the approriate list views for the "faux" qualified properties.
-
getCustomListViewConfigFileName
String getCustomListViewConfigFileName(ObjectProperty objectProperty)
-
-