com.dslplatform.api.client

HttpReportingProxy

class HttpReportingProxy extends ReportingProxy

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

Instance Constructors

  1. new HttpReportingProxy(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 createReport[TResult](report: Report[TResult], templater: String): Future[Array[Byte]]

    Create document from report.

    Create document from report. Send message to server with serialized report specification. Server will return template populated with found data.

    DSL example:

    module Todo {
      report LoadData {
        List<Task> unfinishedTasks 'it => it.finishedAt == null' ORDER BY createdAt;
        templater createDocument 'Tasks.docx' pdf;
      }
    }
    

    report

    report specification

    templater

    templater name

    returns

    future to document content

    Definition Classes
    HttpReportingProxyReportingProxy
  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. def findTemplater[TIdentifiable <: Identifiable](file: String, uri: String, toPdf: Boolean)(implicit arg0: ClassTag[TIdentifiable]): Future[Array[Byte]]

    Populate template using found domain object.

    Populate template using found domain object. Optionally convert document to PDF.

    file

    template file

    uri

    domain object identity

    toPdf

    convert populated document to PDF

    returns

    future to populated document

    Definition Classes
    HttpReportingProxyReportingProxy
  13. final def getClass(): Class[_]

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

    Get aggregate root history.

    Get aggregate root history. History History is collection of snapshots made at state changes.

    uris

    collection of aggregate identities

    returns

    future to collection of found aggregate histories

    Definition Classes
    HttpReportingProxyReportingProxy
  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 olapCube[TCube <: Cube[TSearchable], TSearchable <: Searchable](templater: String, specification: Option[Specification[TSearchable]], dimensions: TraversableOnce[String], facts: TraversableOnce[String], limit: Option[Int], offset: Option[Int], order: Map[String, Boolean])(implicit arg0: ClassTag[TCube], arg1: ClassTag[TSearchable]): Future[Array[Byte]]

    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.

    templater

    templater report

    specification

    filter data source

    dimensions

    group by dimensions

    facts

    analyze using facts

    limit

    maximum number of results

    offset

    skip initial results

    order

    custom order for result

    returns

    future to document content

    Definition Classes
    HttpReportingProxyReportingProxy
  21. def olapCube[TCube <: Cube[TSearchable], TSearchable <: Searchable](templater: String, specification: Specification[TSearchable], dimensions: TraversableOnce[String], facts: TraversableOnce[String])(implicit arg0: ClassTag[TCube], arg1: ClassTag[TSearchable]): Future[Array[Byte]]

    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.

    templater

    templater report

    specification

    filter data source

    dimensions

    group by dimensions

    facts

    analyze using facts

    returns

    future to document content

    Definition Classes
    ReportingProxy
  22. def populate[TResult](report: Report[TResult])(implicit arg0: ClassTag[TResult]): Future[TResult]

    Populate report.

    Populate report. Send message to server with serialized report specification.

    report

    specification

    returns

    future to populated results

    Definition Classes
    HttpReportingProxyReportingProxy
  23. def searchTemplater[TSearchable <: Searchable](file: String, specification: Option[Specification[TSearchable]], toPdf: Boolean)(implicit arg0: ClassTag[TSearchable]): Future[Array[Byte]]

    Populate template using domain objects which satisfies Specification[TSearchable] specification.

    Populate template using domain objects which satisfies Specification[TSearchable] specification. Optionally convert document to PDF.

    file

    template file

    specification

    filter domain objects using specification

    toPdf

    convert populated document to PDF

    returns

    future to populated document

    Definition Classes
    HttpReportingProxyReportingProxy
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ReportingProxy

Inherited from AnyRef

Inherited from Any

Ungrouped