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

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Bridge
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated: