Class DuracloudGroupServiceImpl

java.lang.Object
org.duracloud.account.db.util.impl.DuracloudGroupServiceImpl
All Implemented Interfaces:
DuracloudGroupService

@Component("duracloudGroupService") public class DuracloudGroupServiceImpl extends Object implements DuracloudGroupService
Author:
Daniel Bernstein Date: Nov 11, 2011
  • Constructor Summary

    Constructors
    Constructor
    Description
    DuracloudGroupServiceImpl(org.duracloud.account.db.repo.DuracloudRepoMgr duracloudRepoMgr, org.duracloud.common.changenotifier.AccountChangeNotifier accountChangeNotifier)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.duracloud.account.db.model.DuracloudGroup
    createGroup(String name, Long acctId)
     
    void
    deleteGroup(org.duracloud.account.db.model.DuracloudGroup group, Long acctId)
    Deletes a group.
    org.duracloud.account.db.model.DuracloudGroup
    getGroup(String name, Long acctId)
     
    Set<org.duracloud.account.db.model.DuracloudGroup>
    getGroups(Long acctId)
    Returns a set of groups associated with the underlying Account.
    protected final boolean
    This method is 'protected' for testing purposes only.
    void
    updateGroupUsers(org.duracloud.account.db.model.DuracloudGroup group, Set<org.duracloud.account.db.model.DuracloudUser> users, Long acctId)
    This method replaces the users (if any) associated with the specified group.

    Methods inherited from class java.lang.Object

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

    • DuracloudGroupServiceImpl

      @Autowired public DuracloudGroupServiceImpl(org.duracloud.account.db.repo.DuracloudRepoMgr duracloudRepoMgr, org.duracloud.common.changenotifier.AccountChangeNotifier accountChangeNotifier)
  • Method Details