Package com.documentum.fc.lifecycle

# Interface IDfLifecycleAction

public interface IDfLifecycleAction
Interface for a Java method implementing a system-defined action to be taken on entering a lifecycle state.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `action(IDfSysObject sysObj, String userName, String targetState, Map parameters)`
  System-defined action on an object entering a new Lifecycle state.

- ## Method Details

  - ### action

    void action(IDfSysObject sysObj, String userName, String targetState, Map parameters) throws DfException
    System-defined action on an object entering a new Lifecycle state.
    Parameters:
      `sysObj` - The object that is being moved to a new lifecycle state.
      `userName` - The name of the user who has intiated the lifecycle state change.
      `targetState` - The name of the new lifecycle state.
      `parameters` - Additional parameters required by the action.
    Throws:
      `DfException` - if the action failed to complete.