public class PermissionImporter
extends java.lang.Object
| Constructor and Description |
|---|
PermissionImporter() |
| Modifier and Type | Method and Description |
|---|---|
protected com.liferay.portal.model.Role |
checkRole(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
com.liferay.portal.kernel.xml.Element roleElement) |
protected void |
checkRoles(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
com.liferay.portal.kernel.xml.Element portletElement) |
protected java.util.List<java.lang.String> |
getActions(com.liferay.portal.kernel.xml.Element element) |
protected void |
importPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
com.liferay.portal.model.Layout layout,
java.lang.String resourceName,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element permissionsElement,
boolean portletActions) |
protected void |
importPortletPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
com.liferay.portal.model.Layout layout,
com.liferay.portal.kernel.xml.Element portletElement,
java.lang.String portletId) |
protected void |
readPortletDataPermissions(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext) |
protected com.liferay.portal.model.Role checkRole(LayoutCache layoutCache, long companyId, long groupId, long userId, com.liferay.portal.kernel.xml.Element roleElement) throws java.lang.Exception
java.lang.Exceptionprotected void checkRoles(LayoutCache layoutCache, long companyId, long groupId, long userId, com.liferay.portal.kernel.xml.Element portletElement) throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<java.lang.String> getActions(com.liferay.portal.kernel.xml.Element element)
protected void importPermissions(LayoutCache layoutCache, long companyId, long groupId, long userId, com.liferay.portal.model.Layout layout, java.lang.String resourceName, java.lang.String resourcePrimKey, com.liferay.portal.kernel.xml.Element permissionsElement, boolean portletActions) throws java.lang.Exception
java.lang.Exceptionprotected void importPortletPermissions(LayoutCache layoutCache, long companyId, long groupId, long userId, com.liferay.portal.model.Layout layout, com.liferay.portal.kernel.xml.Element portletElement, java.lang.String portletId) throws java.lang.Exception
java.lang.Exceptionprotected void readPortletDataPermissions(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext)
throws java.lang.Exception
java.lang.Exception