org.alfresco.bm.event
Interface ResultService


public interface ResultService

Service interface providing methods to store and query for event results.

Since:
1.0
Author:
Derek Hulley

Method Summary
 List<RecordedEvent> findEventsByName(String name, int skip, int limit)
          Find previously-completed events with the given name
 RecordedEvent recordResult(RecordedEvent result)
          Simply store an event for later use
 

Method Detail

recordResult

RecordedEvent recordResult(RecordedEvent result)
Simply store an event for later use

Parameters:
result - the result to store
Returns:
Returns the result as persisted

findEventsByName

List<RecordedEvent> findEventsByName(String name,
                                     int skip,
                                     int limit)
Find previously-completed events with the given name

Parameters:
name - the name of the event as recorded
skip - the number of results to skip (for paging)
limit - the number of results to retrieve
Returns:
Returns any recorded results with the given name


Copyright © 2012. All Rights Reserved.