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 deleteInactiveRecords(java.sql.Timestamp time)
          Delete records that ended before the given date.
 PITGroup findById(java.lang.String id, boolean exceptionIfNotFound)
           
 java.util.Set<PITGroup> findByName(java.lang.String groupName, boolean orderByStartTime)
           
 java.util.Set<PITGroup> findByPITStemId(java.lang.String id)
           
 java.util.Set<PITGroup> findBySourceId(java.lang.String id, boolean exceptionIfNotFound)
           
 PITGroup findBySourceIdActive(java.lang.String id, boolean exceptionIfNotFound)
           
 PITGroup findBySourceIdUnique(java.lang.String id, boolean exceptionIfNotFound)
           
 java.util.Set<Group> findMissingActivePITGroups()
           
 java.util.Set<PITGroup> findMissingInactivePITGroups()
           
 java.util.Set<PITGroup> findRolesWithPermissionsContainingObject(PITAttributeAssign assign)
          Find the roles that have permissions containing the specified object
 java.util.Set<PITGroup> findRolesWithPermissionsContainingObject(PITAttributeAssignActionSet actionSet)
          Find the roles that have permissions containing the specified object
 java.util.Set<PITGroup> findRolesWithPermissionsContainingObject(PITAttributeDefNameSet attributeDefNameSet)
          Find the roles that have permissions containing the specified object
 java.util.Set<PITGroup> findRolesWithPermissionsContainingObject(PITMembership membership)
          Find the roles that have permissions containing the specified object
 java.util.Set<PITGroup> findRolesWithPermissionsContainingObject(PITRoleSet roleSet)
          Find the roles that have permissions containing the specified object
 java.util.Set<PITGroup> getAllGroupsMembershipSecure(java.lang.String pitMemberId, java.lang.String pitFieldId, java.lang.String scope, PITStem pitStem, Stem.Scope stemScope, java.sql.Timestamp pointInTimeFrom, java.sql.Timestamp pointInTimeTo, QueryOptions queryOptions)
          Get all the groups that a member is a member of.
 void saveOrUpdate(PITGroup pitGroup)
          insert or update
 void saveOrUpdate(java.util.Set<PITGroup> pitGroups)
          insert or update
 

Method Detail

saveOrUpdate

void saveOrUpdate(PITGroup pitGroup)
insert or update

Parameters:
pitGroup -

saveOrUpdate

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

Parameters:
pitGroups -

delete

void delete(PITGroup pitGroup)
delete

Parameters:
pitGroup -

findBySourceIdActive

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

findById

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

findBySourceIdUnique

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

findBySourceId

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

findByName

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

deleteInactiveRecords

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

Parameters:
time -

findByPITStemId

java.util.Set<PITGroup> findByPITStemId(java.lang.String id)
Parameters:
id -
Returns:
set of PITGroup

getAllGroupsMembershipSecure

java.util.Set<PITGroup> getAllGroupsMembershipSecure(java.lang.String pitMemberId,
                                                     java.lang.String pitFieldId,
                                                     java.lang.String scope,
                                                     PITStem pitStem,
                                                     Stem.Scope stemScope,
                                                     java.sql.Timestamp pointInTimeFrom,
                                                     java.sql.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

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

findMissingInactivePITGroups

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

findRolesWithPermissionsContainingObject

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

Parameters:
assign -
Returns:
set of pit groups

findRolesWithPermissionsContainingObject

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

Parameters:
actionSet -
Returns:
set of pit groups

findRolesWithPermissionsContainingObject

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

Parameters:
attributeDefNameSet -
Returns:
set of pit groups

findRolesWithPermissionsContainingObject

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

Parameters:
roleSet -
Returns:
set of pit groups

findRolesWithPermissionsContainingObject

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

Parameters:
membership -
Returns:
set of pit groups