[Oracle ADF] Получить программно TaskFlow

1
2
3
4
5
6
7
8
9
10
public static DCTaskFlowBinding getTaskFlow(String taskFlowName) {  

    BindingContext bindingCtx = BindingContext.getCurrent();  

    DCBindingContainer dcbCon = (DCBindingContainer)bindingCtx.getCurrentBindingsEntry();  

    DCTaskFlowBinding taskFlow = (DCTaskFlowBinding)dcbCon.findExecutableBinding(taskFlowName);  

    return taskFlow;  
  }  


http://mahmoudoracle.blogspot.ru/2012/12/controlling-taskflow-programatically.html