private LdapStructurePageChain(Wizard wizard, LdapStructure toModify, SourceTarget st, EntityExplorerSupport support) {
boolean isSource = (st == SourceTarget.Source);
locationSelectionPage = isSource ? new LdapSourceSelectionPage(wizard, support) :
new LdapTargetSelectionPage(wizard, support);
LdapStructureServerCache ldapCache = getLdapCache();
classSelectionPage = new ObjectClassSelectionPage(wizard);
classSelectionPage.setLdapCache(ldapCache);
ClassStructureReviewModel model = new ClassStructureReviewModel(st, toModify, ldapCache);
structureReviewPage = new ClassStructureReviewPage(wizard, model);
searchParamsPage = isSource ? new SearchParametersDefinitionPage(wizard) : null;