Interface TableIndexDAO

All Superinterfaces:
GrouperDAO
All Known Implementing Classes:
Hib3TableIndexDAO

public interface TableIndexDAO extends GrouperDAO
  • Method Details

    • saveOrUpdate

      void saveOrUpdate(TableIndex tableIndex)
      insert or update a tableIndex
      Parameters:
      tableIndex -
    • delete

      void delete(TableIndex tableIndex)
      delete a table index
      Parameters:
      tableIndex -
    • findById

      TableIndex findById(String id, boolean exceptionIfNotFound)
      Parameters:
      id -
      exceptionIfNotFound -
      Returns:
      the table index
    • findByType

      TableIndex findByType(TableIndexType tableIndexType)
      find by type
      Parameters:
      tableIndexType -
      Returns:
      the table index
    • reserveIds

      TableIndex reserveIds(TableIndexType tableIndexType, int numberOfIndicesToReserve)
      reserve a certain amount of indices
      Parameters:
      tableIndexType -
      numberOfIndicesToReserve -
      Returns:
      the tabe index that was saved (subtract the number of indices to reserve to see the start index