Class DefaultEventConfigurationDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
-
- de.hybris.platform.apiregistryservices.dao.impl.DefaultEventConfigurationDao
-
- All Implemented Interfaces:
EventConfigurationDao,Dao
public class DefaultEventConfigurationDao extends AbstractItemDao implements EventConfigurationDao
Default implementation of the interfaceEventConfigurationDao
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringEVENTCHANNEL_PARAMETERprotected static java.lang.StringEVENTCLASS_PARAMETERprotected static java.lang.StringEVENTDESTINATION_PARAMETERprotected static java.lang.StringEXPORTFLAG_PARAMETERprotected static java.lang.StringGET_ALL_EC_BY_CHANNELprotected static java.lang.StringGET_ALL_EC_BY_TARGETprotected static java.lang.StringGET_ALL_EC_QUERYprotected static java.lang.StringGET_EVENT_CONFIGURATIONS_BY_DESTINATION_TARGETprotected static java.lang.StringNON_TEMPLATE_DT_CLAUSEprotected static java.lang.StringREGISTRATION_STATUSprotected static java.lang.StringWHERE_EVENT_CLAUSE-
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService
-
-
Constructor Summary
Constructors Constructor Description DefaultEventConfigurationDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<EventConfigurationModel>findActiveEventConfigsByChannel(DestinationChannel channel)Deprecated, for removal: This API element is subject to removal in a future version.since 1905java.util.List<EventConfigurationModel>findActiveEventConfigsByClass(java.lang.String eventClass)Fetch list of all active events.java.util.List<EventConfigurationModel>findActiveEventConfigsByDestinationTargetId(java.lang.String destinationTargetId)Fetch list of active events for DestinationTarget.java.util.List<EventConfigurationModel>findEventConfigsByDestinationTargetId(java.lang.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 Detail
-
EXPORTFLAG_PARAMETER
protected static final java.lang.String EXPORTFLAG_PARAMETER
- See Also:
- Constant Field Values
-
EVENTCLASS_PARAMETER
protected static final java.lang.String EVENTCLASS_PARAMETER
- See Also:
- Constant Field Values
-
EVENTDESTINATION_PARAMETER
protected static final java.lang.String EVENTDESTINATION_PARAMETER
- See Also:
- Constant Field Values
-
EVENTCHANNEL_PARAMETER
protected static final java.lang.String EVENTCHANNEL_PARAMETER
- See Also:
- Constant Field Values
-
REGISTRATION_STATUS
protected static final java.lang.String REGISTRATION_STATUS
- See Also:
- Constant Field Values
-
NON_TEMPLATE_DT_CLAUSE
protected static final java.lang.String NON_TEMPLATE_DT_CLAUSE
- See Also:
- Constant Field Values
-
GET_ALL_EC_QUERY
protected static final java.lang.String GET_ALL_EC_QUERY
- See Also:
- Constant Field Values
-
GET_ALL_EC_BY_TARGET
protected static final java.lang.String GET_ALL_EC_BY_TARGET
- See Also:
- Constant Field Values
-
GET_ALL_EC_BY_CHANNEL
protected static final java.lang.String GET_ALL_EC_BY_CHANNEL
- See Also:
- Constant Field Values
-
WHERE_EVENT_CLAUSE
protected static final java.lang.String WHERE_EVENT_CLAUSE
- See Also:
- Constant Field Values
-
GET_EVENT_CONFIGURATIONS_BY_DESTINATION_TARGET
protected static final java.lang.String GET_EVENT_CONFIGURATIONS_BY_DESTINATION_TARGET
- See Also:
- Constant Field Values
-
-
Method Detail
-
findActiveEventConfigsByClass
public java.util.List<EventConfigurationModel> findActiveEventConfigsByClass(java.lang.String eventClass)
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 java.util.List<EventConfigurationModel> findActiveEventConfigsByDestinationTargetId(java.lang.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 java.util.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 java.util.List<EventConfigurationModel> findEventConfigsByDestinationTargetId(java.lang.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
-
-