edu.internet2.middleware.grouper.internal.dao
Interface PITGroupDAO

All Superinterfaces:
GrouperDAO
All Known Implementing Classes:
Hib3PITGroupDAO

public interface PITGroupDAO
extends GrouperDAO


Method Summary
 void delete(PITGroup pitGroup)
          delete
 void delete(String id)
          Delete (won't run pre and post delete methods)
 void deleteInactiveRecords(Timestamp time)
          Delete records that ended before the given date.
 Set<String> findActiveDuplicates()
           
 PITGroup findById(String id, boolean exceptionIfNotFound)
           
 Set<PITGroup> findByName(String groupName, boolean orderByStartTime)
           
 Set<PITGroup> findByPITStemId(String id)
           
 Set<PITGroup> findBySourceId(String id, boolean exceptionIfNotFound)
           
 PITGroup findBySourceIdActive(String id, boolean exceptionIfNotFound)
           
 PITGroup findBySourceIdUnique(String id, boolean exceptionIfNotFound)
           
 Set<Group> findMissingActivePITGroups()
           
 Set<PITGroup> findMissingInactivePITGroups()
           
 Set<PITGroup> findRolesWithPermissionsContainingObject(PITAttributeAssign assign)
          Find the roles that have permissions containing the specified object
 Set<PITGroup> findRolesWithPermissionsContainingObject(PITAttributeAssignActionSet actionSet)
          Find the roles that have permissions containing the specified object
 Set<PITGroup> findRolesWithPermissionsContainingObject(PITAttributeDefNameSet attributeDefNameSet)
          Find the roles that have permissions containing the specified object
 Set<PITGroup> findRolesWithPermissionsContainingObject(PITMembership membership)
          Find the roles that have permissions containing the specified object
 Set<PITGroup> findRolesWithPermissionsContainingObject(PITRoleSet roleSet)
          Find the roles that have permissions containing the specified object
 Set<PITGroup> getAllGroupsMembershipSecure(String pitMemberId, String pitFieldId, String scope, PITStem pitStem, Stem.Scope stemScope, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, QueryOptions queryOptions)
          Get all the groups that a member is a member of.
 void saveOrUpdate(PITGroup pitGroup)
          insert or update
 void saveOrUpdate(Set<PITGroup> pitGroups)
          insert or update
 

Method Detail

saveOrUpdate

void saveOrUpdate(PITGroup pitGroup)
insert or update

Parameters:
pitGroup -

saveOrUpdate

void saveOrUpdate(Set<PITGroup> pitGroups)
insert or update

Parameters:
pitGroups -

delete

void delete(PITGroup pitGroup)
delete

Parameters:
pitGroup -

findBySourceIdActive

PITGroup findBySourceIdActive(String id,
                              boolean exceptionIfNotFound)
Parameters:
id -
exceptionIfNotFound -
Returns:
PITGroup

findById

PITGroup findById(String id,
                  boolean exceptionIfNotFound)
Parameters:
id -
exceptionIfNotFound -
Returns:
PITGroup

findBySourceIdUnique

PITGroup findBySourceIdUnique(String id,
                              boolean exceptionIfNotFound)
Parameters:
id -
exceptionIfNotFound -
Returns:
PITGroup

findBySourceId

Set<PITGroup> findBySourceId(String id,
                             boolean exceptionIfNotFound)
Parameters:
id -
exceptionIfNotFound -
Returns:
set of pit groups

findByName

Set<PITGroup> findByName(String groupName,
                         boolean orderByStartTime)
Parameters:
groupName -
orderByStartTime -
Returns:
set of pit groups

deleteInactiveRecords

void deleteInactiveRecords(Timestamp time)
Delete records that ended before the given date.

Parameters:
time -

findByPITStemId

Set<PITGroup> findByPITStemId(String id)
Parameters:
id -
Returns:
set of PITGroup

getAllGroupsMembershipSecure

Set<PITGroup> getAllGroupsMembershipSecure(String pitMemberId,
                                           String pitFieldId,
                                           String scope,
                                           PITStem pitStem,
                                           Stem.Scope stemScope,
                                           Timestamp pointInTimeFrom,
                                           Timestamp pointInTimeTo,
                                           QueryOptions queryOptions)
Get all the groups that a member is a member of.

Parameters:
pitMemberId -
pitFieldId -
scope -
pitStem -
stemScope -
pointInTimeFrom -
pointInTimeTo -
queryOptions -
Returns:
set of pit groups

findMissingActivePITGroups

Set<Group> findMissingActivePITGroups()
Returns:
active groups that are missing in point in time

findMissingInactivePITGroups

Set<PITGroup> findMissingInactivePITGroups()
Returns:
active point in time groups that should be inactive

findRolesWithPermissionsContainingObject

Set<PITGroup> findRolesWithPermissionsContainingObject(PITAttributeAssign assign)
Find the roles that have permissions containing the specified object

Parameters:
assign -
Returns:
set of pit groups

findRolesWithPermissionsContainingObject

Set<PITGroup> findRolesWithPermissionsContainingObject(PITAttributeAssignActionSet actionSet)
Find the roles that have permissions containing the specified object

Parameters:
actionSet -
Returns:
set of pit groups

findRolesWithPermissionsContainingObject

Set<PITGroup> findRolesWithPermissionsContainingObject(PITAttributeDefNameSet attributeDefNameSet)
Find the roles that have permissions containing the specified object

Parameters:
attributeDefNameSet -
Returns:
set of pit groups

findRolesWithPermissionsContainingObject

Set<PITGroup> findRolesWithPermissionsContainingObject(PITRoleSet roleSet)
Find the roles that have permissions containing the specified object

Parameters:
roleSet -
Returns:
set of pit groups

findRolesWithPermissionsContainingObject

Set<PITGroup> findRolesWithPermissionsContainingObject(PITMembership membership)
Find the roles that have permissions containing the specified object

Parameters:
membership -
Returns:
set of pit groups

findActiveDuplicates

Set<String> findActiveDuplicates()
Returns:
source ids of records that have duplicate active entries in PIT

delete

void delete(String id)
Delete (won't run pre and post delete methods)

Parameters:
id -