// Going forward, we'll need to create this earlier and store the user entered configuration in these
// objects. jdobies, Mar 3, 2008
// The following code is completely unnecessary as the package version ids are already
// stored in session.
ContentUIManagerLocal contentUIManager = LookupUtil.getContentUIManager();
int[] packagesVersionsIdsToDeploy = new int[packageIds.length];
for (int iterator = 0; iterator < packageIds.length; iterator++) {
PackageVersion packageVersion = contentUIManager.getPackageVersion(packageIds[iterator]);
packagesVersionsIdsToDeploy[iterator] = packageVersion.getId();
}
Subject subject = EnterpriseFacesContextUtility.getSubject();
Resource resource = EnterpriseFacesContextUtility.getResource();