Interface PreviewableView<V extends PreviewableView<V>>

All Superinterfaces:
Comparable<V>, Component<V>, Copyable<V>, Serializable, Trackable<V>, View<V>
All Known Subinterfaces:
TreeView<V>, UpdateEntityView<V>
All Known Implementing Classes:
DefaultTreeView, DefaultUpdateEntityLongFormView, DefaultUpdateEntityView

public interface PreviewableView<V extends PreviewableView<V>> extends Trackable<V>, View<V>
Represents the metadata for a trackable view that supports previewing sandbox data.
Author:
Nick Crum (ncrum)
  • Method Details

    • previewPath

      default V previewPath(String previewPathTemplate)
      Configures this view to support previewing sandbox data at the provided path. This method will configure this view to redirect to the application given the provided preview path template.

      Supports a template URL path, for example: "/products/${id}"

      Parameters:
      previewPathTemplate - the template preview path string
      Returns:
      this
    • removePreviewPath

      default V removePreviewPath()
      If the preview path was set, this will remove it.
      Returns:
      this