Package com.emc.d2fs.interfaces

# Interface ILinkedDocumentService

All Superinterfaces:
  `ID2fsService`

public interface ILinkedDocumentService extends ID2fsService
Linked document services.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default Map<String,List<LinkInfo>>`
  `getAllLinks(Context context)`
  `List<LinkInfo>`
  `getLinkInfo(Context context, String objectId)`
  Get link informations
  `Integer`
  `getLinksCount(Context context, String objectId)`
  Get links count

  ### Methods inherited from interface com.emc.d2fs.interfaces.ID2fsService

  `isRemote, setRemote`

- ## 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.