Interface CustomizedOAuth2AuthorizedClientEntityRepository<D>

Type Parameters:
D - the persisted-domain counterpart for OAuth2AuthorizedClientEntity
All Known Subinterfaces:
JpaOAuth2AuthorizedClientEntityRepository<D,I>, OAuth2AuthorizedClientEntityRepository<D,I>
All Known Implementing Classes:
JpaCustomizedOAuth2AuthorizedClientEntityRepository

public interface CustomizedOAuth2AuthorizedClientEntityRepository<D>
Advanced functionality related to OAuth2AuthorizedClientEntityRepository.
  • Method Details

    • insert

      D insert(D entity)
      Attempts to newly insert the given entity into the datastore.
      Parameters:
      entity - the entity to insert
      Returns:
      the inserted entity, if successful
      Throws:
      org.springframework.dao.DataIntegrityViolationException - if there was an error caused by a uniqueness violation
    • cleanupOutdatedEntities

      Deletes outdated entities as specified by request.
      Parameters:
      request - details about which entities need to be deleted
      Returns:
      a response describing the result of the execution