Package de.aservo.confapi.crowd.service
Class GroupsServiceImpl
java.lang.Object
de.aservo.confapi.crowd.service.GroupsServiceImpl
- All Implemented Interfaces:
GroupsService
-
Constructor Summary
ConstructorsConstructorDescriptionGroupsServiceImpl(com.atlassian.crowd.manager.directory.DirectoryManager directoryManager) -
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.
-
Constructor Details
-
GroupsServiceImpl
@Inject public GroupsServiceImpl(com.atlassian.crowd.manager.directory.DirectoryManager directoryManager)
-
-
Method Details
-
getGroup
Description copied from interface:GroupsServiceGet the group.- Specified by:
getGroupin interfaceGroupsService- Parameters:
directoryId- the directory idgroupName- the groupName- Returns:
- the group bean
-
createGroup
public de.aservo.confapi.commons.model.GroupBean createGroup(long directoryId, de.aservo.confapi.commons.model.GroupBean groupBean) Description copied from interface:GroupsServiceCreate a group.- Specified by:
createGroupin interfaceGroupsService- Parameters:
directoryId- the directory idgroupBean- the group bean- Returns:
- the group bean
-
updateGroup
public de.aservo.confapi.commons.model.GroupBean updateGroup(long directoryId, String groupName, de.aservo.confapi.commons.model.GroupBean groupBean) Description copied from interface:GroupsServiceUpdate a group.- Specified by:
updateGroupin interfaceGroupsService- Parameters:
directoryId- the directory idgroupName- the group namegroupBean- the group bean- Returns:
- the group bean
-
setGroup
public de.aservo.confapi.commons.model.GroupBean setGroup(long directoryId, String groupName, de.aservo.confapi.commons.model.GroupBean groupBean) Description copied from interface:GroupsServiceSet (add or update) group.- Specified by:
setGroupin interfaceGroupsService- Parameters:
directoryId- the directory idgroupName- the group namegroupBean- the group bean- Returns:
- the set user bean
-
setGroups
Description copied from interface:GroupsServiceSet (add or update) groups.- Specified by:
setGroupsin interfaceGroupsService- Parameters:
directoryId- the directory idgroupsBean- the groups bean- Returns:
- the set group beans
-