Interface IViewerUtils


public interface IViewerUtils
IViewerUtils Use this utils to load the viewer in easysite context and create viewer links
  • Method Details

    • loadViewer

      void loadViewer(String viewerId, ViewerViewableManagerType viewableManagerType)
      Load the Viewer
      Parameters:
      viewerId - the viewer id
      viewableManagerType - the viewable manager type
    • buildViewerLink

      String buildViewerLink(String viewerId, String uri, String fileName, Collection<String> siblings)
      Build Viewer Link
      Parameters:
      viewerId - the viewerId
      uri - the uri
      fileName - the fileName
      siblings - the siblings
      Returns:
      the link