Class DefaultDestinationDao<T extends AbstractDestinationModel>
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.apiregistryservices.dao.impl.DefaultDestinationDao<T>
- Type Parameters:
T- the type parameter which extends theAbstractDestinationModeltype
- All Implemented Interfaces:
DestinationDao,Dao
public class DefaultDestinationDao<T extends AbstractDestinationModel>
extends AbstractItemDao
implements DestinationDao
Default implementation of
DestinationDao-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
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 destinationTargetMethods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Field Details
-
SELECT_PK_FROM
- See Also:
-
ID_PARAMETER
- See Also:
-
TARGET_PARAMETER
- See Also:
-
CHANNEL_PARAMETER
- See Also:
-
ACTIVE_PARAMETER
- See Also:
-
AND
- See Also:
-
NON_TEMPLATE_DT_CLAUSE
- See Also:
-
GET_ALL_D_QUERY
- See Also:
-
GET_ALL_NONTEMPLATE_D_QUERY
- See Also:
-
GET_ALL_CONSUMED_D_QUERY
- See Also:
-
GET_ALL_D_BY_TARGET
- See Also:
-
ID_CLAUSE
- See Also:
-
AND_ACTIVE_CLAUSE
- See Also:
-
GET_ALL_D_BY_CHANNEL
- See Also:
-
AND_TEMPLATE_CLAUSE
- See Also:
-
GET_ALL_EXPOSED_BY_CLIENT_QUERY
- See Also:
-
GET_ACTIVE_EXPOSED_DESTINATIONS_BY_TARGET
- See Also:
-
GET_DESTINATIONS_BY_ID_AND_TARGET
- See Also:
-
GET_ALL_EXPOSED_DESTINATIONS_BY_CREDENTIAL_ID
- See Also:
-
-
Constructor Details
-
DefaultDestinationDao
public DefaultDestinationDao()
-
-
Method Details
-
getDestinationsByChannel
@Deprecated(since="1905", forRemoval=true) public List<T> getDestinationsByChannel(DestinationChannel channel) Deprecated, for removal: This API element is subject to removal in a future version.since 1905. UseDestinationDao.getDestinationsByDestinationTargetId(String)Description copied from interface:DestinationDaoFind destinations for specific channel- Specified by:
getDestinationsByChannelin interfaceDestinationDao<T extends AbstractDestinationModel>- Parameters:
channel- the DestinationChannel- Returns:
- List of destinations for the given channel
-
getDestinationsByDestinationTargetId
Description copied from interface:DestinationDaoFind destinations for specific destinationTarget- Specified by:
getDestinationsByDestinationTargetIdin interfaceDestinationDao<T extends AbstractDestinationModel>- Parameters:
destinationTargetId- the id of the DestinationTarget- Returns:
- List of destinations for the given DestinationTarget
-
getDestinationById
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:DestinationDaoGet the destination for a specific id- Specified by:
getDestinationByIdin interfaceDestinationDao<T extends AbstractDestinationModel>- Parameters:
id- The unique identifier of destination- Returns:
- AbstractDestinationModel
-
findAllDestinations
Description copied from interface:DestinationDaoFind all destinations- Specified by:
findAllDestinationsin interfaceDestinationDao<T extends AbstractDestinationModel>- Returns:
- the list of destinations
-
findActiveExposedDestinationsByClientId
Description copied from interface:DestinationDaoFind the list of active destinations for specific clientId- Specified by:
findActiveExposedDestinationsByClientIdin interfaceDestinationDao<T extends AbstractDestinationModel>- Parameters:
clientId- The clientId of OAuthClientDetails- Returns:
- a List of Destinations by the ExposedOAuthCredential clientId
-
findActiveExposedDestinationsByChannel
@Deprecated(since="1905", forRemoval=true) public List<ExposedDestinationModel> findActiveExposedDestinationsByChannel(DestinationChannel channel) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:DestinationDaoFind the list of active destinations for specific channel- Specified by:
findActiveExposedDestinationsByChannelin interfaceDestinationDao<T extends AbstractDestinationModel>- Parameters:
channel- The channel assigned to Destinations- Returns:
- a List of Destinations by the credential
-
findActiveExposedDestinationsByDestinationTargetId
public List<ExposedDestinationModel> findActiveExposedDestinationsByDestinationTargetId(String destinationTargetId) Description copied from interface:DestinationDaoFind the list of active exposed destinations for a specific destination target- Specified by:
findActiveExposedDestinationsByDestinationTargetIdin interfaceDestinationDao<T extends AbstractDestinationModel>- Parameters:
destinationTargetId- id of the destination target- Returns:
- a list of exposed destinations
-
findDestinationByIdAndByDestinationTargetId
public T findDestinationByIdAndByDestinationTargetId(String destinationId, String destinationTargetId) Description copied from interface:DestinationDaoFind the destination for a specific destination and a specific destination id- Specified by:
findDestinationByIdAndByDestinationTargetIdin interfaceDestinationDao<T extends AbstractDestinationModel>- Parameters:
destinationId- id of the destinationdestinationTargetId- id of the destination target- Returns:
- the destination
-
findAllConsumedDestinations
Description copied from interface:DestinationDaoFind all consumed destinations- Specified by:
findAllConsumedDestinationsin interfaceDestinationDao<T extends AbstractDestinationModel>- Returns:
- the list of consumed destinations
-
findExposedDestinationsByCredentialId
Description copied from interface:DestinationDaoFind all consumed destinations- Specified by:
findExposedDestinationsByCredentialIdin interfaceDestinationDao<T extends AbstractDestinationModel>- Parameters:
credentialId- id ofAbstractCredentialModel- Returns:
- the list of consumed destinations
-
findAllDestinationsByCredentialId
Description copied from interface:DestinationDaoFind all destinations for a specific credential- Specified by:
findAllDestinationsByCredentialIdin interfaceDestinationDao<T extends AbstractDestinationModel>- Parameters:
credentialId- id ofAbstractCredentialModel- Returns:
- the list of
AbstractDestinationModel
-