Class AbstractSagaEntry<T>
java.lang.Object
org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry<T>
- Type Parameters:
T- the serialized content-type of the saga.
Deprecated.
Java Persistence Entity allowing sagas to be stored in a relational database. The serialized type of the
- Since:
- 3.0.3
- Author:
- Christophe Bouhier
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated.Default constructor required by JPA.AbstractSagaEntry(Object saga, String sagaIdentifier, Serializer serializer, Class<T> contentType) Deprecated.Constructs a new SagaEntry for the givensaga. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the revision of the serialized sagaDeprecated.Returns the identifier of the saga contained in this entryDeprecated.Returns the type identifier of the serialized sagaDeprecated.Returns the serialized form of the Saga.
-
Field Details
-
sagaId
Deprecated. -
sagaType
Deprecated. -
revision
Deprecated. -
serializedSaga
Deprecated.
-
-
Constructor Details
-
AbstractSagaEntry
public AbstractSagaEntry(Object saga, String sagaIdentifier, Serializer serializer, Class<T> contentType) Deprecated.Constructs a new SagaEntry for the givensaga. The given saga must be serializable. The provided saga is not modified by this operation.- Parameters:
saga- The saga to storesagaIdentifier- The saga identifierserializer- The serialization mechanism to convert the Saga to a byte streamcontentType- The saga content type to serialize to
-
AbstractSagaEntry
protected AbstractSagaEntry()Deprecated.Default constructor required by JPA.
-
-
Method Details
-
getSerializedSaga
Deprecated.Returns the serialized form of the Saga.- Returns:
- the serialized form of the Saga
-
getSagaId
Deprecated.Returns the identifier of the saga contained in this entry- Returns:
- the identifier of the saga contained in this entry
-
getRevision
Deprecated.Returns the revision of the serialized saga- Returns:
- the revision of the serialized saga
-
getSagaType
Deprecated.Returns the type identifier of the serialized saga- Returns:
- the type identifier of the serialized saga
-
serializedSagawas not handled well. There is aSagaEntrynot extending from this abstract class anymore, you might be able to use instead.