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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>
getChildrenStringPropertyValues(org.alfresco.service.cmr.repository.NodeRef parent, org.alfresco.service.namespace.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.Set<org.alfresco.service.cmr.repository.NodeRef>
getNodeRefsWhichReferenceContentUrl(String contentUrl)
org.alfresco.repo.domain.propval.PropertyStringValueEntity
getPropertyStringValueEntity(String stringValue)
Get the property string value entity with the specified string valueList<org.alfresco.service.cmr.repository.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)int
updatePropertyStringValueEntity(org.alfresco.repo.domain.propval.PropertyStringValueEntity propertyStringValueEntity)
Update the property string value entity
-
-
-
Method Detail
-
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<org.alfresco.service.cmr.repository.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 returnend
- long - the last result row to return- Returns:
- list of node refs
-
getChildrenStringPropertyValues
Set<String> getChildrenStringPropertyValues(org.alfresco.service.cmr.repository.NodeRef parent, org.alfresco.service.namespace.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 evaluateproperty
- the QName of the property to evaluate- Returns:
- list of distinct property values
-
getNodeRefsWhichReferenceContentUrl
Set<org.alfresco.service.cmr.repository.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
org.alfresco.repo.domain.propval.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(org.alfresco.repo.domain.propval.PropertyStringValueEntity propertyStringValueEntity)
Update the property string value entity- Returns:
- int the number of rows updated
-
-