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

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0 B6
    • Fix Version/s: 1.0 RC1
    • Component/s: {Unused} APIs
    • Labels:
      None
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved: