[KULRICE-11714] KIM Performance: check whether role members need to be sorted Created: 23/Jan/14 Updated: 16/Jan/15
|Project:||Kuali Rice Development|
|Security Level:||Public (Public: Anyone can view)|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|KAI Review Status:||Not Required|
|KTI Review Status:||Not Required|
|Code Review Status:||Not Required|
|Include in Release Notes?:||
The KIM role type service has a sortRoleMembers() method. The default implementation simply returns the original list.
This can cause inefficiencies if the list of role members passed in is large.
It would probably be good if the RoleTypeService API were expanded to include a "doesSortRoleMembers()" method (or something like that) to pre-check whether the entire list needs to be passed to and from. Since only 1 service in all of KFS implements that method, this would be a net improvement for most role member retrievals.