Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1795

Make Document.saveDocument() protected and add a protected Document.deleteDocument().

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.1.2, 1.2 M2
    • 1.1.1, 1.2 M1
    • {Unused} APIs
    • None

    Description

      In a "customClass" extended Document it is difficult to make actions at save and delete time. To be able to overwrite theses Document.saveDocument is made protected and a protected Document.deleteDocument is created called by Document.delete() and Document.deleteWithProgrammingRights().

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: