LoadAggregateHandlerFunction
class LoadAggregateHandlerFunction(aggregateRouteMetadata: AggregateRouteMetadata<*>, stateAggregateRepository: StateAggregateRepository, exceptionHandler: RequestExceptionHandler, admission: PointReadAdmission = PointReadAdmission.DISABLED, route: StateLoadRoute = StateLoadRoute.LATEST) : HandlerFunction<ServerResponse>
Loads the state route names. A missing or deleted aggregate is 404; an owned aggregate is read only by its owner (OwnerAggregatePrecondition); under admission the state is admitted and masked as a query result is.
Constructors
Link copied to clipboard
constructor(aggregateRouteMetadata: AggregateRouteMetadata<*>, stateAggregateRepository: StateAggregateRepository, exceptionHandler: RequestExceptionHandler, admission: PointReadAdmission = PointReadAdmission.DISABLED, route: StateLoadRoute = StateLoadRoute.LATEST)