Interface DestinationDao<T extends AbstractDestinationModel>
- Type Parameters:
T- the type parameter which extends theAbstractDestinationModeltype
- All Known Implementing Classes:
DefaultDestinationDao
public interface DestinationDao<T extends AbstractDestinationModel>
DAO for the
AbstractDestinationModel-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.since 1905.Find the list of active destinations for specific clientIdfindActiveExposedDestinationsByDestinationTargetId(String destinationTargetId) Find the list of active exposed destinations for a specific destination targetFind all consumed destinationsFind all destinationsfindAllDestinationsByCredentialId(String credentialId) Find all destinations for a specific credentialfindDestinationByIdAndByDestinationTargetId(String destinationId, String destinationTargetId) Find the destination for a specific destination and a specific destination idfindExposedDestinationsByCredentialId(String credentialId) Find all consumed destinationsDeprecated, for removal: This API element is subject to removal in a future version.since 1905.Deprecated, for removal: This API element is subject to removal in a future version.since 1905.getDestinationsByDestinationTargetId(String destinationTargetId) Find destinations for specific destinationTarget
-
Method Details
-
getDestinationsByDestinationTargetId
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.since 1905. UsegetDestinationsByDestinationTargetId(String)Find destinations for specific channel- Parameters:
channel- the DestinationChannel- Returns:
- List of destinations for the given channel
-
getDestinationById
Deprecated, for removal: This API element is subject to removal in a future version.since 1905. UsefindDestinationByIdAndByDestinationTargetId(String, String)'Get the destination for a specific id- Parameters:
id- The unique identifier of destination- Returns:
- AbstractDestinationModel
-
findAllDestinations
Find all destinations- Returns:
- the list of destinations
-
findActiveExposedDestinationsByClientId
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.since 1905. UsefindActiveExposedDestinationsByDestinationTargetId(String)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
Find the destination for a specific destination and a specific destination id- Parameters:
destinationId- id of the destinationdestinationTargetId- id of the destination target- Returns:
- the destination
-
findAllConsumedDestinations
List<ConsumedDestinationModel> findAllConsumedDestinations()Find all consumed destinations- Returns:
- the list of consumed destinations
-
findExposedDestinationsByCredentialId
Find all consumed destinations- Parameters:
credentialId- id ofAbstractCredentialModel- Returns:
- the list of consumed destinations
-
findAllDestinationsByCredentialId
Find all destinations for a specific credential- Parameters:
credentialId- id ofAbstractCredentialModel- Returns:
- the list of
AbstractDestinationModel
-