Class LoginProviderLink

java.lang.Object
org.nuxeo.ecm.platform.ui.web.auth.service.LoginProviderLink
All Implemented Interfaces:
Descriptor

public class LoginProviderLink extends Object implements Descriptor
Since:
5.7
Author:
Tiry
  • Field Details

  • Constructor Details

  • Method Details

    • getId

      public String getId()
      Description copied from interface: Descriptor
      The descriptor id, descriptors with same id are merged.

      To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

      To forbid merge use a unique value, non-overriden toString() for exemple.

      Specified by:
      getId in interface Descriptor
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getIconPath

      public String getIconPath()
    • setIconPath

      public void setIconPath(String iconPath)
    • getLink

      public String getLink(jakarta.servlet.http.HttpServletRequest req, String requestedUrl)
    • setLink

      public void setLink(String link)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getLabel

      public String getLabel()
    • getLink

      public String getLink()
    • merge

      public LoginProviderLink merge(Descriptor o)
      Description copied from interface: Descriptor
      Returns a descriptor representing other merged into this

      Default implementation returns other.

      Specified by:
      merge in interface Descriptor
      Returns:
      the merged descriptor
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object