org.ikasan.framework.event.exclusion.service
Class ExcludedEventServiceImpl

java.lang.Object
  extended by org.ikasan.framework.event.exclusion.service.ExcludedEventServiceImpl
All Implemented Interfaces:
ExcludedEventService

public class ExcludedEventServiceImpl
extends Object
implements ExcludedEventService

Author:
The Ikasan Development Service

Constructor Summary
ExcludedEventServiceImpl(ExcludedEventDao excludedEventDao, ErrorLoggingService errorLoggingService, List<ExcludedEventListener> listeners, ModuleService moduleService)
           
 
Method Summary
 void cancel(String eventId, String canceller)
          attempts to resolve an ExcludedEvent specified by id as cancelled
 void excludeEvent(Event event, String moduleName, String flowName)
          Exclude and Event from a specified flow
 ExcludedEvent getExcludedEvent(String eventId)
          Retrieve an ExcludedEvent specified by its event Id
 PagedSearchResult<ExcludedEvent> getExcludedEvents(int pageNo, int pageSize, String orderBy, boolean orderAscending, String moduleName, String flowName)
          Returns a paged listing of ExcludedEvent
 void resubmit(String eventId, String resubmitter)
          Synchronously attempts to resubmit an ExcludedEvent specified by id
 void setTransactionManager(TransactionManager transactionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcludedEventServiceImpl

public ExcludedEventServiceImpl(ExcludedEventDao excludedEventDao,
                                ErrorLoggingService errorLoggingService,
                                List<ExcludedEventListener> listeners,
                                ModuleService moduleService)
Parameters:
excludedEventDao -
errorLoggingService -
listeners -
moduleService -
Method Detail

excludeEvent

public void excludeEvent(Event event,
                         String moduleName,
                         String flowName)
Description copied from interface: ExcludedEventService
Exclude and Event from a specified flow

Specified by:
excludeEvent in interface ExcludedEventService

getExcludedEvents

public PagedSearchResult<ExcludedEvent> getExcludedEvents(int pageNo,
                                                          int pageSize,
                                                          String orderBy,
                                                          boolean orderAscending,
                                                          String moduleName,
                                                          String flowName)
Description copied from interface: ExcludedEventService
Returns a paged listing of ExcludedEvent

Specified by:
getExcludedEvents in interface ExcludedEventService
Parameters:
pageNo - - 0 or greater, index into the list of all possible results
pageSize - - 0 or greater, no of excludedEvents to return on a page
orderBy - - field to order by
orderAscending - - in ascending order?
moduleName - - restrict by moduleName if supplied
flowName - - restrict by flowName if supplied
Returns:
PagedSearchResult

getExcludedEvent

public ExcludedEvent getExcludedEvent(String eventId)
Description copied from interface: ExcludedEventService
Retrieve an ExcludedEvent specified by its event Id

Specified by:
getExcludedEvent in interface ExcludedEventService
Returns:
ExcludedEvent

resubmit

public void resubmit(String eventId,
                     String resubmitter)
Description copied from interface: ExcludedEventService
Synchronously attempts to resubmit an ExcludedEvent specified by id

Specified by:
resubmit in interface ExcludedEventService

cancel

public void cancel(String eventId,
                   String canceller)
Description copied from interface: ExcludedEventService
attempts to resolve an ExcludedEvent specified by id as cancelled

Specified by:
cancel in interface ExcludedEventService

setTransactionManager

public void setTransactionManager(TransactionManager transactionManager)


Copyright © 2007-2012 Ikasan. All Rights Reserved.