Class DefaultEventConfigurationDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.apiregistryservices.dao.impl.DefaultEventConfigurationDao
- All Implemented Interfaces:
EventConfigurationDao,Dao
Default implementation of the interface
EventConfigurationDao-
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 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 1905findActiveEventConfigsByClass(String eventClass) Fetch list of all active events.findActiveEventConfigsByDestinationTargetId(String destinationTargetId) Fetch list of active events for DestinationTarget.findEventConfigsByDestinationTargetId(String destinationTargetId) Fetch list of all events for the given DestinationTarget.Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Field Details
-
EXPORTFLAG_PARAMETER
- See Also:
-
EVENTCLASS_PARAMETER
- See Also:
-
EVENTDESTINATION_PARAMETER
- See Also:
-
EVENTCHANNEL_PARAMETER
- See Also:
-
REGISTRATION_STATUS
- See Also:
-
NON_TEMPLATE_DT_CLAUSE
- See Also:
-
GET_ALL_EC_QUERY
- See Also:
-
GET_ALL_EC_BY_TARGET
- See Also:
-
GET_ALL_EC_BY_CHANNEL
- See Also:
-
WHERE_EVENT_CLAUSE
- See Also:
-
GET_EVENT_CONFIGURATIONS_BY_DESTINATION_TARGET
- See Also:
-
-
Constructor Details
-
DefaultEventConfigurationDao
public DefaultEventConfigurationDao()
-
-
Method Details
-
findActiveEventConfigsByClass
Description copied from interface:EventConfigurationDaoFetch list of all active events. Its destination target must be in 'Registered' status and its template flag must be false. The Active means export flag of such events is true.- Specified by:
findActiveEventConfigsByClassin interfaceEventConfigurationDao- Parameters:
eventClass- EventConfigurationModel.eventClass- Returns:
- List
-
findActiveEventConfigsByDestinationTargetId
public List<EventConfigurationModel> findActiveEventConfigsByDestinationTargetId(String destinationTargetId) Description copied from interface:EventConfigurationDaoFetch list of active events for DestinationTarget. The Active means export flag of such events is true.- Specified by:
findActiveEventConfigsByDestinationTargetIdin interfaceEventConfigurationDao- Parameters:
destinationTargetId- the id of the DestinationTarget- Returns:
- List
-
findActiveEventConfigsByChannel
@Deprecated(since="1905", forRemoval=true) public List<EventConfigurationModel> findActiveEventConfigsByChannel(DestinationChannel channel) Deprecated, for removal: This API element is subject to removal in a future version.since 1905Description copied from interface:EventConfigurationDaoFetch list of active events for eventChannel. The Active means export flag of such events is true.- Specified by:
findActiveEventConfigsByChannelin interfaceEventConfigurationDao- Parameters:
channel- the id of the DestinationTarget- Returns:
- List
-
findEventConfigsByDestinationTargetId
public List<EventConfigurationModel> findEventConfigsByDestinationTargetId(String destinationTargetId) Description copied from interface:EventConfigurationDaoFetch list of all events for the given DestinationTarget.- Specified by:
findEventConfigsByDestinationTargetIdin interfaceEventConfigurationDao- Parameters:
destinationTargetId- the id of the destination target- Returns:
- List
-