PackageItem item = repository.loadPackageByUUID( uuid );
// the uuid passed in is the uuid of that deployment bundle, not the
// package uudi.
// we have to figure out the package name.
if ( Contexts.isSessionContextActive() ) {
Identity.instance().checkPermission( new PackageNameType( item.getName() ),
RoleTypes.PACKAGE_READONLY );
}
PackageConfigData data = new PackageConfigData();
data.uuid = item.getUUID();