Liferay 6.2-ce-ga2

com.liferay.portal.lar
Class PermissionImporter

java.lang.Object
  extended by com.liferay.portal.lar.PermissionImporter

public class PermissionImporter
extends Object


Constructor Summary
PermissionImporter()
           
 
Method Summary
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
 

Constructor Detail

PermissionImporter

public PermissionImporter()
Method Detail

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

Liferay 6.2-ce-ga2