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

Migrate ContentTypesHelper to new cache system

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3.0
    • None
    • None
    • None
    • 4.3 RC1

      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<>();

            raphael Raphaël Franchet
            kbourgoin Kepa Bourgoin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: