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 theAbstractDestinationModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.List<ExposedDestinationModel>findActiveExposedDestinationsByChannel(DestinationChannel channel)Deprecated, for removal: This API element is subject to removal in a future version.since 1905.java.util.List<ExposedDestinationModel>findActiveExposedDestinationsByClientId(java.lang.String clientId)Find the list of active destinations for specific clientIdjava.util.List<ExposedDestinationModel>findActiveExposedDestinationsByDestinationTargetId(java.lang.String destinationTargetId)Find the list of active exposed destinations for a specific destination targetjava.util.List<ConsumedDestinationModel>findAllConsumedDestinations()Find all consumed destinationsjava.util.List<T>findAllDestinations()Find all destinationsTfindDestinationByIdAndByDestinationTargetId(java.lang.String destinationId, java.lang.String destinationTargetId)Find the destination for a specific destination and a specific destination idjava.util.List<ExposedDestinationModel>findExposedDestinationsByCredentialId(java.lang.String credentialId)Find all consumed destinationsTgetDestinationById(java.lang.String id)Deprecated, for removal: This API element is subject to removal in a future version.since 1905.java.util.List<T>getDestinationsByChannel(DestinationChannel channel)Deprecated, for removal: This API element is subject to removal in a future version.since 1905.java.util.List<T>getDestinationsByDestinationTargetId(java.lang.String destinationTargetId)Find destinations for specific destinationTarget
-
-
-
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.since 1905. UsegetDestinationsByDestinationTargetId(String)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.since 1905. UsefindDestinationByIdAndByDestinationTargetId(String, String)'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.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
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 destinationdestinationTargetId- 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
-
-