tableName = "JETSPEED_USER_PROFILE";
records = new JetspeedUserProfilePeer().select(locator, dbCon);
Iterator iterator = records.iterator();
while (iterator.hasNext())
{
JetspeedUserProfile uprofile =
(JetspeedUserProfile)iterator.next();
page = uprofile.getPage();
portlets = DBUtils.bytesToPortlets(uprofile.getProfile(), this.mapping);
}
}
else if (role != null)
{
tableName = "JETSPEED_ROLE_PROFILE";