@Override
public List<Assignment> doPageAssignments(Application.Name applicationName, Page.Name pageName, User.ID userID,
Context context, boolean createAssignment, boolean ignoreSamplingPercent,
HttpHeaders headers, SegmentationProfile segmentationProfile,boolean forceProfileCheck) {
List<PageExperiment> pageExperimentList = getExperiments(applicationName, pageName);
Map<Experiment.ID, Boolean> allowAssignments = new HashMap<>(pageExperimentList.size());
for (PageExperiment pageExperiment : pageExperimentList) {
allowAssignments.put(pageExperiment.getId(), pageExperiment.getAllowNewAssignment());
}
ExperimentBatch experimentBatch = createExperimentBatch(segmentationProfile, null);
boolean updateDownstreamSystems = true;
List<Assignment> assignments = doAssignments(userID, applicationName, context,
createAssignment, ignoreSamplingPercent, headers, experimentBatch, pageName, allowAssignments,
updateDownstreamSystems,forceProfileCheck);
return assignments;
}