Class GroupsServiceImpl

java.lang.Object
de.aservo.confapi.crowd.service.GroupsServiceImpl
All Implemented Interfaces:
GroupsService

@Component public class GroupsServiceImpl extends Object implements GroupsService
  • Constructor Summary

    Constructors
    Constructor
    Description
    GroupsServiceImpl(com.atlassian.crowd.manager.directory.DirectoryManager directoryManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    de.aservo.confapi.commons.model.GroupBean
    createGroup(long directoryId, de.aservo.confapi.commons.model.GroupBean groupBean)
    Create a group.
    de.aservo.confapi.commons.model.GroupBean
    getGroup(long directoryId, String groupName)
    Get the group.
    de.aservo.confapi.commons.model.GroupBean
    setGroup(long directoryId, String groupName, de.aservo.confapi.commons.model.GroupBean groupBean)
    Set (add or update) group.
    setGroups(long directoryId, GroupsBean groupsBean)
    Set (add or update) groups.
    de.aservo.confapi.commons.model.GroupBean
    updateGroup(long directoryId, String groupName, de.aservo.confapi.commons.model.GroupBean groupBean)
    Update a group.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GroupsServiceImpl

      @Inject public GroupsServiceImpl(com.atlassian.crowd.manager.directory.DirectoryManager directoryManager)
  • Method Details

    • getGroup

      public de.aservo.confapi.commons.model.GroupBean getGroup(long directoryId, String groupName)
      Description copied from interface: GroupsService
      Get the group.
      Specified by:
      getGroup in interface GroupsService
      Parameters:
      directoryId - the directory id
      groupName - 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: GroupsService
      Create a group.
      Specified by:
      createGroup in interface GroupsService
      Parameters:
      directoryId - the directory id
      groupBean - 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: GroupsService
      Update a group.
      Specified by:
      updateGroup in interface GroupsService
      Parameters:
      directoryId - the directory id
      groupName - the group name
      groupBean - 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: GroupsService
      Set (add or update) group.
      Specified by:
      setGroup in interface GroupsService
      Parameters:
      directoryId - the directory id
      groupName - the group name
      groupBean - the group bean
      Returns:
      the set user bean
    • setGroups

      public GroupsBean setGroups(long directoryId, GroupsBean groupsBean)
      Description copied from interface: GroupsService
      Set (add or update) groups.
      Specified by:
      setGroups in interface GroupsService
      Parameters:
      directoryId - the directory id
      groupsBean - the groups bean
      Returns:
      the set group beans