com.liferay.portal.lar
Class PermissionExporter
java.lang.Object
com.liferay.portal.lar.PermissionExporter
public class PermissionExporter
- extends Object
Method Summary |
protected Element |
exportGroupPermissions(long companyId,
long groupId,
String resourceName,
String resourcePrimKey,
Element parentElement,
String elementName)
|
protected void |
exportGroupRoles(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String entityName,
Element parentElement)
|
protected void |
exportInheritedPermissions(LayoutCache layoutCache,
long companyId,
String resourceName,
String resourcePrimKey,
Element parentElement,
String entityName)
|
protected void |
exportInheritedRoles(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String entityName,
Element parentElement)
|
protected void |
exportLayoutPermissions(PortletDataContext portletDataContext,
LayoutCache layoutCache,
long companyId,
long groupId,
Layout layout,
Element layoutElement,
boolean exportUserPermissions)
|
protected void |
exportLayoutRoles(LayoutCache layoutCache,
long companyId,
long groupId,
Element rolesElement)
|
protected void |
exportPermissions_1to4(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String resourcePrimKey,
Element permissionsElement,
boolean exportUserPermissions)
|
protected void |
exportPermissions_5(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String resourcePrimKey,
Element permissionsElement,
boolean portletActions)
|
protected void |
exportPermissions_6(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 void |
exportPortletRoles(LayoutCache layoutCache,
long companyId,
long groupId,
String portletId,
Element rolesElement)
|
protected Element |
exportRoles(long companyId,
String resourceName,
int scope,
String resourcePrimKey,
Element parentElement,
String elName,
List<Role> roles)
|
protected void |
exportUserPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String resourcePrimKey,
Element parentElement)
|
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 |
ROLE_TEAM_PREFIX
public static final String ROLE_TEAM_PREFIX
- See Also:
- Constant Field Values
PermissionExporter
public PermissionExporter()
exportGroupPermissions
protected Element exportGroupPermissions(long companyId,
long groupId,
String resourceName,
String resourcePrimKey,
Element parentElement,
String elementName)
throws Exception
- Throws:
Exception
exportGroupRoles
protected void exportGroupRoles(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String entityName,
Element parentElement)
throws Exception
- Throws:
Exception
exportInheritedPermissions
protected void exportInheritedPermissions(LayoutCache layoutCache,
long companyId,
String resourceName,
String resourcePrimKey,
Element parentElement,
String entityName)
throws Exception
- Throws:
Exception
exportInheritedRoles
protected void exportInheritedRoles(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String entityName,
Element parentElement)
throws Exception
- Throws:
Exception
exportLayoutPermissions
protected void exportLayoutPermissions(PortletDataContext portletDataContext,
LayoutCache layoutCache,
long companyId,
long groupId,
Layout layout,
Element layoutElement,
boolean exportUserPermissions)
throws Exception
- Throws:
Exception
exportLayoutRoles
protected void exportLayoutRoles(LayoutCache layoutCache,
long companyId,
long groupId,
Element rolesElement)
throws Exception
- Throws:
Exception
exportPermissions_1to4
protected void exportPermissions_1to4(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String resourcePrimKey,
Element permissionsElement,
boolean exportUserPermissions)
throws Exception
- Throws:
Exception
exportPermissions_5
protected void exportPermissions_5(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String resourcePrimKey,
Element permissionsElement,
boolean portletActions)
throws Exception
- Throws:
Exception
exportPermissions_6
protected void exportPermissions_6(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
exportPortletRoles
protected void exportPortletRoles(LayoutCache layoutCache,
long companyId,
long groupId,
String portletId,
Element rolesElement)
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
exportUserPermissions
protected void exportUserPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String resourcePrimKey,
Element parentElement)
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)