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

getListValues and getMapValues in PropertyClass api

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.2, 1.9 M2
    • Component/s: {Unused} APIs
    • Labels:
      None
    • keywords:
      patch
    • Similar issues:

      Description

      We need an api in PropertyClass to access the possible list of values in a StaticListClass or DBListClass.
      I propose to implement this in com.xpn.xwiki.api.PropertyClass and the function would return null if the field is not a ListClass field

        Attachments

          Activity

            People

            Assignee:
            sdumitriu Sergiu Dumitriu
            Reporter:
            ludovic Ludovic Dubost
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: