@Test public void listComponentsWithFramework() { }
public List<Component> listComponentsWithFramework(String framework) { return componentDao.findAllWithFramework(framework); }
ComponentService { public List<Component> listComponentsWithFramework(String framework) { return componentDao.findAllWithFramework(framework); } }
ComponentService { public List<Component> listComponentsWithFramework(String framework) { return componentDao.findAllWithFramework(framework); } @Inject  ComponentService(ComponentDao componentDao, FileService fileService); }
ComponentService { public List<Component> listComponentsWithFramework(String framework) { return componentDao.findAllWithFramework(framework); } @Inject  ComponentService(ComponentDao componentDao, FileService fileService); List<Component> listComponents(String visbility); List<Component> listComponentsWithFramework(String framework); Component addComponent(Component component); Component getComponent(String componentId); Component getComponent(String framework, String name); boolean hasComponent(String framework, String name); void deleteComponent(String componentId); void updateComponent(String componentId, Component component); byte[] getComponentIcon(String componentId); byte[] getComponentIcon(String framework, String name); }
ComponentService { public List<Component> listComponentsWithFramework(String framework) { return componentDao.findAllWithFramework(framework); } @Inject  ComponentService(ComponentDao componentDao, FileService fileService); List<Component> listComponents(String visbility); List<Component> listComponentsWithFramework(String framework); Component addComponent(Component component); Component getComponent(String componentId); Component getComponent(String framework, String name); boolean hasComponent(String framework, String name); void deleteComponent(String componentId); void updateComponent(String componentId, Component component); byte[] getComponentIcon(String componentId); byte[] getComponentIcon(String framework, String name);  }