com.liferay.portal.lar
Class PermissionImporter
java.lang.Object
com.liferay.portal.lar.PermissionImporter
public class PermissionImporter
- extends Object
Method Summary |
protected List<String> |
getActions(Element element)
|
protected void |
importGroupPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String resourcePrimKey,
Element parentElement,
String elementName,
boolean portletActions)
|
protected void |
importGroupRoles(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String entityName,
Element parentElement)
|
protected void |
importInheritedPermissions(LayoutCache layoutCache,
long companyId,
String resourceName,
String resourcePrimKey,
Element permissionsElement,
String entityName,
boolean portletActions)
|
protected void |
importInheritedRoles(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String entityName,
Element parentElement)
|
protected void |
importLayoutPermissions_1to4(LayoutCache layoutCache,
long companyId,
long groupId,
Group guestGroup,
Layout layout,
String resourceName,
String resourcePrimKey,
Element permissionsElement,
boolean importUserPermissions)
|
protected void |
importLayoutPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
Layout layout,
Element layoutElement,
Element parentElement,
boolean importUserPermissions)
|
protected void |
importLayoutRoles(LayoutCache layoutCache,
long companyId,
long groupId,
Element rolesElement)
|
protected void |
importPermissions_5(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
Layout layout,
String resourceName,
String resourcePrimKey,
Element permissionsElement,
boolean portletActions)
|
protected void |
importPermissions_6(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
Layout layout,
String resourceName,
String resourcePrimKey,
Element permissionsElement,
boolean portletActions)
|
protected void |
importPortletPermissions_1to4(LayoutCache layoutCache,
long companyId,
long groupId,
Group guestGroup,
Layout layout,
Element permissionsElement,
boolean importUserPermissions)
|
protected void |
importPortletPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
Layout layout,
Element portletElement,
String portletId,
boolean importUserPermissions)
|
protected void |
importPortletRoles(LayoutCache layoutCache,
long companyId,
long groupId,
Element rolesElement)
|
protected void |
importPortletRoles(LayoutCache layoutCache,
long companyId,
long groupId,
String portletId,
Element rolesElement)
|
protected void |
importRolePermissions(LayoutCache layoutCache,
long companyId,
String resourceName,
int scope,
String resourcePrimKey,
Element parentElement,
boolean communityRole)
|
protected void |
importUserPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String resourcePrimKey,
Element parentElement,
boolean portletActions)
|
protected void |
importUserRoles(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
Element parentElement)
|
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()
getActions
protected List<String> getActions(Element element)
importGroupPermissions
protected void importGroupPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String resourcePrimKey,
Element parentElement,
String elementName,
boolean portletActions)
throws Exception
- Throws:
Exception
importGroupRoles
protected void importGroupRoles(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String entityName,
Element parentElement)
throws Exception
- Throws:
Exception
importInheritedPermissions
protected void importInheritedPermissions(LayoutCache layoutCache,
long companyId,
String resourceName,
String resourcePrimKey,
Element permissionsElement,
String entityName,
boolean portletActions)
throws Exception
- Throws:
Exception
importInheritedRoles
protected void importInheritedRoles(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String entityName,
Element parentElement)
throws Exception
- Throws:
Exception
importLayoutPermissions
protected void importLayoutPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
Layout layout,
Element layoutElement,
Element parentElement,
boolean importUserPermissions)
throws Exception
- Throws:
Exception
importLayoutPermissions_1to4
protected void importLayoutPermissions_1to4(LayoutCache layoutCache,
long companyId,
long groupId,
Group guestGroup,
Layout layout,
String resourceName,
String resourcePrimKey,
Element permissionsElement,
boolean importUserPermissions)
throws Exception
- Throws:
Exception
importLayoutRoles
protected void importLayoutRoles(LayoutCache layoutCache,
long companyId,
long groupId,
Element rolesElement)
throws Exception
- Throws:
Exception
importPermissions_5
protected void importPermissions_5(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
Layout layout,
String resourceName,
String resourcePrimKey,
Element permissionsElement,
boolean portletActions)
throws Exception
- Throws:
Exception
importPermissions_6
protected void importPermissions_6(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,
boolean importUserPermissions)
throws Exception
- Throws:
Exception
importPortletPermissions_1to4
protected void importPortletPermissions_1to4(LayoutCache layoutCache,
long companyId,
long groupId,
Group guestGroup,
Layout layout,
Element permissionsElement,
boolean importUserPermissions)
throws Exception
- Throws:
Exception
importPortletRoles
protected void importPortletRoles(LayoutCache layoutCache,
long companyId,
long groupId,
Element rolesElement)
throws Exception
- Throws:
Exception
importPortletRoles
protected void importPortletRoles(LayoutCache layoutCache,
long companyId,
long groupId,
String portletId,
Element rolesElement)
throws Exception
- Throws:
Exception
importRolePermissions
protected void importRolePermissions(LayoutCache layoutCache,
long companyId,
String resourceName,
int scope,
String resourcePrimKey,
Element parentElement,
boolean communityRole)
throws Exception
- Throws:
Exception
importUserPermissions
protected void importUserPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
String resourcePrimKey,
Element parentElement,
boolean portletActions)
throws Exception
- Throws:
Exception
importUserRoles
protected void importUserRoles(LayoutCache layoutCache,
long companyId,
long groupId,
String resourceName,
Element parentElement)
throws Exception
- Throws:
Exception
readPortletDataPermissions
protected void readPortletDataPermissions(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception