Package com.emc.d2fs.interfaces

# Interface IFavoritesService

All Superinterfaces:
  `ID2fsService`

public interface IFavoritesService extends ID2fsService
Favorite documents management services.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `addToFavorites(Context context, List<String> ids)`
  Add multiple documents to favorite category
  `boolean`
  `removeFromFavorites(Context context, List<String> ids)`
  Remove multiple documents from favorite category

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

  `isRemote, setRemote`

- ## Method Details

  - ### addToFavorites

    boolean addToFavorites(Context context, List<String> ids) throws Exception
    Add multiple documents to favorite category
    Parameters:
      `context` - `Context` object containing informations about client/session
      `ids` - String list of document id
    Returns:
      true if process performs without error
    Throws:
      `Exception`
    Since:
      4.0.1

  - ### removeFromFavorites

    boolean removeFromFavorites(Context context, List<String> ids) throws Exception
    Remove multiple documents from favorite category
    Parameters:
      `context` - `Context` object containing informations about client/session
      `ids` - String list of document id
    Returns:
      true if process performs without error
    Throws:
      `Exception`
    Since:
      4.0.1