class ProjectImportsServiceImpl extends KieService<ProjectImportsContent> implements ProjectImportsService {

    public void saveProjectImports(final Path path) {
        if (ioService.exists(Paths.convert(path))) {
            throw new FileAlreadyExistsException(path.toString());
        } else {
            ioService.write(Paths.convert(path),
                            projectConfigurationContentHandler.toString(createProjectImports()));
        }
    }

    public  ProjectImportsServiceImpl();
    @Inject public  ProjectImportsServiceImpl(final @Named("ioStrategy") IOService ioService,
                                     final ProjectConfigurationContentHandler projectConfigurationContentHandler,
                                     final RenameService renameService,
                                     final SaveAndRenameServiceImpl<ProjectImports, Metadata> saveAndRenameService);

}