com.dslplatform.api.client

HttpDomainProxy

class HttpDomainProxy extends DomainProxy

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

Instance Constructors

  1. new HttpDomainProxy(httpClient: HttpClient)

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 count[TSearchable <: Searchable](specification: Option[Specification[TSearchable]])(implicit arg0: ClassTag[TSearchable]): Future[Long]

    Returns a number of elements satisfying optionally provided specification.

    Returns a number of elements satisfying optionally provided specification.

    specification

    search predicate

    returns

    future to number of domain objects which satisfy specification

    Definition Classes
    HttpDomainProxyDomainProxy
  9. def count[TSearchable <: Searchable](specification: Specification[TSearchable])(implicit arg0: ClassTag[TSearchable]): Future[Long]

    Helper method for counting domain objects.

    Helper method for counting domain objects. Returns a number of elements satisfying provided specification.

    specification

    search predicate

    returns

    future to number of domain objects which satisfy specification

    Definition Classes
    DomainProxy
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def find[TIdentifiable <: Identifiable](uris: TraversableOnce[String])(implicit arg0: ClassTag[TIdentifiable]): Future[IndexedSeq[TIdentifiable]]

    Returns a IndexedSeq of domain objects uniquely represented with their URIs.

    Returns a IndexedSeq of domain objects uniquely represented with their URIs. Only found objects will be returned (IndexedSeq will be empty if no objects are found).

    uris

    sequence of unique identifiers

    returns

    future to found domain objects

    Definition Classes
    HttpDomainProxyDomainProxy
  14. final def getClass(): Class[_]

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

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

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

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

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

    Definition Classes
    AnyRef
  20. def search[TSearchable <: Searchable](specification: Option[Specification[TSearchable]], limit: Option[Int], offset: Option[Int], order: Map[String, Boolean])(implicit arg0: ClassTag[TSearchable]): Future[IndexedSeq[TSearchable]]

    Returns a IndexedSeq of domain objects satisfying optional Specification specification with up to optional limit results.

    Returns a IndexedSeq of domain objects satisfying optional Specification specification with up to optional limit results. Optional offset can be used to skip initial results. Optional order should be given as a IndexedSeq of pairs of where first is a property name and second is whether it should be sorted ascending over this property.

    specification

    search predicate

    limit

    maximum number of results

    offset

    number of results to be skipped

    order

    custom ordering

    returns

    future to domain objects which satisfy search predicate

    Definition Classes
    HttpDomainProxyDomainProxy
  21. def search[TSearchable <: Searchable](specification: Specification[TSearchable], limit: Int)(implicit arg0: ClassTag[TSearchable]): Future[IndexedSeq[TSearchable]]

    Helper method for searching domain objects.

    Helper method for searching domain objects. Returns a IndexedSeq of domain objects satisfying Specification specification with up to limit results.

    specification

    search predicate

    limit

    search maximum number of results

    returns

    future to domain objects which satisfy search predicate

    Definition Classes
    DomainProxy
  22. def search[TSearchable <: Searchable](specification: Specification[TSearchable])(implicit arg0: ClassTag[TSearchable]): Future[IndexedSeq[TSearchable]]

    Helper method for searching domain objects.

    Helper method for searching domain objects. Returns a IndexedSeq of domain objects satisfying Specification specification

    specification

    search predicate

    returns

    future to domain objects which satisfy search predicate

    Definition Classes
    DomainProxy
  23. def submit[TAggregate <: AggregateRoot, TEvent <: AggregateDomainEvent[TAggregate]](domainEvent: TEvent, uri: String)(implicit arg0: ClassTag[TAggregate]): Future[TAggregate]

    Apply domain event to a single aggregate.

    Apply domain event to a single aggregate. Server will return modified aggregate root. Events can't be modified once they are submitted. Only new events can be created.

    domainEvent

    event to apply

    uri

    aggregate root uri

    returns

    future containing modified aggregate root

    Definition Classes
    HttpDomainProxyDomainProxy
  24. def submit[TEvent <: DomainEvent](domainEvent: TEvent): Future[String]

    Send domain event to the server.

    Send domain event to the server. Server will return identity under which it was stored. Events can't be modified once they are submitted. Only new events can be created.

    domainEvent

    event to raise

    returns

    future containing string value of event URI

    Definition Classes
    HttpDomainProxyDomainProxy
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DomainProxy

Inherited from AnyRef

Inherited from Any

Ungrouped