class WorkflowList extends AbstractCollection<Workflow> implements ComponentLifecycle, ComponentLifecycleExtension, List<Workflow> {

  @Override
  public boolean addAll(int index, Collection<? extends Workflow> c) {
    for (Workflow w : c) {
      register(w);
    }
    return workflows.addAll(index, c);
  }

  public  WorkflowList();
  public  WorkflowList(Collection<Workflow> workflows);

}