This commit is contained in:
Lucio Lelii 2009-09-30 16:34:52 +00:00
parent bb7fed3ddc
commit 4b0fd933e3
1 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ public class FunctionalityHandler implements ResourceHandler<KGCUBEGenericFuncti
psFunctionality.setInt(5, 0);
psFunctionality.execute();
for (Service service: functionality.getServices()){
psServices.setInt(1, id);
psServices.setInt(1,rootFunctionalityId);
psServices.setString(2, service.getServiceName());
psServices.setString(3, service.getServiceClass());
psServices.setString(4, "1.00.00");
@ -99,7 +99,7 @@ public class FunctionalityHandler implements ResourceHandler<KGCUBEGenericFuncti
}
for (String portlet: functionality.getPortlets()){
psPortlets.setInt(1, id);
psPortlets.setInt(1, rootFunctionalityId);
psPortlets.setString(2, portlet);
psPortlets.execute();
}