Class PlaceholderProjectContextChangedEvent

  • All Implemented Interfaces:
    Serializable

    public class PlaceholderProjectContextChangedEvent
    extends Object
    implements Serializable
    Event data that may be used when the selected project for the placeholder dialog has changed. Makes the placeholder dialog display the form field for that project.
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • PlaceholderProjectContextChangedEvent

        public PlaceholderProjectContextChangedEvent​(Projekt project,
                                                     FormVersion formVersion,
                                                     WorkflowVersion workflowVersion)
        Creates a new event for a context change to the given project with the given form and workflow version, which may not be equal to the active version.
        Parameters:
        project - New project context.
        formVersion - Form version that is being edited.
        workflowVersion - Workflow version that is being edited.
    • Method Detail

      • getFormVersion

        public FormVersion getFormVersion()
        Returns:
        The form version of the newly selected project.
      • getProject

        public Projekt getProject()
        Returns:
        The project that was selected and for which the available form placeholders should be shown.
      • getWorkflowVersion

        public WorkflowVersion getWorkflowVersion()
        Returns:
        The workflow version of the newly selected proect.