com.liferay.portal.service.impl
Class UserGroupRoleLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.UserGroupRoleLocalServiceBaseImpl
      extended by com.liferay.portal.service.impl.UserGroupRoleLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.service.UserGroupRoleLocalService

public class UserGroupRoleLocalServiceImpl
extends UserGroupRoleLocalServiceBaseImpl

View Source

Author:
Jorge Ferrer

Field Summary
 
Fields inherited from class com.liferay.portal.service.base.UserGroupRoleLocalServiceBaseImpl
accountLocalService, accountPersistence, accountService, addressLocalService, addressPersistence, addressService, classNameLocalService, classNamePersistence, classNameService, companyLocalService, companyPersistence, companyService, contactLocalService, contactPersistence, contactService, 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, resourceCodeLocalService, resourceCodePersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, roleFinder, roleLocalService, rolePersistence, roleService, serviceComponentLocalService, serviceComponentPersistence, 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
UserGroupRoleLocalServiceImpl()
           
 
Method Summary
 void addUserGroupRoles(long[] userIds, long groupId, long roleId)
           
 void addUserGroupRoles(long userId, long groupId, long[] roleIds)
           
protected  void checkGroupResource(long groupId)
           
 void deleteUserGroupRole(com.liferay.portal.model.UserGroupRole userGroupRole)
           
 void deleteUserGroupRoles(long[] userIds, long groupId)
           
 void deleteUserGroupRoles(long[] userIds, long groupId, long roleId)
           
 void deleteUserGroupRoles(long userId, long[] groupIds)
           
 void deleteUserGroupRoles(long userId, long groupId, long[] roleIds)
           
 void deleteUserGroupRolesByGroupId(long groupId)
           
 void deleteUserGroupRolesByRoleId(long roleId)
           
 void deleteUserGroupRolesByUserId(long userId)
           
 java.util.List<com.liferay.portal.model.UserGroupRole> getUserGroupRoles(long userId)
           
 java.util.List<com.liferay.portal.model.UserGroupRole> getUserGroupRoles(long userId, long groupId)
           
 java.util.List<com.liferay.portal.model.UserGroupRole> getUserGroupRolesByGroupAndRole(long groupId, long roleId)
           
 boolean hasUserGroupRole(long userId, long groupId, long roleId)
           
 boolean hasUserGroupRole(long userId, long groupId, java.lang.String roleName)
           
 
Methods inherited from class com.liferay.portal.service.base.UserGroupRoleLocalServiceBaseImpl
addUserGroupRole, createUserGroupRole, deleteUserGroupRole, dynamicQuery, dynamicQuery, getAccountLocalService, getAccountPersistence, getAccountService, getAddressLocalService, getAddressPersistence, getAddressService, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getContactLocalService, getContactPersistence, getContactService, 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, getResourceCodeLocalService, getResourceCodePersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getRoleFinder, getRoleLocalService, getRolePersistence, getRoleService, getServiceComponentLocalService, getServiceComponentPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getThemeLocalService, getThemeService, getUserFinder, getUserGroupFinder, getUserGroupLocalService, getUserGroupPersistence, getUserGroupRole, getUserGroupRoleLocalService, getUserGroupRolePersistence, getUserGroupRoles, getUserGroupRolesCount, getUserGroupRoleService, getUserGroupService, getUserIdMapperLocalService, getUserIdMapperPersistence, getUserLocalService, getUserPersistence, getUserService, getUserTrackerLocalService, getUserTrackerPathLocalService, getUserTrackerPathPersistence, getUserTrackerPersistence, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWebsiteLocalService, getWebsitePersistence, getWebsiteService, setAccountLocalService, setAccountPersistence, setAccountService, setAddressLocalService, setAddressPersistence, setAddressService, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setContactLocalService, setContactPersistence, setContactService, 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, setResourceCodeLocalService, setResourceCodePersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setRoleFinder, setRoleLocalService, setRolePersistence, setRoleService, setServiceComponentLocalService, setServiceComponentPersistence, 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, updateUserGroupRole
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserGroupRoleLocalServiceImpl

public UserGroupRoleLocalServiceImpl()
Method Detail

addUserGroupRoles

public void addUserGroupRoles(long userId,
                              long groupId,
                              long[] roleIds)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addUserGroupRoles

public void addUserGroupRoles(long[] userIds,
                              long groupId,
                              long roleId)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteUserGroupRole

public void deleteUserGroupRole(com.liferay.portal.model.UserGroupRole userGroupRole)
                         throws com.liferay.portal.SystemException
Specified by:
deleteUserGroupRole in interface com.liferay.portal.service.UserGroupRoleLocalService
Overrides:
deleteUserGroupRole in class UserGroupRoleLocalServiceBaseImpl
Throws:
com.liferay.portal.SystemException

deleteUserGroupRoles

public void deleteUserGroupRoles(long userId,
                                 long[] groupIds)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteUserGroupRoles

public void deleteUserGroupRoles(long[] userIds,
                                 long groupId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteUserGroupRoles

public void deleteUserGroupRoles(long userId,
                                 long groupId,
                                 long[] roleIds)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteUserGroupRoles

public void deleteUserGroupRoles(long[] userIds,
                                 long groupId,
                                 long roleId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteUserGroupRolesByGroupId

public void deleteUserGroupRolesByGroupId(long groupId)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteUserGroupRolesByRoleId

public void deleteUserGroupRolesByRoleId(long roleId)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteUserGroupRolesByUserId

public void deleteUserGroupRolesByUserId(long userId)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserGroupRoles

public java.util.List<com.liferay.portal.model.UserGroupRole> getUserGroupRoles(long userId)
                                                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserGroupRoles

public java.util.List<com.liferay.portal.model.UserGroupRole> getUserGroupRoles(long userId,
                                                                                long groupId)
                                                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserGroupRolesByGroupAndRole

public java.util.List<com.liferay.portal.model.UserGroupRole> getUserGroupRolesByGroupAndRole(long groupId,
                                                                                              long roleId)
                                                                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

hasUserGroupRole

public boolean hasUserGroupRole(long userId,
                                long groupId,
                                long roleId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

hasUserGroupRole

public boolean hasUserGroupRole(long userId,
                                long groupId,
                                java.lang.String roleName)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

checkGroupResource

protected void checkGroupResource(long groupId)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException