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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.1, 1.2 M1
    • Fix Version/s: 1.1.2, 1.2 M2
    • Component/s: {Unused} APIs
    • Labels:
      None
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved: