Class UserConfigTab

  • All Implemented Interfaces:
    Tab, com.novomind.ecom.common.api.attribute.DisplayNamed, com.novomind.ecom.common.api.attribute.Named

    public final class UserConfigTab
    extends java.lang.Object
    implements Tab
    Since:
    11.2
    • Constructor Summary

      Constructors 
      Constructor Description
      UserConfigTab​(java.lang.String name, java.lang.String displayName, java.lang.String resourcePath)
      The path of the customized .xhtml must be inside 'META-INF/views'.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDisplayName()  
      java.lang.String getName()  
      java.lang.String getUrl()
      The URL of the tab's content
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UserConfigTab

        public UserConfigTab​(java.lang.String name,
                             java.lang.String displayName,
                             java.lang.String resourcePath)
        The path of the customized .xhtml must be inside 'META-INF/views'. e.g path for META-INF/views/content/content.xhtml must be "/content/content.xhtml"
        Parameters:
        name - the unique name of the tab
        displayName - the name to be displayed at the top of the tab
        resourcePath - for the customized resource (.xhtml) with leading slash
        Since:
        11.2
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface com.novomind.ecom.common.api.attribute.Named
        Since:
        11.2
      • getDisplayName

        public java.lang.String getDisplayName()
        Specified by:
        getDisplayName in interface com.novomind.ecom.common.api.attribute.DisplayNamed
        Since:
        11.2
      • getUrl

        public java.lang.String getUrl()
        Description copied from interface: Tab
        The URL of the tab's content
        Specified by:
        getUrl in interface Tab
        Returns:
        the URL as String
        Since:
        11.2
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Since:
        11.2