T - the type parameter which extends the AbstractDestinationModel typepublic class DefaultDestinationDao<T extends AbstractDestinationModel> extends AbstractItemDao implements DestinationDao
DestinationDao| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ACTIVE_PARAMETER |
protected static java.lang.String |
AND |
protected static java.lang.String |
AND_ACTIVE_CLAUSE |
protected static java.lang.String |
CHANNEL_PARAMETER |
protected static java.lang.String |
GET_ALL_D_BY_CHANNEL |
protected static java.lang.String |
GET_ALL_D_BY_TARGET |
protected static java.lang.String |
GET_ALL_D_QUERY |
protected static java.lang.String |
GET_ALL_EXPOSED_BY_CLIENT_QUERY |
protected static java.lang.String |
ID_CLAUSE |
protected static java.lang.String |
ID_PARAMETER |
protected static java.lang.String |
TARGET_PARAMETER |
flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultDestinationDao() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ExposedDestinationModel> |
findActiveExposedDestinationsByChannel(DestinationChannel channel)
Find the list of active destinations for specific channel
|
java.util.List<ExposedDestinationModel> |
findActiveExposedDestinationsByClientId(java.lang.String clientId)
Find the list of active destinations for specific clientId
|
java.util.List<T> |
findAllDestinations()
Find all destinations
|
T |
getDestinationById(java.lang.String id)
Get the destination for a specific id
|
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
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServiceprotected static final java.lang.String ID_PARAMETER
protected static final java.lang.String TARGET_PARAMETER
protected static final java.lang.String CHANNEL_PARAMETER
protected static final java.lang.String ACTIVE_PARAMETER
protected static final java.lang.String AND
protected static final java.lang.String GET_ALL_D_QUERY
protected static final java.lang.String GET_ALL_D_BY_TARGET
protected static final java.lang.String ID_CLAUSE
protected static final java.lang.String AND_ACTIVE_CLAUSE
protected static final java.lang.String GET_ALL_D_BY_CHANNEL
protected static final java.lang.String GET_ALL_EXPOSED_BY_CLIENT_QUERY
public java.util.List<T> getDestinationsByChannel(DestinationChannel channel)
DestinationDaogetDestinationsByChannel in interface DestinationDaochannel - the DestinationChannelpublic java.util.List<T> getDestinationsByDestinationTargetId(java.lang.String destinationTargetId)
DestinationDaogetDestinationsByDestinationTargetId in interface DestinationDaodestinationTargetId - the id of the DestinationTargetpublic T getDestinationById(java.lang.String id)
DestinationDaogetDestinationById in interface DestinationDaoid - The unique identifier of destinationpublic java.util.List<T> findAllDestinations()
DestinationDaofindAllDestinations in interface DestinationDaopublic java.util.List<ExposedDestinationModel> findActiveExposedDestinationsByClientId(java.lang.String clientId)
DestinationDaofindActiveExposedDestinationsByClientId in interface DestinationDaoclientId - The clientId of OAuthClientDetailspublic java.util.List<ExposedDestinationModel> findActiveExposedDestinationsByChannel(DestinationChannel channel)
DestinationDaofindActiveExposedDestinationsByChannel in interface DestinationDaochannel - The channel assigned to DestinationsCopyright © 2018 SAP SE. All Rights Reserved.