com.liferay.portal.lar
Class PermissionImporter
java.lang.Object
com.liferay.portal.lar.PermissionImporter
public class PermissionImporter
- extends Object
Method Summary |
protected Role |
checkRole(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
Element roleElement)
|
protected void |
checkRoles(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
Element portletElement)
|
protected List<String> |
getActions(Element element)
|
protected void |
importPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
Layout layout,
String resourceName,
String resourcePrimKey,
Element permissionsElement,
boolean portletActions)
|
protected void |
importPortletPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
Layout layout,
Element portletElement,
String portletId)
|
protected void |
readPortletDataPermissions(PortletDataContext portletDataContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermissionImporter
public PermissionImporter()
checkRole
protected Role checkRole(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
Element roleElement)
throws Exception
- Throws:
Exception
checkRoles
protected void checkRoles(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
Element portletElement)
throws Exception
- Throws:
Exception
getActions
protected List<String> getActions(Element element)
importPermissions
protected void importPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
Layout layout,
String resourceName,
String resourcePrimKey,
Element permissionsElement,
boolean portletActions)
throws Exception
- Throws:
Exception
importPortletPermissions
protected void importPortletPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
Layout layout,
Element portletElement,
String portletId)
throws Exception
- Throws:
Exception
readPortletDataPermissions
protected void readPortletDataPermissions(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception