public interface OwncloudGroupService
| Modifier and Type | Method and Description |
|---|---|
void |
create(String groupname)
Create a new Group.
|
void |
delete(String groupname)
Remove an existing Group.
|
List<String> |
findAll()
Find all Groups.
|
List<String> |
findAll(String filter)
Find all Groups whose Name confirm to the Filter Criterion.
|
List<String> |
findAllGroups(String username)
Find all Groups of a User
|
List<String> |
findAllUsers(String groupname)
Find all Users that are members of a Group
|
List<String> findAll()
org.springframework.security.access.AccessDeniedException - Not an AdministratorList<String> findAll(String filter)
filter - Filter Criterion for the Nameorg.springframework.security.access.AccessDeniedException - Not an AdministratorList<String> findAllUsers(String groupname)
groupname - Name of the Grouporg.springframework.security.access.AccessDeniedException - Not an AdministratorOwncloudGroupNotFoundException - Group doesn't existList<String> findAllGroups(String username)
username - Name of the Userorg.springframework.security.access.AccessDeniedException - Neither an Administrator nor the Ownerorg.springframework.security.core.userdetails.UsernameNotFoundException - User doesn't existvoid create(String groupname)
groupname - Name of the new Grouporg.springframework.security.access.AccessDeniedException - either Modifications are not allowed OwncloudProperties#isEnableModifications() or not an AdministratorOwncloudGroupAlreadyExistsException - Group already existsvoid delete(String groupname)
groupname - Name of the Group to be removedorg.springframework.security.access.AccessDeniedException - either Modifications are not allowed OwncloudProperties#isEnableModifications() or not an AdministratorOwncloudGroupNotFoundException - Group doesn't exist anymoreCopyright © 2016–2020 coolstuff.software. All rights reserved.