Interface I_CmsFavoriteContext

All Known Implementing Classes:
CmsExplorerFavoriteContext, CmsPageEditorFavoriteContext

public interface I_CmsFavoriteContext
Interface the favorite dialog uses to interact with the rest of the application.
  • Method Details

    • changeProject

      Change the project to one with the given id.
      Parameters:
      id - the project id
    • changeSite

      Changes current site.
      Parameters:
      option - the site selector option
    • setDialog

      void setDialog(com.vaadin.ui.Component component)
      Sets the dialog instance.

      This must be called by the favorite dialog when it is loaded.

      Parameters:
      component - the favorite dialog
    • close

      void close()
      Closes the favorite dialog.
    • getFavoriteForCurrentLocation

      Gets the favorite entry for the current location, as an Optional. If the result is empty, the current location can not be used as a favorite.
      Returns:
      an optional favorite entry
    • openFavorite

      Opens the favorite location.
      Parameters:
      entry - the favorite entry whose location should be opened