com.liferay.portal.service
Interface UserGroupService
- All Known Implementing Classes:
- UserGroupServiceBaseImpl, UserGroupServiceImpl, UserGroupServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface UserGroupService
This interface defines the service. The default implementation is
UserGroupServiceImpl.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- See Also:
UserGroupServiceUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
addGroupUserGroups
void addGroupUserGroups(long groupId,
long[] userGroupIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addUserGroup
UserGroup addUserGroup(String name,
String description)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteUserGroup
void deleteUserGroup(long userGroupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserGroup
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserGroup getUserGroup(long userGroupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserGroup
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserGroup getUserGroup(String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserUserGroups
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<UserGroup> getUserUserGroups(long userId)
throws SystemException
- Throws:
SystemException
unsetGroupUserGroups
void unsetGroupUserGroups(long groupId,
long[] userGroupIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateUserGroup
UserGroup updateUserGroup(long userGroupId,
String name,
String description)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException