@Override
protected String doExportData(
PortletDataContext portletDataContext, String portletId,
PortletPreferences portletPreferences)
throws Exception {
<BUG>Group globalScopeGroup = GroupLocalServiceUtil.getCompanyGroup(
portletDataContext.getCompanyId());
long globalScopeGroupId = globalScopeGroup.getGroupId();</BUG>
portletDataContext.addPermissions(
<BUG>_PERMISSION_NAMESPACE,
portletDataContext.getScopeGroupId());</BUG>
Document document = SAXReaderUtil.createDocument();

@Override
public boolean isAlwaysStaged() {
return _ALWAYS_STAGED;
}
@Override
