Exemplo n.º 1
0
  @Override
  public void updatePackage(Package _package) throws ProviderException, ObjectNotFoundException {

    LoggingUtil.debug(logger, "updating package.." + _package.getName());

    packageRepository.updatePackage(_package);

    LoggingUtil.debug(logger, "package updated:");
  }
Exemplo n.º 2
0
  @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;
  }