Uses of Class
io.fluxzero.sdk.modeling.Id

Packages that use Id
  • Uses of Id in io.fluxzero.sdk

    Methods in io.fluxzero.sdk with type parameters of type Id
    Modifier and Type
    Method
    Description
    static <T extends Id<?>>
    T
    Fluxzero.generateId(Class<T> idClass)
    Generates a strongly typed ID of given idClass using the current IdentityProvider.
    Methods in io.fluxzero.sdk with parameters of type Id
    Modifier and Type
    Method
    Description
    static <T> Optional<T>
    Fluxzero.getDocument(Id<T> id)
    Fetches a document by id using the associated type to determine the collection.
    static boolean
    Fluxzero.hasDocument(Id<?> id)
    Checks whether a document exists for the given identifier and its associated type.
    static <T> Entity<T>
    Fluxzero.loadAggregate(Id<T> aggregateId)
    Loads the aggregate root of type <T> with given aggregateId.
    static <T> Graph<T>
    Fluxzero.loadCurrentGraph(Id<T> modelId)
    Loads the latest state of the independently stored model identified by the typed ID as a relationship graph.
    static <T> Entity<T>
    Fluxzero.loadEntity(Id<T> entityId)
    Loads the entity with given id.
    static <T> T
    Fluxzero.loadEntityValue(Id<T> entityId)
    Loads the current entity value for given entity id.
    static <T> Graph<T>
    Fluxzero.loadGraph(Id<T> modelId)
    Lazily loads the independently stored model identified by the typed ID as a relationship graph.
    static <T> Graph<T>
    Fluxzero.loadGraphAt(Id<T> modelId, long stateIndex)
    Reconstructs a complete historical graph at the requested durable model-state boundary.
    static <T> Entity<T>
    Fluxzero.loadModel(Id<T> modelId)
    Loads the independently stored model identified by the given typed ID.
  • Uses of Id in io.fluxzero.sdk.modeling

    Subclasses with type arguments of type Id in io.fluxzero.sdk.modeling
    Modifier and Type
    Class
    Description
    static class 
    Deserializes concrete Id subtypes from their scalar Id.functionalId representation.
    Classes in io.fluxzero.sdk.modeling that implement interfaces with type arguments of type Id
    Modifier and Type
    Class
    Description
    class 
    Id<T>
    Object that represents the identifier of a specific entity.
    Methods in io.fluxzero.sdk.modeling that return Id
    Modifier and Type
    Method
    Description
    Id<?>
    Id.IdDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context)
     
    Methods in io.fluxzero.sdk.modeling with parameters of type Id
    Modifier and Type
    Method
    Description
    int
    Id.compareTo(Id<?> o)
     
  • Uses of Id in io.fluxzero.sdk.persisting.repository

    Methods in io.fluxzero.sdk.persisting.repository with parameters of type Id
    Modifier and Type
    Method
    Description
    default <T> Entity<T>
    AggregateRepository.load(Id<T> aggregateId)
    Load an aggregate by a typed identifier.
    default <T> Entity<T>
    ModelRepository.load(@NonNull Id<T> modelId)
    Loads a model using the type carried by a typed identifier.
    default <T> Graph<T>
    ModelRepository.loadGraph(@NonNull Id<T> rootId)
    Reconstructs a model and every related descendant at one state boundary.
    default <T> Graph<T>
    ModelRepository.loadGraphAt(@NonNull Id<T> rootId, long stateIndex)
    Reconstructs a model graph at an inclusive historical model-state boundary.
    default <T> Graph<T>
    ModelRepository.loadGraphAt(@NonNull Id<T> rootId, long stateIndex, Graph.Options options)
    Reconstructs a model graph at an inclusive historical model-state boundary with optional caller-imposed limits.
    AggregateRepository.repairRelationships(Id<?> aggregateId)
    Repairs the relationships of the aggregate corresponding to the given typed ID.
  • Uses of Id in io.fluxzero.sdk.persisting.search

    Methods in io.fluxzero.sdk.persisting.search with parameters of type Id
    Modifier and Type
    Method
    Description
    default <T> Optional<T>
    DocumentStore.fetchDocument(Id<T> id)
    Fetches a document by id using the associated type to determine the collection.
    default boolean
    DocumentStore.hasDocument(Id<?> id)
    Checks whether a document exists for the given identifier and its associated type.
    default Search<R>
    Search.whereAncestor(Id<?> ancestorId)
    Requires an ancestor with the supplied typed identity at any supported depth.
    default Search<R>
    Search.whereAncestor(Id<?> ancestorId, int minDepth, int maxDepth)
    Requires an ancestor with the supplied typed identity within the given depth range.
    default Search<R>
    Search.whereParent(Id<?> parentId)
    Requires a direct parent with the supplied typed identity.