Uploaded image for project: 'Content IO'
  1. Content IO
  2. CONTENTIO-93

Remove #getRemoteValues from LDAPCollectionHelper

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0
    • 3.1.0
    • None

      Rename the method to organizeRemoteValuesByMetadata

      protected Map<String, Map<String, List<Object>>> organizeRemoteValuesByMetadata(Map<String, Map<String, Object>> remoteValues, Map<String, List<String>> mapping)
      

      and move it to AbstractSynchronizableContentsCollection as a protected method.
      This method reorganize the remote values based on the SCC mapping.

      All implementation of SCC can call this protected method in their #getRemoteValues method (such as LDAPSynchronizableContentsCollection, AbstractApogeeSynchronizableContentsCollection, ...)

      Why not move also #getMapping() method to SynchronizableContentsCollection API ?

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: