Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9118

Allow version selection and action contribution to the Archived versions sub-tab

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5
    • Fix Version/s: 5.6-RC1, 5.6
    • Component/s: Seam / JSF UI
    • Tags:
    • Backlog priority:
      350
    • Impact type:
      API change, API added
    • Upgrade notes:
      Hide
      • VersionedActions: change List<VersionModel> getVersionList() to List<PageSelection<VersionModel>> getVersionList(), add #getCanRemoveSelectedArchivedVersions(), add #removeSelectedArchivedVersions(), add #restoreToVersion(), add #viewArchivedVersion(), add #getSelectedVersionId(), add #setSelectedVersionId(String selectedVersionId)
      • VersionedActionsBean: change List<VersionModel> versionModelList to List<PageSelection<VersionModel>> versionModelList, add #documentsListsManager
      • documentslists-contrib.xml: add CURRENT_SELECTION_VERSIONS
      • DocumentListingActionsBean: add #documentManager, add #checkCurrentDocAndProcessVersionSelectRow
      • ConversationDocumentsListsManager: add #refreshListsOnDocumentSelectionChanged, add #refreshLists(String eventName, DocumentModel selectedDocument)
      • DocumentsListsManager: add #CURRENT_VERSION_SELECTION
      Show
      VersionedActions: change List<VersionModel> getVersionList() to List<PageSelection<VersionModel>> getVersionList(), add #getCanRemoveSelectedArchivedVersions(), add #removeSelectedArchivedVersions(), add #restoreToVersion(), add #viewArchivedVersion(), add #getSelectedVersionId(), add #setSelectedVersionId(String selectedVersionId) VersionedActionsBean: change List<VersionModel> versionModelList to List<PageSelection<VersionModel>> versionModelList, add #documentsListsManager documentslists-contrib.xml: add CURRENT_SELECTION_VERSIONS DocumentListingActionsBean: add #documentManager, add #checkCurrentDocAndProcessVersionSelectRow ConversationDocumentsListsManager: add #refreshListsOnDocumentSelectionChanged, add #refreshLists(String eventName, DocumentModel selectedDocument) DocumentsListsManager: add #CURRENT_VERSION_SELECTION

      Description

      On the Archived versions sub-tab, we need to be able to select versions and to apply contributed actions to the selected versions (mass actions).
      We also need to be able to contribute actions available for each version item (for example View archived version).
      This implies:

      • Having a CURRENT_SELECTION_VERSIONS documents list.
      • Using the PageSelection<VersionModel> type for the version items, so they can be selected.
      • Contributing the actions available for the CURRENT_VERSION_SELECTION_LIST category (for now only Delete).
      • Contributing the actions available for the VERSION_LIST_ITEM category (for now only Restore and View archived version).
      • Updating the XHTML template to:
        • Have a checkbox for each version item.
        • Display the actions of the CURRENT_VERSION_SELECTION_LIST category below the version table.
        • Display the actions of the VERSION_LIST_ITEM category next to each version item.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours Time Not Required
                  1d 4h