Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-14556

Backport 14.6: Support Campaign workflow on documents

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 14.6.0
    • None
    • None
    • 1
    • Quasar
    • Puma Sprint 258, Puma Sprint 259, Puma Sprint 260

    Description

      See https://docs.google.com/document/d/1BGThfhu-X2Ls_GaPr9CcRPOY2jxMybfN8YZyU373uv8

      We need workflow support to set campaign info, something like:

      /**
      * <p>
      *     Marks a specific version from version history to be the live version between the dates {@code from} and
      *     {@code to}. If there is no frozen node for {@code uuid}, {@link WorkflowException} will be thrown.
      *     If the version to set as live campaign does not match {@code branchId}, a WorkflowException will be thrown
      * </p>
      * @param frozenNodeUUID the uuid of the versioned JCR Node
      * @param branchId the branchId the versioned JCR Node must be for
      * @param from the date from which on this version must be served instead of published workspace version
      * @param to the date until which on this version must be served instead of published workspace version
      * @return the Document for {@code frozenNodeUUID}
      */
      @WorkflowAction(CAMPAIGN)
      Document campaign(String frozenNodeId, String branchId, Calendar from, Calendar to)
             throws WorkflowException, RepositoryException, RemoteException;
      
      @WorkflowAction(REMOVE_CAMPAIGN)
      Document removeCampaign(String frozenNodeId)
             throws WorkflowException, RepositoryException, RemoteException;
      

      Note for 14.6, no scxml changes are allowed

      Attachments

        Activity

          People

            Unassigned Unassigned
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: