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 Details

    • getCountRmaIdentifier

      int getCountRmaIdentifier(String identifierValue)
      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

      List<NodeRef> getRecordFoldersWithSchedules(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)
      Parameters:
      start - long - the first result row to return
      end - long - the last result row to return
      Returns:
      list of node refs
    • getChildrenStringPropertyValues

      Set<String> getChildrenStringPropertyValues(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 property
      Parameters:
      parent - the parent to evaluate
      property - the QName of the property to evaluate
      Returns:
      list of distinct property values
    • getNodeRefsWhichReferenceContentUrl

      Set<NodeRef> getNodeRefsWhichReferenceContentUrl(String contentUrl)
      Parameters:
      contentUrl - the URL of the content url entity
      Returns:
      Set a set of nodes that reference the given content url
    • getPropertyStringValueEntity

      PropertyStringValueEntity getPropertyStringValueEntity(String stringValue)
      Get the property string value entity with the specified string value
      Returns:
      PropertyStringValueEntity the property string value entity with the specified string value
    • updatePropertyStringValueEntity

      int updatePropertyStringValueEntity(PropertyStringValueEntity propertyStringValueEntity)
      Update the property string value entity
      Returns:
      int the number of rows updated