com.atlassian.crowd.embedded.hibernate2
Interface InternalGroupDao

All Superinterfaces:
com.atlassian.crowd.embedded.spi.GroupDao
All Known Implementing Classes:
CachedCrowdGroupDao, HibernateGroupDao

public interface InternalGroupDao
extends com.atlassian.crowd.embedded.spi.GroupDao

Private-ish interface for methods that should only be called by other DAOs. If you are calling anything on this interface from outside this package, you are Doing It Wrong.


Method Summary
 com.atlassian.crowd.model.group.InternalGroup internalFindByGroup(com.atlassian.crowd.model.group.Group group)
          Find the persistent group object that corresponds to the provided group.
 com.atlassian.crowd.model.group.InternalGroup internalFindByName(long directoryId, java.lang.String groupName)
          Find a persistent group object from a given directory and group name
 void removeAllGroups(long directoryId)
          Remove all groups from a particular directory (used when deleting an internal directory)
 
Methods inherited from interface com.atlassian.crowd.embedded.spi.GroupDao
add, addAll, addLocal, findByName, findByNameWithAttributes, remove, removeAllGroups, removeAttribute, rename, search, storeAttributes, update
 

Method Detail

internalFindByName

com.atlassian.crowd.model.group.InternalGroup internalFindByName(long directoryId,
                                                                 java.lang.String groupName)
                                                                 throws com.atlassian.crowd.exception.GroupNotFoundException
Find a persistent group object from a given directory and group name

Throws:
com.atlassian.crowd.exception.GroupNotFoundException

internalFindByGroup

com.atlassian.crowd.model.group.InternalGroup internalFindByGroup(com.atlassian.crowd.model.group.Group group)
                                                                  throws com.atlassian.crowd.exception.GroupNotFoundException
Find the persistent group object that corresponds to the provided group.

Throws:
com.atlassian.crowd.exception.GroupNotFoundException

removeAllGroups

void removeAllGroups(long directoryId)
Remove all groups from a particular directory (used when deleting an internal directory)



Copyright © 2003-2014 Atlassian. All Rights Reserved.