protected void refreshFragmentMap() throws PortalException {
Collection fragmentIds = getFragments();
fragments = new HashMap();
for (Iterator ids = fragmentIds.iterator(); ids.hasNext(); ) {
String fragmentId = (String) ids.next();
ILayoutFragment layoutFragment = alm.getFragment(fragmentId);
if (layoutFragment == null || !(layoutFragment instanceof ALFragment))
throw new PortalException("The fragment must be "+ALFragment.class.getName()+" type!");
fragments.put(fragmentId,layoutFragment);
}
}