Class UserGroupRoleServiceUtil

Object
com.liferay.portal.kernel.service.UserGroupRoleServiceUtil

public class UserGroupRoleServiceUtil extends Object
Provides the remote service utility for UserGroupRole. This utility wraps com.liferay.portal.service.impl.UserGroupRoleServiceImpl and is an access point for service operations in application layer code running on a remote server. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Constructor Details

    • UserGroupRoleServiceUtil

      public UserGroupRoleServiceUtil()
  • Method Details

    • addUserGroupRoles

      public static void addUserGroupRoles(long userId, long groupId, long[] roleIds) throws PortalException
      Throws:
      PortalException
    • addUserGroupRoles

      public static void addUserGroupRoles(long[] userIds, long groupId, long roleId) throws PortalException
      Throws:
      PortalException
    • deleteUserGroupRoles

      public static void deleteUserGroupRoles(long userId, long groupId, long[] roleIds) throws PortalException
      Throws:
      PortalException
    • deleteUserGroupRoles

      public static void deleteUserGroupRoles(long[] userIds, long groupId, long roleId) throws PortalException
      Throws:
      PortalException
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • updateUserGroupRoles

      public static void updateUserGroupRoles(long userId, long groupId, long[] addedRoleIds, long[] deletedRoleIds) throws PortalException
      Throws:
      PortalException
    • getService

      public static UserGroupRoleService getService()
    • setService

      public static void setService(UserGroupRoleService service)