com.liferay.portal.service.impl
Class ResourceLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.ResourceLocalServiceBaseImpl
      extended by com.liferay.portal.service.impl.ResourceLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.service.ResourceLocalService

public class ResourceLocalServiceImpl
extends ResourceLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan, Wilson S. Man, Raymond Augé

Field Summary
 
Fields inherited from class com.liferay.portal.service.base.ResourceLocalServiceBaseImpl
accountLocalService, accountPersistence, accountService, addressLocalService, addressPersistence, addressService, browserTrackerLocalService, browserTrackerPersistence, classNameLocalService, classNamePersistence, classNameService, companyLocalService, companyPersistence, companyService, contactLocalService, contactPersistence, contactService, counterLocalService, counterService, countryPersistence, countryService, emailAddressLocalService, emailAddressPersistence, emailAddressService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, layoutFinder, layoutLocalService, layoutPersistence, layoutService, layoutSetLocalService, layoutSetPersistence, layoutSetService, layoutTemplateLocalService, listTypePersistence, listTypeService, membershipRequestLocalService, membershipRequestPersistence, membershipRequestService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, orgGroupPermissionFinder, orgGroupPermissionPersistence, orgGroupRolePersistence, orgLaborLocalService, orgLaborPersistence, orgLaborService, passwordPolicyFinder, passwordPolicyLocalService, passwordPolicyPersistence, passwordPolicyRelLocalService, passwordPolicyRelPersistence, passwordPolicyService, passwordTrackerLocalService, passwordTrackerPersistence, permissionFinder, permissionLocalService, permissionPersistence, permissionService, permissionUserFinder, phoneLocalService, phonePersistence, phoneService, pluginSettingLocalService, pluginSettingPersistence, pluginSettingService, portalLocalService, portalService, portletItemLocalService, portletItemPersistence, portletLocalService, portletPersistence, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, portletService, quartzLocalService, regionPersistence, regionService, releaseLocalService, releasePersistence, resourceActionLocalService, resourceActionPersistence, resourceCodeLocalService, resourceCodePersistence, resourceFinder, resourceLocalService, resourcePermissionLocalService, resourcePermissionPersistence, resourcePermissionService, resourcePersistence, resourceService, roleFinder, roleLocalService, rolePersistence, roleService, serviceComponentLocalService, serviceComponentPersistence, shardLocalService, shardPersistence, subscriptionLocalService, subscriptionPersistence, themeLocalService, themeService, userFinder, userGroupFinder, userGroupLocalService, userGroupPersistence, userGroupRoleLocalService, userGroupRolePersistence, userGroupRoleService, userGroupService, userIdMapperLocalService, userIdMapperPersistence, userLocalService, userPersistence, userService, userTrackerLocalService, userTrackerPathLocalService, userTrackerPathPersistence, userTrackerPersistence, webDAVPropsLocalService, webDAVPropsPersistence, websiteLocalService, websitePersistence, websiteService
 
Constructor Summary
ResourceLocalServiceImpl()
           
 
Method Summary
protected  void addCommunityPermissions_1to5(long companyId, long groupId, long userId, java.lang.String name, com.liferay.portal.model.Resource resource, boolean portletActions, java.lang.String[] actionIds)
           
protected  void addCommunityPermissions_6(long groupId, com.liferay.portal.model.Resource resource, java.lang.String[] actionIds)
           
protected  void addCommunityPermissions(long companyId, long groupId, long userId, java.lang.String name, com.liferay.portal.model.Resource resource, boolean portletActions)
           
protected  void addGuestPermissions_1to5(long companyId, long groupId, long userId, java.lang.String name, com.liferay.portal.model.Resource resource, boolean portletActions, java.lang.String[] actionIds)
           
protected  void addGuestPermissions_6(long companyId, com.liferay.portal.model.Resource resource, java.lang.String[] actionIds)
           
protected  void addGuestPermissions(long companyId, long groupId, long userId, java.lang.String name, com.liferay.portal.model.Resource resource, boolean portletActions)
           
protected  void addModelResources_1to5(long companyId, long groupId, long userId, com.liferay.portal.model.Resource resource, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
protected  void addModelResources_6(long companyId, long groupId, com.liferay.portal.model.Resource resource, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addModelResources(long companyId, long groupId, long userId, java.lang.String name, long primKey, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addModelResources(long companyId, long groupId, long userId, java.lang.String name, java.lang.String primKey, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
protected  com.liferay.portal.model.Resource addResource_1to5(long companyId, java.lang.String name, int scope, java.lang.String primKey)
           
protected  com.liferay.portal.model.Resource addResource_6(long companyId, java.lang.String name, int scope, java.lang.String primKey)
           
 com.liferay.portal.model.Resource addResource(long companyId, java.lang.String name, int scope, java.lang.String primKey)
           
protected  void addResources_1to5(long companyId, long groupId, long userId, com.liferay.portal.model.Resource resource, boolean portletActions)
           
protected  void addResources_6(long companyId, long groupId, long userId, com.liferay.portal.model.Resource resource, boolean portletActions)
           
 void addResources(long companyId, long groupId, long userId, java.lang.String name, long primKey, boolean portletActions, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addResources(long companyId, long groupId, long userId, java.lang.String name, java.lang.String primKey, boolean portletActions, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addResources(long companyId, long groupId, java.lang.String name, boolean portletActions)
           
 void deleteResource(long resourceId)
           
 void deleteResource(long companyId, java.lang.String name, int scope, long primKey)
           
 void deleteResource(long companyId, java.lang.String name, int scope, java.lang.String primKey)
           
 void deleteResource(com.liferay.portal.model.Resource resource)
           
 void deleteResources(java.lang.String name)
           
 long getLatestResourceId()
           
protected  com.liferay.portal.model.Resource getResource_1to5(long companyId, java.lang.String name, int scope, java.lang.String primKey)
           
protected  com.liferay.portal.model.Resource getResource_6(long companyId, java.lang.String name, int scope, java.lang.String primKey)
           
 com.liferay.portal.model.Resource getResource(long resourceId)
           
 com.liferay.portal.model.Resource getResource(long companyId, java.lang.String name, int scope, java.lang.String primKey)
           
 java.util.List<com.liferay.portal.model.Resource> getResources()
           
protected  com.liferay.portal.model.Role getRole(long groupId)
           
protected  void updateResources_1to5(long companyId, long groupId, com.liferay.portal.model.Resource resource, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
protected  void updateResources_6(long companyId, long groupId, com.liferay.portal.model.Resource resource, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void updateResources(long companyId, long groupId, java.lang.String name, long primKey, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void updateResources(long companyId, long groupId, java.lang.String name, java.lang.String primKey, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
protected  void validate(java.lang.String name, boolean portletActions)
           
 
Methods inherited from class com.liferay.portal.service.base.ResourceLocalServiceBaseImpl
addResource, createResource, dynamicQuery, dynamicQuery, getAccountLocalService, getAccountPersistence, getAccountService, getAddressLocalService, getAddressPersistence, getAddressService, getBrowserTrackerLocalService, getBrowserTrackerPersistence, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getContactLocalService, getContactPersistence, getContactService, getCounterLocalService, getCounterService, getCountryPersistence, getCountryService, getEmailAddressLocalService, getEmailAddressPersistence, getEmailAddressService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetService, getLayoutTemplateLocalService, getListTypePersistence, getListTypeService, getMembershipRequestLocalService, getMembershipRequestPersistence, getMembershipRequestService, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getOrgGroupPermissionFinder, getOrgGroupPermissionPersistence, getOrgGroupRolePersistence, getOrgLaborLocalService, getOrgLaborPersistence, getOrgLaborService, getPasswordPolicyFinder, getPasswordPolicyLocalService, getPasswordPolicyPersistence, getPasswordPolicyRelLocalService, getPasswordPolicyRelPersistence, getPasswordPolicyService, getPasswordTrackerLocalService, getPasswordTrackerPersistence, getPermissionFinder, getPermissionLocalService, getPermissionPersistence, getPermissionService, getPermissionUserFinder, getPhoneLocalService, getPhonePersistence, getPhoneService, getPluginSettingLocalService, getPluginSettingPersistence, getPluginSettingService, getPortalLocalService, getPortalService, getPortletItemLocalService, getPortletItemPersistence, getPortletLocalService, getPortletPersistence, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getPortletService, getQuartzLocalService, getRegionPersistence, getRegionService, getReleaseLocalService, getReleasePersistence, getResourceActionLocalService, getResourceActionPersistence, getResourceCodeLocalService, getResourceCodePersistence, getResourceFinder, getResourceLocalService, getResourcePermissionLocalService, getResourcePermissionPersistence, getResourcePermissionService, getResourcePersistence, getResources, getResourcesCount, getResourceService, getRoleFinder, getRoleLocalService, getRolePersistence, getRoleService, getServiceComponentLocalService, getServiceComponentPersistence, getShardLocalService, getShardPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getThemeLocalService, getThemeService, getUserFinder, getUserGroupFinder, getUserGroupLocalService, getUserGroupPersistence, getUserGroupRoleLocalService, getUserGroupRolePersistence, getUserGroupRoleService, getUserGroupService, getUserIdMapperLocalService, getUserIdMapperPersistence, getUserLocalService, getUserPersistence, getUserService, getUserTrackerLocalService, getUserTrackerPathLocalService, getUserTrackerPathPersistence, getUserTrackerPersistence, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWebsiteLocalService, getWebsitePersistence, getWebsiteService, runSQL, setAccountLocalService, setAccountPersistence, setAccountService, setAddressLocalService, setAddressPersistence, setAddressService, setBrowserTrackerLocalService, setBrowserTrackerPersistence, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setContactLocalService, setContactPersistence, setContactService, setCounterLocalService, setCounterService, setCountryPersistence, setCountryService, setEmailAddressLocalService, setEmailAddressPersistence, setEmailAddressService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetService, setLayoutTemplateLocalService, setListTypePersistence, setListTypeService, setMembershipRequestLocalService, setMembershipRequestPersistence, setMembershipRequestService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setOrgGroupPermissionFinder, setOrgGroupPermissionPersistence, setOrgGroupRolePersistence, setOrgLaborLocalService, setOrgLaborPersistence, setOrgLaborService, setPasswordPolicyFinder, setPasswordPolicyLocalService, setPasswordPolicyPersistence, setPasswordPolicyRelLocalService, setPasswordPolicyRelPersistence, setPasswordPolicyService, setPasswordTrackerLocalService, setPasswordTrackerPersistence, setPermissionFinder, setPermissionLocalService, setPermissionPersistence, setPermissionService, setPermissionUserFinder, setPhoneLocalService, setPhonePersistence, setPhoneService, setPluginSettingLocalService, setPluginSettingPersistence, setPluginSettingService, setPortalLocalService, setPortalService, setPortletItemLocalService, setPortletItemPersistence, setPortletLocalService, setPortletPersistence, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setPortletService, setQuartzLocalService, setRegionPersistence, setRegionService, setReleaseLocalService, setReleasePersistence, setResourceActionLocalService, setResourceActionPersistence, setResourceCodeLocalService, setResourceCodePersistence, setResourceFinder, setResourceLocalService, setResourcePermissionLocalService, setResourcePermissionPersistence, setResourcePermissionService, setResourcePersistence, setResourceService, setRoleFinder, setRoleLocalService, setRolePersistence, setRoleService, setServiceComponentLocalService, setServiceComponentPersistence, setShardLocalService, setShardPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setThemeLocalService, setThemeService, setUserFinder, setUserGroupFinder, setUserGroupLocalService, setUserGroupPersistence, setUserGroupRoleLocalService, setUserGroupRolePersistence, setUserGroupRoleService, setUserGroupService, setUserIdMapperLocalService, setUserIdMapperPersistence, setUserLocalService, setUserPersistence, setUserService, setUserTrackerLocalService, setUserTrackerPathLocalService, setUserTrackerPathPersistence, setUserTrackerPersistence, setWebDAVPropsLocalService, setWebDAVPropsPersistence, setWebsiteLocalService, setWebsitePersistence, setWebsiteService, updateResource, updateResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceLocalServiceImpl

public ResourceLocalServiceImpl()
Method Detail

addModelResources

public void addModelResources(long companyId,
                              long groupId,
                              long userId,
                              java.lang.String name,
                              long primKey,
                              java.lang.String[] communityPermissions,
                              java.lang.String[] guestPermissions)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addModelResources

public void addModelResources(long companyId,
                              long groupId,
                              long userId,
                              java.lang.String name,
                              java.lang.String primKey,
                              java.lang.String[] communityPermissions,
                              java.lang.String[] guestPermissions)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addResource

public com.liferay.portal.model.Resource addResource(long companyId,
                                                     java.lang.String name,
                                                     int scope,
                                                     java.lang.String primKey)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addResources

public void addResources(long companyId,
                         long groupId,
                         java.lang.String name,
                         boolean portletActions)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addResources

public void addResources(long companyId,
                         long groupId,
                         long userId,
                         java.lang.String name,
                         long primKey,
                         boolean portletActions,
                         boolean addCommunityPermissions,
                         boolean addGuestPermissions)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addResources

public void addResources(long companyId,
                         long groupId,
                         long userId,
                         java.lang.String name,
                         java.lang.String primKey,
                         boolean portletActions,
                         boolean addCommunityPermissions,
                         boolean addGuestPermissions)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteResource

public void deleteResource(long resourceId)
                    throws com.liferay.portal.SystemException
Specified by:
deleteResource in interface com.liferay.portal.service.ResourceLocalService
Overrides:
deleteResource in class ResourceLocalServiceBaseImpl
Throws:
com.liferay.portal.SystemException

deleteResource

public void deleteResource(com.liferay.portal.model.Resource resource)
                    throws com.liferay.portal.SystemException
Specified by:
deleteResource in interface com.liferay.portal.service.ResourceLocalService
Overrides:
deleteResource in class ResourceLocalServiceBaseImpl
Throws:
com.liferay.portal.SystemException

deleteResource

public void deleteResource(long companyId,
                           java.lang.String name,
                           int scope,
                           long primKey)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteResource

public void deleteResource(long companyId,
                           java.lang.String name,
                           int scope,
                           java.lang.String primKey)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteResources

public void deleteResources(java.lang.String name)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getLatestResourceId

public long getLatestResourceId()
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getResource

public com.liferay.portal.model.Resource getResource(long resourceId)
                                              throws com.liferay.portal.PortalException,
                                                     com.liferay.portal.SystemException
Specified by:
getResource in interface com.liferay.portal.service.ResourceLocalService
Overrides:
getResource in class ResourceLocalServiceBaseImpl
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getResource

public com.liferay.portal.model.Resource getResource(long companyId,
                                                     java.lang.String name,
                                                     int scope,
                                                     java.lang.String primKey)
                                              throws com.liferay.portal.PortalException,
                                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getResources

public java.util.List<com.liferay.portal.model.Resource> getResources()
                                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateResources

public void updateResources(long companyId,
                            long groupId,
                            java.lang.String name,
                            long primKey,
                            java.lang.String[] communityPermissions,
                            java.lang.String[] guestPermissions)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateResources

public void updateResources(long companyId,
                            long groupId,
                            java.lang.String name,
                            java.lang.String primKey,
                            java.lang.String[] communityPermissions,
                            java.lang.String[] guestPermissions)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addCommunityPermissions

protected void addCommunityPermissions(long companyId,
                                       long groupId,
                                       long userId,
                                       java.lang.String name,
                                       com.liferay.portal.model.Resource resource,
                                       boolean portletActions)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addCommunityPermissions_1to5

protected void addCommunityPermissions_1to5(long companyId,
                                            long groupId,
                                            long userId,
                                            java.lang.String name,
                                            com.liferay.portal.model.Resource resource,
                                            boolean portletActions,
                                            java.lang.String[] actionIds)
                                     throws com.liferay.portal.PortalException,
                                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addCommunityPermissions_6

protected void addCommunityPermissions_6(long groupId,
                                         com.liferay.portal.model.Resource resource,
                                         java.lang.String[] actionIds)
                                  throws com.liferay.portal.PortalException,
                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addGuestPermissions

protected void addGuestPermissions(long companyId,
                                   long groupId,
                                   long userId,
                                   java.lang.String name,
                                   com.liferay.portal.model.Resource resource,
                                   boolean portletActions)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addGuestPermissions_1to5

protected void addGuestPermissions_1to5(long companyId,
                                        long groupId,
                                        long userId,
                                        java.lang.String name,
                                        com.liferay.portal.model.Resource resource,
                                        boolean portletActions,
                                        java.lang.String[] actionIds)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addGuestPermissions_6

protected void addGuestPermissions_6(long companyId,
                                     com.liferay.portal.model.Resource resource,
                                     java.lang.String[] actionIds)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addModelResources_1to5

protected void addModelResources_1to5(long companyId,
                                      long groupId,
                                      long userId,
                                      com.liferay.portal.model.Resource resource,
                                      java.lang.String[] communityPermissions,
                                      java.lang.String[] guestPermissions)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addModelResources_6

protected void addModelResources_6(long companyId,
                                   long groupId,
                                   com.liferay.portal.model.Resource resource,
                                   java.lang.String[] communityPermissions,
                                   java.lang.String[] guestPermissions)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addResource_1to5

protected com.liferay.portal.model.Resource addResource_1to5(long companyId,
                                                             java.lang.String name,
                                                             int scope,
                                                             java.lang.String primKey)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addResource_6

protected com.liferay.portal.model.Resource addResource_6(long companyId,
                                                          java.lang.String name,
                                                          int scope,
                                                          java.lang.String primKey)

addResources_1to5

protected void addResources_1to5(long companyId,
                                 long groupId,
                                 long userId,
                                 com.liferay.portal.model.Resource resource,
                                 boolean portletActions)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addResources_6

protected void addResources_6(long companyId,
                              long groupId,
                              long userId,
                              com.liferay.portal.model.Resource resource,
                              boolean portletActions)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getResource_1to5

protected com.liferay.portal.model.Resource getResource_1to5(long companyId,
                                                             java.lang.String name,
                                                             int scope,
                                                             java.lang.String primKey)
                                                      throws com.liferay.portal.PortalException,
                                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getResource_6

protected com.liferay.portal.model.Resource getResource_6(long companyId,
                                                          java.lang.String name,
                                                          int scope,
                                                          java.lang.String primKey)

getRole

protected com.liferay.portal.model.Role getRole(long groupId)
                                         throws com.liferay.portal.PortalException,
                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateResources_1to5

protected void updateResources_1to5(long companyId,
                                    long groupId,
                                    com.liferay.portal.model.Resource resource,
                                    java.lang.String[] communityPermissions,
                                    java.lang.String[] guestPermissions)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateResources_6

protected void updateResources_6(long companyId,
                                 long groupId,
                                 com.liferay.portal.model.Resource resource,
                                 java.lang.String[] communityPermissions,
                                 java.lang.String[] guestPermissions)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

validate

protected void validate(java.lang.String name,
                        boolean portletActions)
                 throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException