Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10096

Migrate ContentTypesHelper to new cache system

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Available for review
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      Those maps should be replaced by Cache objects

      /**
       * Cache containing view metadata sets
       * @deprecated use {@link #_viewCache} instead
       */
       @Deprecated
       private Map<String, Map<String, MetadataSet>> _cacheForView = new HashMap<>();
       
       /**
       * Cache containing edition metadata sets
       * @deprecated use {@link #_viewCache} instead
       */
       @Deprecated
       private Map<String, Map<String, MetadataSet>> _cacheForEdition = new HashMap<>();
       
       /**
       * Cache containing content types' views
       * The key is a cache identifier that is a concatenation of the identifiers of the concerned content types and mixins
       * The value is a Map containing the views by their names
       */
       private Map<String, Map<String, View>> _viewCache = new HashMap<>();

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kbourgoin Kepa Bourgoin
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: