java.lang.Object
com.appiancorp.suiteapi.portal.portlets.links.Link
All Implemented Interfaces:
DeepCloneable, Serializable, Cloneable
Direct Known Subclasses:
GroupMessageLink, LeaderMessageLink

@Deprecated public class Link extends Object implements Serializable, DeepCloneable
Deprecated.
The Portal functionality will be removed in a future release. Use the Tempo Interface for similar functionality.
This class represents a link which provides access either to a first-class object within the application, or to a url or address. If a link is intended to access a url or address, then the url field should be populated; if a link is intended to access a suite first-class object, then the linkTarget field should be populated
See Also:
  • Field Details

    • LOG

      protected static final org.apache.log4j.Logger LOG
      Deprecated.
  • Constructor Details

    • Link

      public Link()
      Deprecated.
  • Method Details

    • clone

      public Object clone()
      Deprecated.
      Creates and returns a copy of this object.
      Specified by:
      clone in interface DeepCloneable
      Overrides:
      clone in class Object
      Returns:
    • getDescription

      public String getDescription()
      Deprecated.
      Get the link description.
      Returns:
      The description.
    • setDescription

      public void setDescription(String description_)
      Deprecated.
      Set the link description.
      Parameters:
      description_ - The description.
    • getId

      public Long getId()
      Deprecated.
      Get the link id.
      Returns:
      The link id.
    • setId

      public void setId(Long id_)
      Deprecated.
      Set the link id.
      Parameters:
      id_ - The link id.
    • getLinkTarget

      public LocalObject getLinkTarget()
      Deprecated.
      Get the link's target LocalObject. If the link is a link to a first-class object in the suite, then this field is used instead of url.
    • setLinkTarget

      public void setLinkTarget(LocalObject linkTarget_)
      Deprecated.
      Set the link's target LocalObject. If the link is a link to a first-class object in the suite, then this field is used instead of url.
      Parameters:
      linkTarget_ - The link target.
    • getLinkType

      public LinkType getLinkType()
      Deprecated.
      Get the link's link type.
      Returns:
      The link type
    • setLinkType

      public void setLinkType(LinkType linkType_)
      Deprecated.
      Set the link's link type.
      Parameters:
      linkType_ - The link type
    • getName

      public String getName()
      Deprecated.
      Get the name of the link.
      Returns:
      The name.
    • setName

      public void setName(String name_)
      Deprecated.
      Set the name of the link.
      Parameters:
      name_ - The name.
    • isNewWindow

      public boolean isNewWindow()
      Deprecated.
      Determine whether the link should open in a new window.
      Returns:
      true if the link will open in a new window; false if not.
    • setNewWindow

      public void setNewWindow(boolean newWindow_)
      Deprecated.
      Set whether the link should open in a new window.
      Parameters:
      newWindow_ - Set to true to have the link open in a new window; false to not.
    • getUrl

      public String getUrl()
      Deprecated.
      Get the link's url. Only one of the properties url and linkTarget will be used.
      Returns:
      The url.
    • setUrl

      public void setUrl(String url_)
      Deprecated.
      Set the link's url. Only one of the properties url and linkTarget will be used.
      Parameters:
      url_ - The url.
    • getLinkTypeId

      public Long getLinkTypeId()
      Deprecated.
      Returns:
      Returns the linkTypeId.
    • setLinkTypeId

      public void setLinkTypeId(Long linkTypeId_)
      Deprecated.
      Parameters:
      linkTypeId_ - The linkTypeId to set.
    • equals

      public boolean equals(Object obj_)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object