Class CmsWorkflowActionParams

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable

    public class CmsWorkflowActionParams
    extends java.lang.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 Detail

      • CmsWorkflowActionParams

        public CmsWorkflowActionParams​(java.util.List<CmsUUID> publishIds,
                                       java.util.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
    • Method Detail

      • getPublishIds

        public java.util.List<CmsUUIDgetPublishIds()
        Returns the publishIds.

        Returns:
        the publishIds
      • getRemoveIds

        public java.util.List<CmsUUIDgetRemoveIds()
        Returns the removeIds.

        Returns:
        the removeIds
      • getToken

        public CmsPublishListToken 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