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

Deprecate PersistenceStructureService and related old metadata services

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: Development, JPA, Roadmap
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-9139Deprecate BusinessObjectService, PersistenceService, and related services related to persistence
      KULRICE-9117Deprecate old formatters from core web, new formatter/property editor framework as part of krad data
      KULRICE-9889Move deprecated data code and services to the rice-kns module
      KULRICE-2393Remove deprecated methods on the KIM services
      KULRICE-9552Deprecate old business object classes and document replacements (if any)
      KULRICE-3879Problems with Rice metadata
      KULRICE-7600Fix or deprecate KrmsTypeRepositoryService methods that ignore new type relation system
      KULRICE-2539Ensure old permission-related Application Constants are converted over to KIM, completely remove remaining pieces of Application Constants services and screens
      KULRICE-9526Document which classes have been deprecated and why they have been deprecated
      KULRICE-4582Remove deprecated Config.OUT_BOX_DEFAULT_PREFERENCE_ON
    • Rice Module:
      KNS, KRAD
    • KRAD Feature Area:
      Data Dictionary
    • Sprint:
      Sprint 2
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      Deprecate PersistenceStructureService and some of the other related pieces in preference for the new DataDictionary being built as part of the krad-data module.

        Activity

        Hide
        Jonathan Keller added a comment -

        Most of the core classes have been deprecated. Need to check where they were being used to see if there are methods on other services which were simple proxies to the persistence structure service.

        Show
        Jonathan Keller added a comment - Most of the core classes have been deprecated. Need to check where they were being used to see if there are methods on other services which were simple proxies to the persistence structure service.
        Hide
        Jonathan Keller added a comment -

        Would this include PBOB?

        Show
        Jonathan Keller added a comment - Would this include PBOB?
        Hide
        Eric Westfall added a comment -

        Yes it would.

        Show
        Eric Westfall added a comment - Yes it would.
        Hide
        Eric Westfall added a comment -

        Given that though, we should discuss whether or not it makes sense to introduce a similar concept. I wish Java supported mixins, because then we could easily add behavior such as "GloballyUnique" and "Versioned". Instead what we would want them to do now is implement the GloballyUnique and Versioned interfaces. We could provide a "UniqueAndGloballyVersioned" parent class that they could extend from, but that seems like a hack.

        Show
        Eric Westfall added a comment - Given that though, we should discuss whether or not it makes sense to introduce a similar concept. I wish Java supported mixins, because then we could easily add behavior such as "GloballyUnique" and "Versioned". Instead what we would want them to do now is implement the GloballyUnique and Versioned interfaces. We could provide a "UniqueAndGloballyVersioned" parent class that they could extend from, but that seems like a hack.
        Hide
        Jonathan Keller added a comment -

        So, we have to provide interfaces and a Support/Helper base class which they can use if desired.

        Show
        Jonathan Keller added a comment - So, we have to provide interfaces and a Support/Helper base class which they can use if desired.
        Hide
        Jonathan Keller added a comment -

        OK - I've gone through and removed all direct references which I can find to the Persistence[Structure]Service in code which is not exclusive to the KNS or the LegacyDataAdapter. Additional methods added to the LDA and DataObjectWrapper as needed.

        Show
        Jonathan Keller added a comment - OK - I've gone through and removed all direct references which I can find to the Persistence[Structure]Service in code which is not exclusive to the KNS or the LegacyDataAdapter. Additional methods added to the LDA and DataObjectWrapper as needed.

          People

          • Assignee:
            Jonathan Keller
            Reporter:
            Eric Westfall
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2 days
              2d
              Remaining:
              Remaining Estimate - 2 days
              2d
              Logged:
              Time Spent - Not Specified
              Not Specified

                Agile

                  Structure Helper Panel