Interface GroupServiceInternal
- All Known Implementing Classes:
GroupServiceInternalImpl
public interface GroupServiceInternal
-
Method Summary
Modifier and TypeMethodDescriptionaddGroupMembers(long groupId, List<Long> userIds, List<String> usernames) createGroup(long orgId, String groupName, String groupDescription, boolean externallyManaged) voiddeleteGroup(List<Long> groupIds) getAllGroups(long orgId, String keyword, int offset, int limit, String sort) intgetAllGroupsTotal(long orgId, String keyword) getGroup(long groupId) getGroupByName(String groupName) getGroupMembers(long groupId, int offset, int limit, String sort) intgetGroupMembersTotal(long groupId) getSiteGroups(String siteId) booleangroupExists(long groupId, String groupName) voidremoveGroupMembers(long groupId, List<Long> userIds, List<String> usernames) updateGroup(long orgId, Group group)
-
Method Details
-
getGroup
-
getGroups
-
getGroupByName
-
getAllGroups
List<Group> getAllGroups(long orgId, String keyword, int offset, int limit, String sort) throws ServiceLayerException - Throws:
ServiceLayerException
-
getAllGroupsTotal
- Throws:
ServiceLayerException
-
createGroup
Group createGroup(long orgId, String groupName, String groupDescription, boolean externallyManaged) throws GroupAlreadyExistsException, ServiceLayerException -
updateGroup
-
deleteGroup
-
groupExists
- Throws:
ServiceLayerException
-
getGroupMembers
List<User> getGroupMembers(long groupId, int offset, int limit, String sort) throws GroupNotFoundException, ServiceLayerException -
getGroupMembersTotal
-
addGroupMembers
List<User> addGroupMembers(long groupId, List<Long> userIds, List<String> usernames) throws GroupNotFoundException, UserNotFoundException, ServiceLayerException -
removeGroupMembers
void removeGroupMembers(long groupId, List<Long> userIds, List<String> usernames) throws GroupNotFoundException, UserNotFoundException, ServiceLayerException -
getSiteGroups
- Throws:
ServiceLayerException
-