Module org.fuin.cqrs4j
Package org.fuin.cqrs4j
package org.fuin.cqrs4j
Copyright (C) 2015 Michael Schnell. All rights reserved.
http://www.fuin.org/
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your option) any
later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
You should have received a copy of the GNU Lesser General Public License
along with this library. If not, see http://www.gnu.org/licenses/.
-
ClassDescriptionAbstractAggregateCommand<ROOT_ID extends org.fuin.ddd4j.ddd.AggregateRootId,
ENTITY_ID extends org.fuin.ddd4j.ddd.EntityId> Base class for all commands that are directed to an existing aggregate.AbstractAggregateCommand.Builder<ROOT_ID extends org.fuin.ddd4j.ddd.AggregateRootId,ENTITY_ID extends org.fuin.ddd4j.ddd.EntityId, TYPE extends AbstractAggregateCommand<ROOT_ID, ENTITY_ID>, BUILDER extends AbstractCommand.Builder<ROOT_ID, TYPE, BUILDER>> Base class for event builders.Base class for all commands.AbstractCommand.Builder<ID extends org.fuin.ddd4j.ddd.EntityId,TYPE extends AbstractCommand, BUILDER extends AbstractCommand.Builder<ID, TYPE, BUILDER>> Base class for event builders.AbstractMultiCommandExecutor<CONTEXT,RESULT> Handles multiple commands by delegating the call to other executors.AbstractResult<DATA>Result of a request.AggregateCommand<ROOT_ID extends org.fuin.ddd4j.ddd.AggregateRootId,ENTITY_ID extends org.fuin.ddd4j.ddd.EntityId> Common behavior shared by all commands related to an aggregate.Common behavior shared by all commands.The execution of a command failed.CommandExecutor<CONTEXT,RESULT, CMD extends Command> Executes one or more commands.Provides some helper methods.DataResult<DATA>Result of a request that contains data in addition to the standard result fields.Converts anDataResultfrom/to JSON.Registry with all event handlers.EventHandler<TYPE extends org.fuin.ddd4j.ddd.Event>Does something useful using the input from an event.MultiCommandExecutor<CONTEXT,RESULT> Handles multiple commands by delegating the call to other executors.Provides functionality related to projections.Result<DATA>Result of a request.Type of the result.Registry with all event handlers.Result of a request.Marks an object that can be converted into a result.