Interface PITRoleSetDAO

All Superinterfaces:
GrouperDAO
All Known Implementing Classes:
Hib3PITRoleSetDAO

public interface PITRoleSetDAO extends GrouperDAO
  • Method Details

    • saveOrUpdate

      void saveOrUpdate(PITRoleSet pitRoleSet)
      insert or update
      Parameters:
      pitRoleSet -
    • saveOrUpdate

      void saveOrUpdate(Set<PITRoleSet> pitRoleSets)
      insert or update
      Parameters:
      pitRoleSets -
    • delete

      void delete(PITRoleSet pitRoleSet)
      delete
      Parameters:
      pitRoleSet -
    • findBySourceIdActive

      PITRoleSet findBySourceIdActive(String id, boolean exceptionIfNotFound)
      Parameters:
      id -
      exceptionIfNotFound -
      Returns:
      PITRoleSet
    • findById

      PITRoleSet findById(String id, boolean exceptionIfNotFound)
      Parameters:
      id -
      exceptionIfNotFound -
      Returns:
      PITRoleSet
    • findBySourceIdUnique

      PITRoleSet findBySourceIdUnique(String id, boolean exceptionIfNotFound)
      Parameters:
      id -
      exceptionIfNotFound -
      Returns:
      PITRoleSet
    • deleteInactiveRecords

      long deleteInactiveRecords(Timestamp time)
      Delete records that ended before the given date.
      Parameters:
      time -
    • findImmediateChildren

      Set<PITRoleSet> findImmediateChildren(PITRoleSet pitRoleSet)
      Parameters:
      pitRoleSet -
      Returns:
      pit role sets
    • findAllSelfPITRoleSetsByPITRoleId

      Set<PITRoleSet> findAllSelfPITRoleSetsByPITRoleId(String id)
      Parameters:
      id -
      Returns:
      pit role sets
    • deleteSelfByPITRoleId

      void deleteSelfByPITRoleId(String id)
      Parameters:
      id -
    • findByThenHasPITRoleId

      Set<PITRoleSet> findByThenHasPITRoleId(String id)
      Parameters:
      id -
      Returns:
      pit role sets
    • findMissingActivePITRoleSets

      Set<RoleSet> findMissingActivePITRoleSets()
      Returns:
      active role sets that are missing in point in time
    • findMissingInactivePITRoleSets

      Set<PITRoleSet> findMissingInactivePITRoleSets()
      Returns:
      active point in time role sets that should be inactive
    • findActiveDuplicates

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

      Set<PITRoleSet> findBySourceId(String id, boolean exceptionIfNotFound)
      Parameters:
      id -
      exceptionIfNotFound -
      Returns:
      set of PITRoleSet
    • delete

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