Class MyLinkEntity

  • All Implemented Interfaces:
    Serializable, WebEntity

    public class MyLinkEntity
    extends Object
    implements WebEntity
    The mylink entity is a mylink object that is exposed in the web as an entity (web entity). As such, it publishes only some of its attributes. It represents a user favorite link in Silverpeas
    See Also:
    Serialized Form
    • Constructor Detail

      • MyLinkEntity

        protected MyLinkEntity()
        Default constructor
      • MyLinkEntity

        public MyLinkEntity​(LinkDetail link,
                            URI uri)
        Constructor using linkDetail and uri
        Parameters:
        link - the link detail
        uri - an URI
    • Method Detail

      • getURI

        public URI getURI()
        Description copied from interface: WebEntity
        Gets the URI at which this web entity is published and can be accessed.
        Specified by:
        getURI in interface WebEntity
        Returns:
        the web entity URI.
      • getLinkId

        public int getLinkId()
        Returns:
        the linkId
      • getName

        public String getName()
        Returns:
        the name
      • getDescription

        public String getDescription()
        Returns:
        the description
      • getUrl

        public String getUrl()
        Returns:
        the url
      • isVisible

        public boolean isVisible()
        Returns:
        the visible
      • isPopup

        public boolean isPopup()
        Returns:
        the popup
      • getUserId

        public String getUserId()
        Returns:
        the userId
      • getInstanceId

        public String getInstanceId()
        Returns:
        the instanceId
      • getObjectId

        public String getObjectId()
        Returns:
        the objectId
      • getPosition

        public int getPosition()
        Returns:
        the position of the object in the list
      • getCategoryId

        public Integer getCategoryId()
        Returns:
        the optional category identifier the link is associated to.