public interface EmbeddedContextStateAware
ContextStateAware
business domains that describes aspects of those collection members related to the context of the
request. For example which member items were changed and which fields therein.
A collection member item's EmbeddedContextState
is only populated when coming out of the
repository domain that maps into a business domain. This is not designed to be used in
other scenarios.
Indicating that your embedded collection object should receive a context is as simple as
implementing this interface for any business-domain equivalent of a collection item belonging to
a repository domain that implements Tracking
.
ContextStateAware
,
EmbeddedContextState
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FIELD_NAME |
Modifier and Type | Method and Description |
---|---|
EmbeddedContextState |
getContextState()
Retrieves additional information for the business domain's embedded collection members that
describes aspects of those members related to the context of the request
|
void |
setContextState(EmbeddedContextState contextState)
Set additional information for the business domain's embedded collection members that
describes aspects of those members related to the context of the request
|
static final String DEFAULT_FIELD_NAME
EmbeddedContextState getContextState()
void setContextState(EmbeddedContextState contextState)
contextState
- additional information for the business domain's embedded collection
members that describes aspects of those members related to the context of the requestCopyright © 2021. All rights reserved.