Package com.skava.helper
Class DefaultEventActionUtil
java.lang.Object
com.skava.helper.DefaultEventActionUtil
- Author:
- Infosys Equinox
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
createDefaultEventActions
(long collectionId, CacheImpl<List<EventActionAttributeEntity>> cacheImpl, EventActionAttributeRepository eventActionAttributeRepository, EventRepository eventRepository, ActionRepository actionRepository) Creates default events and actions when collection created
-
Method Details
-
createDefaultEventActions
public static void createDefaultEventActions(long collectionId, CacheImpl<List<EventActionAttributeEntity>> cacheImpl, EventActionAttributeRepository eventActionAttributeRepository, EventRepository eventRepository, ActionRepository actionRepository) Creates default events and actions when collection created- Parameters:
collectionId
-String
created collection idcacheImpl
-CacheImpl
to access cacheeventActionAttributeRepository
-EventActionAttributeRepository
eventRepository
-EventRepository
event repository for create eventsactionRepository
-ActionRepository
used to create actions
-