Interface DestinationDao<T extends AbstractDestinationModel>

Type Parameters:
T - the type parameter which extends the AbstractDestinationModel type
All Known Implementing Classes:
DefaultDestinationDao

public interface DestinationDao<T extends AbstractDestinationModel>
  • Method Details

    • getDestinationsByDestinationTargetId

      List<T> getDestinationsByDestinationTargetId(String destinationTargetId)
      Find destinations for specific destinationTarget
      Parameters:
      destinationTargetId - the id of the DestinationTarget
      Returns:
      List of destinations for the given DestinationTarget
    • getDestinationsByChannel

      @Deprecated(since="1905", forRemoval=true) List<T> getDestinationsByChannel(DestinationChannel channel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Find destinations for specific channel
      Parameters:
      channel - the DestinationChannel
      Returns:
      List of destinations for the given channel
    • getDestinationById

      @Deprecated(since="1905", forRemoval=true) T getDestinationById(String id)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the destination for a specific id
      Parameters:
      id - The unique identifier of destination
      Returns:
      AbstractDestinationModel
    • findAllDestinations

      List<T> findAllDestinations()
      Find all destinations
      Returns:
      the list of destinations
    • findActiveExposedDestinationsByClientId

      List<ExposedDestinationModel> findActiveExposedDestinationsByClientId(String clientId)
      Find the list of active destinations for specific clientId
      Parameters:
      clientId - The clientId of OAuthClientDetails
      Returns:
      a List of Destinations by the ExposedOAuthCredential clientId
    • findActiveExposedDestinationsByChannel

      @Deprecated(since="1905", forRemoval=true) List<ExposedDestinationModel> findActiveExposedDestinationsByChannel(DestinationChannel channel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Find the list of active destinations for specific channel
      Parameters:
      channel - The channel assigned to Destinations
      Returns:
      a List of Destinations by the credential
    • findActiveExposedDestinationsByDestinationTargetId

      List<ExposedDestinationModel> findActiveExposedDestinationsByDestinationTargetId(String destinationTargetId)
      Find the list of active exposed destinations for a specific destination target
      Parameters:
      destinationTargetId - id of the destination target
      Returns:
      a list of exposed destinations
    • findDestinationByIdAndByDestinationTargetId

      T findDestinationByIdAndByDestinationTargetId(String destinationId, String destinationTargetId)
      Find the destination for a specific destination and a specific destination id
      Parameters:
      destinationId - id of the destination
      destinationTargetId - id of the destination target
      Returns:
      the destination
    • findAllConsumedDestinations

      List<ConsumedDestinationModel> findAllConsumedDestinations()
      Find all consumed destinations
      Returns:
      the list of consumed destinations
    • findExposedDestinationsByCredentialId

      List<ExposedDestinationModel> findExposedDestinationsByCredentialId(String credentialId)
      Find all consumed destinations
      Parameters:
      credentialId - id of AbstractCredentialModel
      Returns:
      the list of consumed destinations
    • findAllDestinationsByCredentialId

      default List<T> findAllDestinationsByCredentialId(String credentialId)
      Find all destinations for a specific credential
      Parameters:
      credentialId - id of AbstractCredentialModel
      Returns:
      the list of AbstractDestinationModel