org.qi4j.library.eventsourcing.domain.source.helper

## Class Events

- java.lang.Object
- - org.qi4j.library.eventsourcing.domain.source.helper.Events

-     public class Events
      extends Object

  Helper methods for working with Iterables of DomainEvents and UnitOfWorkDomainEventsValue.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Events()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Specification<UnitOfWorkDomainEventsValue>` | `afterDate(Date afterDate)`
    `static Specification<UnitOfWorkDomainEventsValue>` | `beforeDate(Date afterDate)`
    `static Specification<UnitOfWorkDomainEventsValue>` | `byUser(String... by)`
    `static Iterable<DomainEventValue>` | `events(Iterable<UnitOfWorkDomainEventsValue> transactions)`
    `static Iterable<DomainEventValue>` | `events(UnitOfWorkDomainEventsValue... unitOfWorkDomainValues)`
    `static Specification<DomainEventValue>` | `onEntities(String... entities)`
    `static Specification<DomainEventValue>` | `onEntityTypes(String... entityTypes)`
    `static Specification<DomainEventValue>` | `paramIs(String name, String value)`
    `static Specification<DomainEventValue>` | `withNames(Class eventClass)`
    `static Specification<DomainEventValue>` | `withNames(Iterable<String> names)`
    `static Specification<DomainEventValue>` | `withNames(String... names)`
    `static Specification<UnitOfWorkDomainEventsValue>` | `withUsecases(String... names)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Events

          public Events()

  - ### Method Detail

    - #### events

          public static Iterable<DomainEventValue> events(Iterable<UnitOfWorkDomainEventsValue> transactions)

    - #### events

          public static Iterable<DomainEventValue> events(UnitOfWorkDomainEventsValue... unitOfWorkDomainValues)

    - #### afterDate

          public static Specification<UnitOfWorkDomainEventsValue> afterDate(Date afterDate)

    - #### beforeDate

          public static Specification<UnitOfWorkDomainEventsValue> beforeDate(Date afterDate)

    - #### withUsecases

          public static Specification<UnitOfWorkDomainEventsValue> withUsecases(String... names)

    - #### byUser

          public static Specification<UnitOfWorkDomainEventsValue> byUser(String... by)

    - #### withNames

          public static Specification<DomainEventValue> withNames(Iterable<String> names)

    - #### withNames

          public static Specification<DomainEventValue> withNames(String... names)

    - #### withNames

          public static Specification<DomainEventValue> withNames(Class eventClass)

    - #### onEntities

          public static Specification<DomainEventValue> onEntities(String... entities)

    - #### onEntityTypes

          public static Specification<DomainEventValue> onEntityTypes(String... entityTypes)

    - #### paramIs

          public static Specification<DomainEventValue> paramIs(String name,
                                                String value)