Liferay 6.2-ce-ga5

com.liferay.portal.lar
Class PermissionExporter

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

public class PermissionExporter
extends Object


Field Summary
static String ROLE_TEAM_PREFIX
           
 
Constructor Summary
PermissionExporter()
           
 
Method Summary
protected  void exportPermissions(LayoutCache layoutCache, long companyId, long groupId, String resourceName, String resourcePrimKey, Element permissionsElement, boolean portletActions)
           
protected  void exportPortletDataPermissions(PortletDataContext portletDataContext)
           
protected  void exportPortletPermissions(PortletDataContext portletDataContext, LayoutCache layoutCache, String portletId, Layout layout, Element portletElement)
           
protected  Element exportRoles(long companyId, String resourceName, int scope, String resourcePrimKey, Element parentElement, String elName, List<Role> roles)
           
protected  void exportUserRoles(LayoutCache layoutCache, long companyId, long groupId, String resourceName, Element parentElement)
           
protected  boolean hasRole(List<Role> roles, String roleName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE_TEAM_PREFIX

public static final String ROLE_TEAM_PREFIX
See Also:
Constant Field Values
Constructor Detail

PermissionExporter

public PermissionExporter()
Method Detail

exportPermissions

protected void exportPermissions(LayoutCache layoutCache,
                                 long companyId,
                                 long groupId,
                                 String resourceName,
                                 String resourcePrimKey,
                                 Element permissionsElement,
                                 boolean portletActions)
                          throws Exception
Throws:
Exception

exportPortletDataPermissions

protected void exportPortletDataPermissions(PortletDataContext portletDataContext)
                                     throws Exception
Throws:
Exception

exportPortletPermissions

protected void exportPortletPermissions(PortletDataContext portletDataContext,
                                        LayoutCache layoutCache,
                                        String portletId,
                                        Layout layout,
                                        Element portletElement)
                                 throws Exception
Throws:
Exception

exportRoles

protected Element exportRoles(long companyId,
                              String resourceName,
                              int scope,
                              String resourcePrimKey,
                              Element parentElement,
                              String elName,
                              List<Role> roles)
                       throws Exception
Throws:
Exception

exportUserRoles

protected void exportUserRoles(LayoutCache layoutCache,
                               long companyId,
                               long groupId,
                               String resourceName,
                               Element parentElement)
                        throws Exception
Throws:
Exception

hasRole

protected boolean hasRole(List<Role> roles,
                          String roleName)

Liferay 6.2-ce-ga5