com.dslplatform.api.client

StandardProxy

trait StandardProxy extends AnyRef

Proxy service to various domain operations such as bulk persistence, data analysis and remote service calls.

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

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StandardProxy
  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 execute[TArgument, TResult](command: String, argument: TArgument)(implicit arg0: ClassTag[TResult]): Future[TResult]

    Execute remote service (server implementation for IServerService<TArgument, TResult>) Send message with serialized argument to remote service and deserialize response.

    Execute remote service (server implementation for IServerService<TArgument, TResult>) Send message with serialized argument to remote service and deserialize response.

    command

    remote service name

    argument

    remote service argument

    returns

    future with deserialized result

  2. abstract def olapCube[TCube <: Cube[TSearchable], TSearchable <: Searchable, TResult](specification: Option[Specification[TSearchable]] = None, dimensions: TraversableOnce[String] = Nil, facts: TraversableOnce[String] = Nil, limit: Option[Int] = None, offset: Option[Int] = None, order: Map[String, Boolean] = Map.empty)(implicit arg0: ClassTag[TCube], arg1: ClassTag[TSearchable], arg2: ClassTag[TResult]): Future[IndexedSeq[TResult]]

    Perform data analysis on specified data source.

    Perform data analysis on specified data source. Data source is filtered using provided specification. Analysis is performed by grouping data by dimensions and aggregating information using specified facts.

    specification

    filter data source

    dimensions

    group by dimensions

    facts

    analyze using facts

    order

    custom order for result

    returns

    future with deserialized collection from analysis result

  3. abstract def persist[TAggregate <: AggregateRoot](inserts: TraversableOnce[TAggregate] = Nil, updates: TraversableOnce[(TAggregate, TAggregate)] = Nil, deletes: TraversableOnce[TAggregate] = Nil)(implicit arg0: ClassTag[TAggregate]): Future[IndexedSeq[String]]

    Apply local changes to the remote server.

    Apply local changes to the remote server.

    inserts

    new aggregate roots

    updates

    pairs for updating old aggregate to new state

    deletes

    aggregate roots which will be deleted

    returns

    future uris of newly created aggregates

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. def delete[TAggregate <: AggregateRoot](deletes: TraversableOnce[TAggregate])(implicit arg0: ClassTag[TAggregate]): Future[_]

    Helper method for persist.

    Helper method for persist. Apply local changes to the remote server.

    deletes

    aggregate roots to update

    returns

    empty future which completes when done.

  9. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  14. def insert[TAggregate <: AggregateRoot](inserts: TraversableOnce[TAggregate])(implicit arg0: ClassTag[TAggregate]): Future[IndexedSeq[String]]

    Helper method for persist.

    Helper method for persist. Apply local changes to the remote server.

    inserts

    new aggregate roots

    returns

    future uris of newly created aggregates

  15. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  19. def olapCube[TCube <: Cube[TSearchable], TSearchable <: Searchable](specification: Specification[TSearchable], dimensions: TraversableOnce[String], facts: TraversableOnce[String])(implicit arg0: ClassTag[TCube], arg1: ClassTag[TSearchable]): Future[IndexedSeq[Map[String, Any]]]

    Helper method for Olap cube.

    Helper method for Olap cube. Perform data analysis on specified data source. Data source is filtered using provided specification. Analysis is performed by grouping data by dimensions and aggregating information using specified facts.

    specification

    filter data source

    dimensions

    group by dimensions

    facts

    analyze using facts

    returns

    future with deserialized collection from analysis result

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. def update[TAggregate <: AggregateRoot](updates: TraversableOnce[TAggregate])(implicit arg0: ClassTag[TAggregate]): Future[_]

    Helper method for persist.

    Helper method for persist. Apply local changes to the remote server.

    updates

    aggregate roots to update

    returns

    empty future which completes when done.

  23. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped