com.dslplatform.api.client

CrudProxy

trait CrudProxy extends AnyRef

Proxy service to remote CRUD REST-like API. Single aggregate root instance can be used. New object instance will be returned when doing modifications. Use StandardProxy standard proxy if response is not required from the server.

It is preferred to use domain patterns instead of this proxy service.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CrudProxy
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def create[TAggregateRoot <: AggregateRoot](aggregate: TAggregateRoot)(implicit arg0: ClassTag[TAggregateRoot]): Future[TAggregateRoot]

    Create new aggregate root on the remote server.

    Create new aggregate root on the remote server. Created object will be returned with its identity and all calculated properties evaluated.

    aggregate

    new aggregate root

    returns

    future to aggregate root with new identity

  2. abstract def delete[TAggregateRoot <: AggregateRoot](uri: String)(implicit arg0: ClassTag[TAggregateRoot]): Future[TAggregateRoot]

    Delete existing aggregate root from the remote server.

    Delete existing aggregate root from the remote server. If possible, aggregate root will be deleted and it's instance will be provided.

    uri

    aggregate root identity

    returns

    future to deleted aggregate root instance

  3. abstract def read[TIdentifiable <: Identifiable](uri: String)(implicit arg0: ClassTag[TIdentifiable]): Future[TIdentifiable]

    Get domain object from remote server using provided identity.

    Get domain object from remote server using provided identity. If domain object is not found an exception will be thrown.

    uri

    domain object identity

    returns

    future to found domain object

  4. abstract def update[TAggregateRoot <: AggregateRoot](aggregate: TAggregateRoot)(implicit arg0: ClassTag[TAggregateRoot]): Future[TAggregateRoot]

    Modify existing aggregate root on the remote server.

    Modify existing aggregate root on the remote server. Aggregate root will be saved and all calculated properties evaluated.

    aggregate

    modified aggregate root

    returns

    future to aggregate root with updated attributes

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped