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. 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. 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

  14. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  18. 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

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

    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped