Interface ViewProfilePanel

All Known Implementing Classes:
DarkFeaturesUserProfilePanel, DefaultProfilePanel, ReferenceViewProfileTabPanel, SummaryUserProfilePanel

@PublicSpi public interface ViewProfilePanel
Defines a "panel" of content that will be displayed on the view profile page, in the center. These panels will be groups by named "tabs".
Since:
v3.12
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The default velocity template name that is used to render the view.
  • Method Summary

    Modifier and Type
    Method
    Description
    getHtml(ApplicationUser profileUser)
    Renders the html to be used in this profile panel.
    void
    This method is called on plugin initialization and provides the module with a reference to the parent module descriptor.
  • Field Details

    • VIEW_TEMPLATE

      static final String VIEW_TEMPLATE
      The default velocity template name that is used to render the view.
      See Also:
  • Method Details

    • init

      void init(ViewProfilePanelModuleDescriptor moduleDescriptor)
      This method is called on plugin initialization and provides the module with a reference to the parent module descriptor.
      Parameters:
      moduleDescriptor - the controlling class that doles out this module.
    • getHtml

      String getHtml(ApplicationUser profileUser)
      Renders the html to be used in this profile panel.
      Parameters:
      profileUser - The user whose profile is being viewed. May be null.
      Returns:
      the html content.