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

DocumentAccessBridge::setProperty() with addtional parameter specifying the index for the object attached to the document

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Bridge
    • None
    • Unknown

    Description

      Method signature:

      /**

      • Sets the given property for the object found at index objectNumber (of the given class) attached to the
      • document. If no such object exists, this method will create a new object of the given class, attach it to the
      • document and set the property.
      • @param documentName name of the document to access.
      • @param className name of the class.
      • @param objectNumber number of the object from the given class.
      • @param propertyName name of the property to set.
      • @param propertyValue value of the property to set.
      • @throws Exception if the document cannot be accessed.
        */
        void setProperty(String documentName, String className, int objectNumber, String propertyName, Object propertyValue) throws Exception;

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anamaria Anamaria Stoica
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: