Class CmsWorkflowActionParams

java.lang.Object
org.opencms.ade.publish.shared.CmsWorkflowActionParams
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsWorkflowActionParams extends Object implements com.google.gwt.user.client.rpc.IsSerializable
Contains the data on which a workflow action should act (usually, a list of resources).

  • Constructor Details

    • CmsWorkflowActionParams

      Creates a new instance based on a publish list token.

      Parameters:
      token - the publish list token
    • CmsWorkflowActionParams

      public CmsWorkflowActionParams(List<CmsUUID> publishIds, List<CmsUUID> removeIds)
      Creates a new instance based on lists of resources.

      Parameters:
      publishIds - the list of structure ids of resources to publish
      removeIds - the list of structure ids of resources to remove
    • CmsWorkflowActionParams

      Default constructor for serialization.

  • Method Details

    • getPublishIds

      Returns the publishIds.

      Returns:
      the publishIds
    • getRemoveIds

      Returns the removeIds.

      Returns:
      the removeIds
    • getToken

      Gets the publish list token, if it is set, else returns null.

      The publish list token is a bean which can be used to reconstruct a publish list on the server side. It is used instead of sending the list of resources when that list is deemed to long to be displayed.

      Returns:
      the publish list token