com.liferay.portal.lar
Class PermissionImporter
java.lang.Object
com.liferay.portal.lar.PermissionImporter
public class PermissionImporter
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan, Joel Kozikowski, Charles May, Raymond Augé, Jorge Ferrer, Bruno Farache, Wesley Gong, Zsigmond Rab, Douglas Wong
Method Summary |
protected java.util.List<java.lang.String> |
getActions(com.liferay.portal.kernel.xml.Element el)
|
protected void |
importGroupPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
java.lang.String resourceName,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element parentEl,
java.lang.String elName,
boolean portletActions)
|
protected void |
importGroupRoles(LayoutCache layoutCache,
long companyId,
long groupId,
java.lang.String resourceName,
java.lang.String entityName,
com.liferay.portal.kernel.xml.Element parentEl)
|
protected void |
importInheritedPermissions(LayoutCache layoutCache,
long companyId,
java.lang.String resourceName,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element permissionsEl,
java.lang.String entityName,
boolean portletActions)
|
protected void |
importInheritedRoles(LayoutCache layoutCache,
long companyId,
long groupId,
java.lang.String resourceName,
java.lang.String entityName,
com.liferay.portal.kernel.xml.Element parentEl)
|
protected void |
importLayoutPermissions_1to4(LayoutCache layoutCache,
long companyId,
long groupId,
com.liferay.portal.model.Group guestGroup,
com.liferay.portal.model.Layout layout,
java.lang.String resourceName,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element permissionsEl,
boolean importUserPermissions)
|
protected void |
importLayoutPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
com.liferay.portal.model.Layout layout,
com.liferay.portal.kernel.xml.Element layoutEl,
com.liferay.portal.kernel.xml.Element parentEl,
boolean importUserPermissions)
|
protected void |
importLayoutRoles(LayoutCache layoutCache,
long companyId,
long groupId,
com.liferay.portal.kernel.xml.Element rolesEl)
|
protected void |
importPermissions_5(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
java.lang.String resourceName,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element permissionsEl,
boolean portletActions)
|
protected void |
importPermissions_6(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
java.lang.String resourceName,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element permissionsEl,
boolean portletActions)
|
protected void |
importPortletPermissions_1to4(LayoutCache layoutCache,
long companyId,
long groupId,
com.liferay.portal.model.Group guestGroup,
com.liferay.portal.model.Layout layout,
com.liferay.portal.kernel.xml.Element permissionsEl,
boolean importUserPermissions)
|
protected void |
importPortletPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
com.liferay.portal.model.Layout layout,
com.liferay.portal.kernel.xml.Element portletEl,
java.lang.String portletId,
boolean importUserPermissions)
|
protected void |
importPortletRoles(LayoutCache layoutCache,
long companyId,
long groupId,
com.liferay.portal.kernel.xml.Element rolesEl)
|
protected void |
importPortletRoles(LayoutCache layoutCache,
long companyId,
long groupId,
java.lang.String portletId,
com.liferay.portal.kernel.xml.Element rolesEl)
|
protected void |
importRolePermissions(LayoutCache layoutCache,
long companyId,
java.lang.String resourceName,
int scope,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element parentEl,
boolean communityRole)
|
protected void |
importUserPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
java.lang.String resourceName,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element parentEl,
boolean portletActions)
|
protected void |
importUserRoles(LayoutCache layoutCache,
long companyId,
long groupId,
java.lang.String resourceName,
com.liferay.portal.kernel.xml.Element parentEl)
|
protected void |
readPortletDataPermissions(com.liferay.portal.lar.PortletDataContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermissionImporter
public PermissionImporter()
getActions
protected java.util.List<java.lang.String> getActions(com.liferay.portal.kernel.xml.Element el)
importGroupPermissions
protected void importGroupPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
java.lang.String resourceName,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element parentEl,
java.lang.String elName,
boolean portletActions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importGroupRoles
protected void importGroupRoles(LayoutCache layoutCache,
long companyId,
long groupId,
java.lang.String resourceName,
java.lang.String entityName,
com.liferay.portal.kernel.xml.Element parentEl)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importInheritedPermissions
protected void importInheritedPermissions(LayoutCache layoutCache,
long companyId,
java.lang.String resourceName,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element permissionsEl,
java.lang.String entityName,
boolean portletActions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importInheritedRoles
protected void importInheritedRoles(LayoutCache layoutCache,
long companyId,
long groupId,
java.lang.String resourceName,
java.lang.String entityName,
com.liferay.portal.kernel.xml.Element parentEl)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importLayoutPermissions
protected void importLayoutPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
com.liferay.portal.model.Layout layout,
com.liferay.portal.kernel.xml.Element layoutEl,
com.liferay.portal.kernel.xml.Element parentEl,
boolean importUserPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importLayoutPermissions_1to4
protected void importLayoutPermissions_1to4(LayoutCache layoutCache,
long companyId,
long groupId,
com.liferay.portal.model.Group guestGroup,
com.liferay.portal.model.Layout layout,
java.lang.String resourceName,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element permissionsEl,
boolean importUserPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importLayoutRoles
protected void importLayoutRoles(LayoutCache layoutCache,
long companyId,
long groupId,
com.liferay.portal.kernel.xml.Element rolesEl)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importPermissions_5
protected void importPermissions_5(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
java.lang.String resourceName,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element permissionsEl,
boolean portletActions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importPermissions_6
protected void importPermissions_6(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
java.lang.String resourceName,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element permissionsEl,
boolean portletActions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importPortletPermissions
protected void importPortletPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
long userId,
com.liferay.portal.model.Layout layout,
com.liferay.portal.kernel.xml.Element portletEl,
java.lang.String portletId,
boolean importUserPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importPortletPermissions_1to4
protected void importPortletPermissions_1to4(LayoutCache layoutCache,
long companyId,
long groupId,
com.liferay.portal.model.Group guestGroup,
com.liferay.portal.model.Layout layout,
com.liferay.portal.kernel.xml.Element permissionsEl,
boolean importUserPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importPortletRoles
protected void importPortletRoles(LayoutCache layoutCache,
long companyId,
long groupId,
java.lang.String portletId,
com.liferay.portal.kernel.xml.Element rolesEl)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importPortletRoles
protected void importPortletRoles(LayoutCache layoutCache,
long companyId,
long groupId,
com.liferay.portal.kernel.xml.Element rolesEl)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importRolePermissions
protected void importRolePermissions(LayoutCache layoutCache,
long companyId,
java.lang.String resourceName,
int scope,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element parentEl,
boolean communityRole)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importUserPermissions
protected void importUserPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
java.lang.String resourceName,
java.lang.String resourcePrimKey,
com.liferay.portal.kernel.xml.Element parentEl,
boolean portletActions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importUserRoles
protected void importUserRoles(LayoutCache layoutCache,
long companyId,
long groupId,
java.lang.String resourceName,
com.liferay.portal.kernel.xml.Element parentEl)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
readPortletDataPermissions
protected void readPortletDataPermissions(com.liferay.portal.lar.PortletDataContext context)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException