@Override public Package findPackageById(String id) throws ProviderException, ObjectNotFoundException { LoggingUtil.debug(logger, "finding package by id:" + id); Package _package = packageRepository.findPackageById(id); LoggingUtil.debug(logger, "package found" + _package.toString()); return _package; }
@Override public void updatePackage(Package _package) throws ProviderException, ObjectNotFoundException { LoggingUtil.debug(logger, "updating package.." + _package.getName()); packageRepository.updatePackage(_package); LoggingUtil.debug(logger, "package updated:"); }
@Override public String createPackage(Package _package) throws ProviderException, ObjectExistsException { LoggingUtil.debug(logger, "creating package.." + _package.getName()); String packageId = packageRepository.createPackage(_package); LoggingUtil.debug(logger, "package created with Id:" + packageId); return packageId; }