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

Add BlockReference to reference structured part of the content of a document or an object property.

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.2
    • Fix Version/s: 6.0-milestone-1
    • Component/s: Model
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      A BlockReference is a reference to a structured part of the content of a document or an object property. With the additional provision that the meaning of block references depends on their usage, may not be unique and are not necessarily a way to reach the referenced instance.

      We may have different kind of block references, for different purposes (for example identifying a header in the content, linking signature to macro block, etc...). This reference will be added into xwiki-platform-model, since it is general purpose, and since it is linked with the an avoidable change in model to add the new EntityType.BLOCK.

      A BlockReferenceResolver may resolve a reference from the referenced instance or another representation into a validated BlockReference object. It will be also defined in xwiki-platform-model without any ParametrizedType helper, and no default implementation will be provided, since the meaning of a block reference is not application wide.

      Related discussion: http://xwiki.markmail.org/thread/5fkcvulshnzihqgc

        Attachments

          Activity

            People

            • Assignee:
              softec Denis Gervalle
              Reporter:
              softec Denis Gervalle
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: