Interface RecordsManagementQueryDAO
- All Known Implementing Classes:
RecordsManagementQueryDAOImpl
public interface RecordsManagementQueryDAO
Records management query DAO
NOTE: a place holder that can be extended later when we want to enhance performance with canned queries.
- Since:
- 2.1
- Author:
- Roy Wetherall
-
Method Summary
Modifier and TypeMethodDescriptiongetChildrenStringPropertyValues
(NodeRef parent, QName property) Returns whether a given node contains children with one of the given values for the given property Returns distinct property values from children for the given propertyint
getCountRmaIdentifier
(String identifierValue) Get the number of objects with the given identifier value.getNodeRefsWhichReferenceContentUrl
(String contentUrl) getPropertyStringValueEntity
(String stringValue) Get the property string value entity with the specified string valuegetRecordFoldersWithSchedules
(Long start, Long end) Returns a number of nodeRefs for record folders in the system that have the property recordSearchHasDispositionSchedule:true (used for MNT-20864)int
updatePropertyStringValueEntity
(PropertyStringValueEntity propertyStringValueEntity) Update the property string value entity
-
Method Details
-
getCountRmaIdentifier
Get the number of objects with the given identifier value. Note: this is provided as an example and is not currently used- Parameters:
identifierValue
- id value- Returns:
- int count
-
getRecordFoldersWithSchedules
Returns a number of nodeRefs for record folders in the system that have the property recordSearchHasDispositionSchedule:true (used for MNT-20864)- Parameters:
start
- long - the first result row to returnend
- long - the last result row to return- Returns:
- list of node refs
-
getChildrenStringPropertyValues
Returns whether a given node contains children with one of the given values for the given property Returns distinct property values from children for the given property- Parameters:
parent
- the parent to evaluateproperty
- the QName of the property to evaluate- Returns:
- list of distinct property values
-
getNodeRefsWhichReferenceContentUrl
- Parameters:
contentUrl
- the URL of the content url entity- Returns:
- Set
a set of nodes that reference the given content url
-
getPropertyStringValueEntity
Get the property string value entity with the specified string value- Returns:
- PropertyStringValueEntity the property string value entity with the specified string value
-
updatePropertyStringValueEntity
Update the property string value entity- Returns:
- int the number of rows updated
-