org.qi4j.spi.entitystore

## Class EntityStateVersions.EntityStateVersionsMixin

- java.lang.Object
- - org.qi4j.spi.entitystore.EntityStateVersions.EntityStateVersionsMixin

- All Implemented Interfaces:
    EntityStateVersions
  Enclosing interface:
    EntityStateVersions

      public static class EntityStateVersions.EntityStateVersionsMixin
      extends Object
      implements EntityStateVersions

  Entity versions state mixin.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.qi4j.spi.entitystore.EntityStateVersions

      `EntityStateVersions.EntityStateVersionsMixin`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EntityStateVersions.EntityStateVersionsMixin()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `checkForConcurrentModification(Iterable<EntityState> loaded, ModuleSpi module, long currentTime)`
    `void` | `forgetVersions(Iterable<EntityState> states)`
    `void` | `rememberVersion(EntityReference identity, String version)`

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

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

- - ### Constructor Detail

    - #### EntityStateVersions.EntityStateVersionsMixin

          public EntityStateVersions.EntityStateVersionsMixin()

  - ### Method Detail

    - #### forgetVersions

          public void forgetVersions(Iterable<EntityState> states)

      Specified by:
        `forgetVersions` in interface `EntityStateVersions`

    - #### rememberVersion

          public void rememberVersion(EntityReference identity,
                             String version)

      Specified by:
        `rememberVersion` in interface `EntityStateVersions`

    - #### checkForConcurrentModification

          public void checkForConcurrentModification(Iterable<EntityState> loaded,
                                            ModuleSpi module,
                                            long currentTime)
                                              throws ConcurrentEntityStateModificationException

      Specified by:
        `checkForConcurrentModification` in interface `EntityStateVersions`
      Throws:
        `ConcurrentEntityStateModificationException`