Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14911

Remove deprecated methods and deprecate getEntries in directory session

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: Directory
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      Removed deprecated org.nuxeo.ecm.directory.Session.commit() and org.nuxeo.ecm.directory.Session.rollback()

      Deprecate org.nuxeo.ecm.directory.Session.getEntries()

      Show
      Removed deprecated org.nuxeo.ecm.directory.Session.commit() and org.nuxeo.ecm.directory.Session.rollback() Deprecate org.nuxeo.ecm.directory.Session.getEntries()

      Description

      • org.nuxeo.ecm.directory.Session.commit() and org.nuxeo.ecm.directory.Session.rollback() methods are flag as deprecated since 5.5 => need to be removed
      • The org.nuxeo.ecm.directory.Session.getEntries() method must not be used nor implemented anymore because it may lead to errors due to the amount of data retrieved. The query with parameters method should be used instead.So flag it as deprecated and throw UnsupportedOperationException in new implementation

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: