com.liferay.portal.service
Interface UserGroupRoleLocalService


public interface UserGroupRoleLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portal.service.impl.UserGroupRoleLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
UserGroupRoleServiceFactory, UserGroupRoleServiceUtil

Method Summary
 UserGroupRole addUserGroupRole(UserGroupRole model)
           
 void addUserGroupRoles(long[] userIds, long groupId, long roleId)
           
 void addUserGroupRoles(long userId, long groupId, long[] roleIds)
           
 void deleteUserGroupRoles(long[] userIds, long groupId)
           
 void deleteUserGroupRoles(long[] userIds, long groupId, long roleId)
           
 void deleteUserGroupRoles(long userId, long groupId, long[] roleIds)
           
 void deleteUserGroupRolesByGroupId(long groupId)
           
 void deleteUserGroupRolesByRoleId(long roleId)
           
 void deleteUserGroupRolesByUserId(long userId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List getUserGroupRoles(long userId, long groupId)
           
 boolean hasUserGroupRole(long userId, long groupId, long roleId)
           
 UserGroupRole updateUserGroupRole(UserGroupRole model)
           
 

Method Detail

addUserGroupRole

public UserGroupRole addUserGroupRole(UserGroupRole model)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateUserGroupRole

public UserGroupRole updateUserGroupRole(UserGroupRole model)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addUserGroupRoles

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

addUserGroupRoles

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

deleteUserGroupRoles

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

deleteUserGroupRoles

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

deleteUserGroupRoles

public void deleteUserGroupRoles(long[] userIds,
                                 long groupId)
                          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 getUserGroupRoles(long userId,
                                        long groupId)
                                 throws com.liferay.portal.SystemException,
                                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

hasUserGroupRole

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