else {
layouts = LayoutLocalServiceUtil.getLayouts(
groupId, privateLayout, layoutIds);
}
Layout firstLayout = layouts.get(0);
<BUG>List<Portlet> portlets = getAlwaysExportablePortlets(

context.getCompanyId());</BUG>
for (Portlet portlet : portlets) {
String portletId = portlet.getRootPortletId();

else {
layouts = LayoutLocalServiceUtil.getLayouts(
groupId, privateLayout, layoutIds);
}
Layout firstLayout = layouts.get(0);
List<Portlet> portlets = getAlwaysExportablePortlets(companyId);
for (Portlet portlet : portlets) {
String portletId = portlet.getRootPortletId();
