org.qi4j.entitystore.prefs

## Interface PreferencesEntityStoreService

- All Superinterfaces:
    Composite, EntityStateVersions, EntityStore, Identity, ServiceActivation, ServiceComposite

      @Concerns(value=ConcurrentModificationCheckConcern.class)
      @Mixins(value=PreferencesEntityStoreMixin.class)
      public interface PreferencesEntityStoreService
      extends EntityStore, ServiceComposite, EntityStateVersions, ServiceActivation

  EntityStore backed by Preferences API.

  A root node is created in the System preferences, whose name is the same as the Application name (default:"Application").

  Each entity is stored under its identity name.

  Property types are converted to native Preferences API types as much as possible. All others will be serialized to a string using JSON.

  Associations are stored as the identity of the referenced Entity, ManyAssociations are stored as multi-line strings (one identity per line), and NamedAssociations are stored as multi-line strings (one name on a line, identity on the next line).

  The main use of the EntityStore is for storage of ConfigurationComposites for ServiceComposites.

  See Also:
    `ServiceComposite`, `Configuration`

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity

      `Identity.IdentityMixin`

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

      `EntityStateVersions.EntityStateVersionsMixin`

    - ### Nested classes/interfaces inherited from interface org.qi4j.api.service.ServiceActivation

      `ServiceActivation.ServiceActivator`

  - ### Method Summary

    - ### Methods inherited from interface org.qi4j.spi.entitystore.EntityStore

      `entityStates, newUnitOfWork`

    - ### Methods inherited from interface org.qi4j.api.entity.Identity

      `identity`

    - ### Methods inherited from interface org.qi4j.spi.entitystore.EntityStateVersions

      `checkForConcurrentModification, forgetVersions, rememberVersion`

    - ### Methods inherited from interface org.qi4j.api.service.ServiceActivation

      `activateService, passivateService`