RenderRequest request) {
List list = new ArrayList();
int sPortletCnt = 0;
Iterator iterator;
String usrPortletName = null;
PortletInfo tmpPortletInfo = null;
String portletName;
try
{
Map usrPortlet = getUserPortlet(getPage(request));
sPortletCnt = sysPortlets.size();
for (int si = 0; si < sPortletCnt; si++) {
tmpPortletInfo = (PortletInfo)((PortletInfo)sysPortlets.get(si)).clone();
portletName = tmpPortletInfo.getName();
iterator = usrPortlet.keySet().iterator();
while (iterator.hasNext()) {
usrPortletName = (String) iterator.next();
if (usrPortletName.equalsIgnoreCase(portletName)) {
tmpPortletInfo.setCount(((Integer)usrPortlet.get(usrPortletName)).intValue());
}
}
list.add(tmpPortletInfo);
tmpPortletInfo = null;
}