Details
-
New Feature
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
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