Interface GroupsService
- All Known Implementing Classes:
GroupsServiceImpl
public interface GroupsService
-
Method Summary
Modifier and TypeMethodDescriptionde.aservo.confapi.commons.model.GroupBeancreateGroup(long directoryId, de.aservo.confapi.commons.model.GroupBean groupBean) Create a group.de.aservo.confapi.commons.model.GroupBeanGet the group.de.aservo.confapi.commons.model.GroupBeanSet (add or update) group.setGroups(long directoryId, GroupsBean groupsBean) Set (add or update) groups.de.aservo.confapi.commons.model.GroupBeanupdateGroup(long directoryId, String groupName, de.aservo.confapi.commons.model.GroupBean groupBean) Update a group.
-
Method Details
-
getGroup
Get the group.- Parameters:
directoryId- the directory idgroupName- the groupName- Returns:
- the group bean
-
setGroup
de.aservo.confapi.commons.model.GroupBean setGroup(long directoryId, String groupName, de.aservo.confapi.commons.model.GroupBean groupBean) Set (add or update) group.- Parameters:
directoryId- the directory idgroupName- the group namegroupBean- the group bean- Returns:
- the set user bean
-
createGroup
de.aservo.confapi.commons.model.GroupBean createGroup(long directoryId, de.aservo.confapi.commons.model.GroupBean groupBean) Create a group.- Parameters:
directoryId- the directory idgroupBean- the group bean- Returns:
- the group bean
-
updateGroup
de.aservo.confapi.commons.model.GroupBean updateGroup(long directoryId, String groupName, de.aservo.confapi.commons.model.GroupBean groupBean) Update a group.- Parameters:
directoryId- the directory idgroupName- the group namegroupBean- the group bean- Returns:
- the group bean
-
setGroups
Set (add or update) groups.- Parameters:
directoryId- the directory idgroupsBean- the groups bean- Returns:
- the set group beans
-