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

Add new API to get a Document Class without requiring a Document Object

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 1.0 RC1
    • 1.0 B6
    • {Unused} APIs
    • None

    Description

      Add a new XWiki.getClass(String documentName) method. The idea is that this method doesn't require any rights for accessing the passed Document (as opposed to the

      {@link com.xpn.xwiki.api.Document#getxWikiClass()}

      method which does require to get a Document object first. This is thus useful in cases where the calling code doesn't have the access right to the specified Document. It is also safe because there are no sensitive data stored in a Class definition.

      Attachments

        Activity

          People

            ldubost@free.fr Ludovic Dubost
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: