Package com.emc.d2fs.interfaces

# Interface IVDTemplateService

All Superinterfaces:
  `ID2fsService`

public interface IVDTemplateService extends ID2fsService
Virtual document template management services.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<String>`
  `getTemplates(Context context, String id)`
  Get all available templates fro specified virtual document
  `boolean`
  `setTemplate(Context context, String id, String templateName)`
  Set template to virtual document

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

  `isRemote, setRemote`

- ## Method Details

  - ### setTemplate

    boolean setTemplate(Context context, String id, String templateName) throws D2fsException
    Set template to virtual document
    Parameters:
      `context` - `Context` object containing informations about client/session
      `id` - String value of document id
      `templateName` - String value of template name
    Returns:
      true if process performs without error
    Throws:
      `D2fsException`
    Since:
      4.0.1

  - ### getTemplates

    List<String> getTemplates(Context context, String id) throws D2fsException
    Get all available templates fro specified virtual document
    Parameters:
      `context` - `Context` object containing informations about client/session
      `id` - String value of document id
    Returns:
      String list of template names
    Throws:
      `D2fsException`
    Since:
      4.0.1