Package com.emc.d2fs.interfaces

# Interface IActionService

All Superinterfaces:
  `ID2fsService`

public interface IActionService extends ID2fsService
Action Service provides access to IPluginActions

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<Attribute>`
  `handlePluginAction(Context context, List<Attribute> parameters)`
  Handle action allows to generically call a specific method of a IPluginAction's implementation for some custom method having the following signature: public List method(Context);
  `void`
  `setBaseUrl(String url)`
  Set server base url used to build the url for `handlePluginAction`

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

  `isRemote, setRemote`

- ## Method Details

  - ### handlePluginAction

    List<Attribute> handlePluginAction(Context context, List<Attribute> parameters) throws Exception
    Handle action allows to generically call a specific method of a IPluginAction's implementation for some custom method having the following signature: public List method(Context);
    Parameters:
      `context` - `Context` object containing informations about client/session
      `parameters` - `Attribute` list of parameters.
      - eService: DF_STRING, Name of service.
      - eMethod: DF_STRING. Name of method to execute.
    Returns:
      Attribute list so Plugin can change initial parameter's input or add new attributes
    Throws:
      `Exception`
    Since:
      4.0.1

  - ### setBaseUrl

    void setBaseUrl(String url)
    Set server base url used to build the url for `handlePluginAction`
    Parameters:
      `url` - String value of base url
    Since:
      4.2.1