Class LinkDetail

    • Constructor Detail

      • LinkDetail

        public LinkDetail()
      • LinkDetail

        public LinkDetail​(String name,
                          String description,
                          String url,
                          boolean visible,
                          boolean popup)
      • LinkDetail

        public LinkDetail​(LinkDetail other)
        Copy constructor.
        Parameters:
        other - the instance to copy.
    • Method Detail

      • getUserId

        public String getUserId()
      • setUserId

        public void setUserId​(String userId)
      • getLinkId

        public int getLinkId()
      • setLinkId

        public void setLinkId​(int linkId)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getUrl

        public String getUrl()
      • setUrl

        public void setUrl​(String url)
      • isVisible

        public boolean isVisible()
      • setVisible

        public void setVisible​(boolean visible)
      • isPopup

        public boolean isPopup()
      • setPopup

        public void setPopup​(boolean popup)
      • getInstanceId

        public String getInstanceId()
      • setInstanceId

        public void setInstanceId​(String instanceId)
      • getObjectId

        public String getObjectId()
      • setObjectId

        public void setObjectId​(String objectId)
      • getPosition

        public int getPosition()
      • setPosition

        public void setPosition​(int position)
      • hasPosition

        public boolean hasPosition()
      • setHasPosition

        public void setHasPosition​(boolean hasPosition)
      • canBeAccessedBy

        public boolean canBeAccessedBy​(User user)
        Description copied from interface: Securable
        Checks the given user can access this resource.
        Specified by:
        canBeAccessedBy in interface Securable
        Parameters:
        user - a user in Silverpeas.
        Returns:
        true if the user can access the data managed by this instance, false otherwise.
      • canBeModifiedBy

        public boolean canBeModifiedBy​(User user)
        Description copied from interface: Securable
        Checks the given user can modify this resource. By default, if the user can access this securable resource, then it can also modify it.
        Specified by:
        canBeModifiedBy in interface Securable
        Parameters:
        user - a user in Silverpeas.
        Returns:
        true if the user can modify the data managed by this instance, false otherwise.