Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-8843

Add new cache for two WorkflowDocumentService methods

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.2
    • Fix Version/s: Backlog
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-8789Add getApplicationDocumentStatus(String documentId) method to WorkflowDocumentService
      KULRICE-4181Add clear cache method to KeyValuesFinder interface and base class
      KULRICE-3726Add caching of role members loaded from the database
      KULRICE-5677Add support for getCurrentNodeNames to WorkflowDocument, change method from getActiveNodeInstances to getActiveRouteNodeInstances
      KULRICE-10167add caching to RuleManagementService methods related to Context, ReferenceObjectBinding, NaturalLanguage
      KULRICE-6657Remove getActionsRequested method from WorkflowDocumentService since a similar method is already on WorkflowDocumentActionsService
      KULRICE-3768Add more persistent cache of RoleImpl data in RoleServiceImpl
      KULRICE-7258Implement caching on ExtensionRepositoryService
      KULRICE-10147add caching to RuleManagementService methods related to Agenda, Rule, Action, Proposition
      KULRICE-12796WorkflowDocumentService: _getActionsTaken is deceptive
    • Rice Module:
      KEW
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      The methods below are called often from one of the document derived role type service methods. Each time, it forces a reload of the route header (and non-lazy linked objects).

      These should be able to be safely cached, as they do not change after document creation. (At least the first of them...)

      • getDocumentInitiatorPrincipalId
      • getRoutedByPrincipalIdByDocumentId

      I ended up (for UCD) creating a new cache: http://rice.kuali.org/kew/v2_0/DocumentImmutableData for these.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jonathan Keller
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Structure Helper Panel