public void bindSection(SectionPart sectionPart,String id,String pageId){
  sectionParts.put(id,sectionPart);
  pageForSection.put(id,pageId);
  Vector<String> sectionIds=sectionsForPage.get(pageId);
  if (sectionIds == null) {
    sectionIds=new Vector<String>();
    sectionsForPage.put(pageId,sectionIds);
  }
  sectionIds.add(id);
}

public void bindSection ( SectionPart sectionPart , String id , String pageId ) { sectionParts . put ( id , sectionPart ) ; pageForSection . put ( id , pageId ) ; Vector < String > sectionIds = sectionsForPage . get ( pageId ) ; if ( sectionIds == null ) { sectionIds = new Vector < String > ( ) ; sectionsForPage . put ( pageId , sectionIds ) ; } sectionIds . add ( id ) ; }
adds a section to the manager
