Interface DestinationDao<T extends AbstractDestinationModel>

    • Method Detail

      • getDestinationsByDestinationTargetId

        java.util.List<T> getDestinationsByDestinationTargetId​(java.lang.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)
        java.util.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​(java.lang.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

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

        java.util.List<ExposedDestinationModel> findActiveExposedDestinationsByClientId​(java.lang.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)
        java.util.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

        java.util.List<ExposedDestinationModel> findActiveExposedDestinationsByDestinationTargetId​(java.lang.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​(java.lang.String destinationId,
                                                      java.lang.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

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

        java.util.List<ExposedDestinationModel> findExposedDestinationsByCredentialId​(java.lang.String credentialId)
        Find all consumed destinations
        Returns:
        the list of consumed destinations