Interface LinksService

  • All Known Implementing Classes:
    LinksServiceImpl

    public interface LinksService
    The Links service.
    Since:
    4.0
    Author:
    Nick Burch
    • Method Detail

      • createLink

        @NotAuditable
        LinkInfo createLink​(String siteShortName,
                            String title,
                            String description,
                            String url,
                            boolean internal)
        Creates a new LinkInfo in the given site, with the specified settings
        Returns:
        The newly created LinkInfo
      • deleteLink

        @NotAuditable
        void deleteLink​(LinkInfo link)
        Deletes an existing LinkInfo from the repository
      • listLinks

        @NotAuditable
        org.alfresco.query.PagingResults<LinkInfo> listLinks​(String siteShortName,
                                                             org.alfresco.query.PagingRequest paging)
        Retrieves all LinkInfo instances in the repository for the given site.
      • listLinks

        @NotAuditable
        org.alfresco.query.PagingResults<LinkInfo> listLinks​(String siteShortName,
                                                             String user,
                                                             org.alfresco.query.PagingRequest paging)
        Retrieves all LinkInfo instances in the repository for the given site and the specified user.
      • listLinks

        @NotAuditable
        org.alfresco.query.PagingResults<LinkInfo> listLinks​(String siteShortName,
                                                             Date from,
                                                             Date to,
                                                             org.alfresco.query.PagingRequest paging)
        Retrieves all LinkInfo instances in the repository for the given site, created in the specified date range
      • findLinks

        @NotAuditable
        org.alfresco.query.PagingResults<LinkInfo> findLinks​(String siteShortName,
                                                             String user,
                                                             Date from,
                                                             Date to,
                                                             String tag,
                                                             org.alfresco.query.PagingRequest paging)
        Finds all LinkInfo instances indexed in the repository for the given site, created by the specified user in the specified date range, with the given tag