public interface CrudProxy
standard proxy
if response is not required from the server.
It is preferred to use domain patterns instead of this proxy service.
Modifier and Type | Method and Description |
---|---|
<TAggregate extends AggregateRoot> |
create(TAggregate aggregate)
Create new aggregate root on the remote server.
|
<TAggregate extends AggregateRoot> |
delete(java.lang.Class<TAggregate> manifest,
java.lang.String uri)
Delete existing aggregate root from the remote server.
|
<T extends Identifiable> |
read(java.lang.Class<T> manifest,
java.lang.String uri)
Get domain object from remote server using provided identity.
|
<TAggregate extends AggregateRoot> |
update(TAggregate aggregate)
Modify existing aggregate root on the remote server.
|
<T extends Identifiable> java.util.concurrent.Future<T> read(java.lang.Class<T> manifest, java.lang.String uri)
manifest
- domain object typeuri
- domain object identity<TAggregate extends AggregateRoot> java.util.concurrent.Future<TAggregate> create(TAggregate aggregate)
aggregate
- new aggregate root<TAggregate extends AggregateRoot> java.util.concurrent.Future<TAggregate> update(TAggregate aggregate)
aggregate
- modified aggregate root<TAggregate extends AggregateRoot> java.util.concurrent.Future<TAggregate> delete(java.lang.Class<TAggregate> manifest, java.lang.String uri)
manifest
- aggregate root typeuri
- aggregate root identity