// Set this subset's parent Portlets collection.
subset.setParentPortlets(portlets);
Map constraints = getParameters(subset.getLayout());
int position = getPosition(subset.getLayout());
set.addPortlet(
getSet(subset, theCount),
controller.getConstraints(constraints),
position);
}