Class AccountConnectorTab

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

    public class AccountConnectorTab
    extends java.lang.Object
    implements Tab
    Represents a customized AccountConnectorTab
    • Constructor Summary

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

      • AccountConnectorTab

        public AccountConnectorTab​(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
    • Method Detail

      • getResourcePath

        public java.lang.String getResourcePath()
        Returns:
        the given resource path for this customized .xhtml
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface com.novomind.ecom.common.api.attribute.Named
      • 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
      • getDisplayName

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object