Interface ILinkedDocumentService

All Superinterfaces:
ID2fsService

public interface ILinkedDocumentService extends ID2fsService
Linked document services.
  • Method Details

    • getLinksCount

      Integer getLinksCount(Context context, String objectId) throws Exception
      Get links count
      Parameters:
      context - Context object containing informations about client/session
      objectId - String value of document id
      Returns:
      Integer value of count
      Throws:
      D2fsException
      DfException
      Exception
      Since:
      4.2
    • getLinkInfo

      List<LinkInfo> getLinkInfo(Context context, String objectId) throws Exception
      Get link informations
      Parameters:
      context - Context object containing informations about client/session
      objectId - String value of document id
      Returns:
      LinkInfo object as informations
      Throws:
      D2fsException
      Exception
      Since:
      4.2
    • getAllLinks

      default Map<String,List<LinkInfo>> getAllLinks(Context context) throws Exception
      Parameters:
      context - Context object containing informations about client/session
      Returns:
      LinkInfo object as informations
      Throws:
      Exception - Note: default implemetnetation just returns null. This approach is taken to make sure other classes who implment this interface do not need to implement this method.