Interface WelcomeStep

All Known Implementing Classes:
AbstractWelcomeStep, CompleteConfigurationStep, CompleteSiteStep, SiteWithPopulationStep, SiteWithUserStep

public interface WelcomeStep
Interface for steps to be performed after a fresh installation of Ametys has been done.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the JS actions to execute when clicking on '<a>' elements of description.
    Gets the text describing how to perform the step.
    Gets the paths of the images to insert in the '<img/>' elements of description.
    Gets the JS target ids (as regular expressions) to listen for each message type for potential changes in the steps and thus refresh the admin welcome tool.
    int
    Gets the order of the step.
    Gets the title of the step.
    boolean
    Checks if the step is performed.
    default Map<String,Object>
    Gets the representation of the step as a map.
  • Method Details

    • isPerformed

      boolean isPerformed()
      Checks if the step is performed.
      Returns:
      true if the step is performed
    • getTitle

      Gets the title of the step.
      Returns:
      The title as HTML
    • getDescription

      Gets the text describing how to perform the step.
      Returns:
      The description as HTML
    • getActions

      Gets the JS actions to execute when clicking on '<a>' elements of description.
      Returns:
      The JS actions to execute when clicking on '<a>' elements of description
    • getImages

      Gets the paths of the images to insert in the '<img/>' elements of description.
      Returns:
      The paths of the images to insert in the '<img/>' elements of description.
    • getListenedTargetIds

      Gets the JS target ids (as regular expressions) to listen for each message type for potential changes in the steps and thus refresh the admin welcome tool. For example, {"modified": ["^site$"], "deleted": ["^site$", "^user$"]}
      Returns:
      A map { messageType : [targetIds]}
    • getOrder

      int getOrder()
      Gets the order of the step.
      Returns:
      The order of the step
    • toMap

      default Map<String,Object> toMap()
      Gets the representation of the step as a map.
      Returns:
      The step as a map