Class ObjectPropertyDaoFiltering
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.dao.filtering.BaseFiltering
-
- edu.cornell.mannlib.vitro.webapp.dao.filtering.ObjectPropertyDaoFiltering
-
- All Implemented Interfaces:
ObjectPropertyDao,PropertyDao
public class ObjectPropertyDaoFiltering extends BaseFiltering implements ObjectPropertyDao
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface edu.cornell.mannlib.vitro.webapp.dao.PropertyDao
PropertyDao.FullPropertyKey
-
-
Constructor Summary
Constructors Constructor Description ObjectPropertyDaoFiltering(ObjectPropertyDao objectPropertyDao, VitroFilters filters)
-
Method Summary
-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.dao.filtering.BaseFiltering
filter, filter
-
-
-
-
Constructor Detail
-
ObjectPropertyDaoFiltering
public ObjectPropertyDaoFiltering(ObjectPropertyDao objectPropertyDao, VitroFilters filters)
-
-
Method Detail
-
getAllObjectProperties
public List getAllObjectProperties()
- Specified by:
getAllObjectPropertiesin interfaceObjectPropertyDao
-
getObjectPropertiesForObjectPropertyStatements
public List getObjectPropertiesForObjectPropertyStatements(List<ObjectPropertyStatement> objectPropertyStatements)
- Specified by:
getObjectPropertiesForObjectPropertyStatementsin interfaceObjectPropertyDao
-
getObjectPropertyByURI
public ObjectProperty getObjectPropertyByURI(String objectPropertyURI)
- Specified by:
getObjectPropertyByURIin interfaceObjectPropertyDao
-
getObjectPropertyByURIs
public ObjectProperty getObjectPropertyByURIs(String objectPropertyURI, String domainURI, String rangeURI)
- Specified by:
getObjectPropertyByURIsin interfaceObjectPropertyDao
-
getObjectPropertyByURIs
public ObjectProperty getObjectPropertyByURIs(String objectPropertyURI, String domainURI, String rangeURI, ObjectProperty base)
Description copied from interface:ObjectPropertyDaoUse 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.- Specified by:
getObjectPropertyByURIsin interfaceObjectPropertyDao- Parameters:
objectPropertyURI- Object Property URIdomainURI- Domain URIrangeURI- Range URIbase- Object property- Returns:
- ObjectProperty
-
getRootObjectProperties
public List getRootObjectProperties()
- Specified by:
getRootObjectPropertiesin interfaceObjectPropertyDao
-
deleteObjectProperty
public void deleteObjectProperty(String objectPropertyURI)
- Specified by:
deleteObjectPropertyin interfaceObjectPropertyDao
-
deleteObjectProperty
public void deleteObjectProperty(ObjectProperty objectProperty)
- Specified by:
deleteObjectPropertyin interfaceObjectPropertyDao
-
fillObjectPropertiesForIndividual
public void fillObjectPropertiesForIndividual(Individual individual)
- Specified by:
fillObjectPropertiesForIndividualin interfaceObjectPropertyDao
-
insertObjectProperty
public int insertObjectProperty(ObjectProperty objectProperty) throws InsertException
- Specified by:
insertObjectPropertyin interfaceObjectPropertyDao- Throws:
InsertException
-
updateObjectProperty
public void updateObjectProperty(ObjectProperty objectProperty)
- Specified by:
updateObjectPropertyin interfaceObjectPropertyDao
-
addSuperproperty
public void addSuperproperty(ObjectProperty property, ObjectProperty superproperty)
-
addSuperproperty
public void addSuperproperty(String propertyURI, String superpropertyURI)
- Specified by:
addSuperpropertyin interfacePropertyDao
-
removeSuperproperty
public void removeSuperproperty(ObjectProperty property, ObjectProperty superproperty)
-
removeSuperproperty
public void removeSuperproperty(String propertyURI, String superpropertyURI)
- Specified by:
removeSuperpropertyin interfacePropertyDao
-
addSubproperty
public void addSubproperty(ObjectProperty property, ObjectProperty subproperty)
-
addSubproperty
public void addSubproperty(String propertyURI, String subpropertyURI)
- Specified by:
addSubpropertyin interfacePropertyDao
-
removeSubproperty
public void removeSubproperty(ObjectProperty property, ObjectProperty subproperty)
-
removeSubproperty
public void removeSubproperty(String propertyURI, String subpropertyURI)
- Specified by:
removeSubpropertyin interfacePropertyDao
-
getSubPropertyURIs
public List<String> getSubPropertyURIs(String propertyURI)
- Specified by:
getSubPropertyURIsin interfaceObjectPropertyDao- Specified by:
getSubPropertyURIsin interfacePropertyDao
-
getAllSubPropertyURIs
public List<String> getAllSubPropertyURIs(String propertyURI)
- Specified by:
getAllSubPropertyURIsin interfacePropertyDao
-
getSuperPropertyURIs
public List<String> getSuperPropertyURIs(String propertyURI, boolean direct)
- Specified by:
getSuperPropertyURIsin interfaceObjectPropertyDao- Specified by:
getSuperPropertyURIsin interfacePropertyDao
-
getAllSuperPropertyURIs
public List<String> getAllSuperPropertyURIs(String propertyURI)
- Specified by:
getAllSuperPropertyURIsin interfacePropertyDao
-
filterAndWrap
public static List<ObjectProperty> filterAndWrap(List<ObjectProperty> list, VitroFilters filters)
-
addSubproperty
public void addSubproperty(Property property, Property subproperty)
- Specified by:
addSubpropertyin interfacePropertyDao
-
addSuperproperty
public void addSuperproperty(Property property, Property superproperty)
- Specified by:
addSuperpropertyin interfacePropertyDao
-
removeSubproperty
public void removeSubproperty(Property property, Property subproperty)
- Specified by:
removeSubpropertyin interfacePropertyDao
-
removeSuperproperty
public void removeSuperproperty(Property property, Property superproperty)
- Specified by:
removeSuperpropertyin interfacePropertyDao
-
addEquivalentProperty
public void addEquivalentProperty(String propertyURI, String equivalentPropertyURI)
- Specified by:
addEquivalentPropertyin interfacePropertyDao
-
addEquivalentProperty
public void addEquivalentProperty(Property property, Property equivalentProperty)
- Specified by:
addEquivalentPropertyin interfacePropertyDao
-
getEquivalentPropertyURIs
public List<String> getEquivalentPropertyURIs(String propertyURI)
- Specified by:
getEquivalentPropertyURIsin interfacePropertyDao
-
removeEquivalentProperty
public void removeEquivalentProperty(String propertyURI, String equivalentPropertyURI)
- Specified by:
removeEquivalentPropertyin interfacePropertyDao
-
removeEquivalentProperty
public void removeEquivalentProperty(Property property, Property equivalentProperty)
- Specified by:
removeEquivalentPropertyin interfacePropertyDao
-
skipEditForm
public boolean skipEditForm(String predicateURI)
- Specified by:
skipEditFormin interfaceObjectPropertyDao
-
getClassesWithRestrictionOnProperty
public List<VClass> getClassesWithRestrictionOnProperty(String propertyURI)
- Specified by:
getClassesWithRestrictionOnPropertyin interfacePropertyDao
-
getObjectPropertyList
public List<ObjectProperty> getObjectPropertyList(Individual subject)
Description copied from interface:ObjectPropertyDaoReturns 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.- Specified by:
getObjectPropertyListin interfaceObjectPropertyDao
-
getObjectPropertyList
public List<ObjectProperty> getObjectPropertyList(String subjectUri)
Description copied from interface:ObjectPropertyDaoReturns 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.- Specified by:
getObjectPropertyListin interfaceObjectPropertyDao
-
getCustomListViewConfigFileName
public String getCustomListViewConfigFileName(ObjectProperty objectProperty)
- Specified by:
getCustomListViewConfigFileNamein interfaceObjectPropertyDao
-
-