T - the type parameter which extends the AbstractDestinationModel typepublic class DefaultDestinationService<T extends AbstractDestinationModel> extends java.lang.Object implements DestinationService
DestinationService| Constructor and Description |
|---|
DefaultDestinationService() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ExposedDestinationModel> |
getActiveExposedDestinationsByChannel(DestinationChannel channel)
Find the list of destinations for specific channel
|
java.util.List<ExposedDestinationModel> |
getActiveExposedDestinationsByClientId(java.lang.String clientId)
Find the list of active destinations for specific clientId
|
java.util.List |
getAllDestinations()
Get all destinations
|
T |
getDestinationById(java.lang.String id)
Find the destination for specific id
|
protected DestinationDao<T> |
getDestinationDao() |
java.util.List<T> |
getDestinationsByChannel(DestinationChannel channel)
Find destinations for specific channel
|
java.util.List<T> |
getDestinationsByDestinationTargetId(java.lang.String destinationTargetId)
Find destinations for specific destinationTarget
|
void |
setDestinationDao(DestinationDao<T> destinationDao) |
public java.util.List<T> getDestinationsByChannel(DestinationChannel channel)
DestinationServicegetDestinationsByChannel in interface DestinationServicechannel - the channel of the destinationpublic java.util.List<T> getDestinationsByDestinationTargetId(java.lang.String destinationTargetId)
DestinationServicegetDestinationsByDestinationTargetId in interface DestinationServicedestinationTargetId - the id of the DestinationTargetpublic java.util.List<ExposedDestinationModel> getActiveExposedDestinationsByClientId(java.lang.String clientId)
DestinationServicegetActiveExposedDestinationsByClientId in interface DestinationServiceclientId - The clientId of OAuthClientDetailspublic java.util.List<ExposedDestinationModel> getActiveExposedDestinationsByChannel(DestinationChannel channel)
DestinationServicegetActiveExposedDestinationsByChannel in interface DestinationServicechannel - The channel assigned to Destinationspublic T getDestinationById(java.lang.String id)
DestinationServicegetDestinationById in interface DestinationServiceid - the id of the destinationpublic java.util.List getAllDestinations()
DestinationServicegetAllDestinations in interface DestinationServiceprotected DestinationDao<T> getDestinationDao()
public void setDestinationDao(DestinationDao<T> destinationDao)
Copyright © 2018 SAP SE. All Rights Reserved.