Interface LinkManager

  • All Known Implementing Classes:
    DefaultLinkManager

    @Transactional
    public interface LinkManager
    • Method Detail

      • saveLink

        void saveLink​(OutgoingLink link)
        Save an internal link
      • removeLink

        void removeLink​(OutgoingLink link)
        Remove an internal link
      • getIncomingLinksToContent

        @Transactional(readOnly=true)
        List getIncomingLinksToContent​(ContentEntityObject content)
      • countPagesWithIncomingLinks

        @Transactional(readOnly=true)
        int countPagesWithIncomingLinks​(SpaceContentEntityObject rootPage)
        Get the number of pages in a page hierarchy that have incoming links. Note that this excludes links within the hierarchy.
        Parameters:
        rootPage - the root page of the hierarchy. Links to this page are also counted.
        Returns:
        The number of pages in the hierarchy that have incoming links, excluding links within the hierarchy.
        Since:
        6.0
      • removeCorruptOutgoingLinks

        void removeCorruptOutgoingLinks()