Class

org.ada.server.services.importers

SynapseServiceWSImpl

Related Doc: package importers

Permalink

class SynapseServiceWSImpl extends SynapseService

Attributes
protected[org.ada.server.services]
Linear Supertypes
SynapseService, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SynapseServiceWSImpl
  2. SynapseService
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SynapseServiceWSImpl(username: String, password: String, ws: WSClient, configuration: Configuration)

    Permalink
    Annotations
    @Inject()

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def close: Unit

    Permalink

    Closes the connection

    Closes the connection

    Definition Classes
    SynapseServiceWSImplSynapseService
  7. def downloadColumnFile(tableId: String, columnId: String, rowId: Int, versionNumber: Int): Future[String]

    Permalink

    Downloads a file associated with given column and row.

    Downloads a file associated with given column and row.

    Definition Classes
    SynapseServiceWSImplSynapseService
  8. def downloadFile(fileHandleId: String): Future[String]

    Permalink

    Downloads a file by following a URL for a given file handle id.

    Downloads a file by following a URL for a given file handle id. Only the person who created the FileHandle can download the file. To download column files use downloadColumnFile

    Definition Classes
    SynapseServiceWSImplSynapseService
    See also

    http://hud.rel.rest.doc.sagebase.org.s3-website-us-east-1.amazonaws.com/GET/fileHandle/handleId/url.html

  9. def downloadFileAsBytes(fileHandleId: String): Future[ByteString]

    Permalink

    Same as downloadFile but returns a byte array

    Same as downloadFile but returns a byte array

    Definition Classes
    SynapseServiceWSImplSynapseService
  10. def downloadFilesInBulk(fileHandleAssociations: Traversable[FileHandleAssociation], attemptNum: Option[Int]): Future[Iterator[(String, String)]]

    Permalink

    Downloads files of custom types (file, table, attachment) for given handle assocations in a bulk by combining startBulkDownload, getBulkDownloadResultWait, and downloadFileAsBytes

    Downloads files of custom types (file, table, attachment) for given handle assocations in a bulk by combining startBulkDownload, getBulkDownloadResultWait, and downloadFileAsBytes

    Definition Classes
    SynapseServiceWSImplSynapseService
  11. def downloadTableFilesInBulk(fileHandleIds: Traversable[String], tableId: String, attemptNum: Option[Int]): Future[Iterator[(String, String)]]

    Permalink

    Downloads table files for given handle ids in a bulk by combining startBulkDownload, getBulkDownloadResultWait, and downloadFileAsBytes

    Downloads table files for given handle ids in a bulk by combining startBulkDownload, getBulkDownloadResultWait, and downloadFileAsBytes

    Definition Classes
    SynapseServiceWSImplSynapseService
  12. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def getBulkDownloadResult(jobToken: String): Future[Either[BulkFileDownloadResponse, AsynchronousJobStatus]]

    Permalink

    Returns a file handle of the resulting bulk download zip file

    Returns a file handle of the resulting bulk download zip file

    Definition Classes
    SynapseServiceWSImplSynapseService
    See also

    http://hud.rel.rest.doc.sagebase.org.s3-website-us-east-1.amazonaws.com/GET/file/bulk/async/get/asyncToken.html

  16. def getBulkDownloadResultWait(jobToken: String): Future[BulkFileDownloadResponse]

    Permalink

    Gets the bulk results...

    Gets the bulk results... wait till it's done by polling

    Definition Classes
    SynapseServiceWSImplSynapseService
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getCsvTableResult(tableId: String, jobToken: String): Future[Either[DownloadFromTableResult, AsynchronousJobStatus]]

    Permalink

    Gets results or a job status if still running

    Gets results or a job status if still running

    Definition Classes
    SynapseServiceWSImplSynapseService
  19. def getCsvTableResultWait(tableId: String, jobToken: String): Future[DownloadFromTableResult]

    Permalink

    Gets results...

    Gets results... wait till it's done by polling

    Definition Classes
    SynapseServiceWSImplSynapseService
  20. def getFileHandle(fileHandleId: String): Future[FileHandle]

    Permalink

    Gets a file handle

    Gets a file handle

    Definition Classes
    SynapseServiceWSImplSynapseService
  21. def getTableAsCsv(tableId: String): Future[String]

    Permalink

    Gets a table as csv by combining runCsvTableQuery, getCsvTableResults, and downloadFile

    Gets a table as csv by combining runCsvTableQuery, getCsvTableResults, and downloadFile

    Definition Classes
    SynapseServiceWSImplSynapseService
  22. def getTableColumnFileHandles(rowReferenceSet: RowReferenceSet): Future[TableFileHandleResults]

    Permalink

    Gets a list of file handles associated with the rows and columns specified in a row ref set

    Gets a list of file handles associated with the rows and columns specified in a row ref set

    Definition Classes
    SynapseServiceWSImplSynapseService
  23. def getTableColumnModels(tableId: String): Future[PaginatedColumnModels]

    Permalink

    Gets the column models of a given table

    Gets the column models of a given table

    Definition Classes
    SynapseServiceWSImplSynapseService
  24. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  26. def login: Future[Unit]

    Permalink

    (Re)logins and refreshes a session token

    (Re)logins and refreshes a session token

    Definition Classes
    SynapseServiceWSImplSynapseService
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def prolongSession: Future[Unit]

    Permalink

    Prolonges a current session token for another 24 hours

    Prolonges a current session token for another 24 hours

    Definition Classes
    SynapseServiceWSImplSynapseService
  31. def startBulkDownload(data: BulkFileDownloadRequest): Future[String]

    Permalink

    Initiates a downlaod of multiple filed...

    Initiates a downlaod of multiple filed... returns a token for polling

    Definition Classes
    SynapseServiceWSImplSynapseService
    See also

    http://hud.rel.rest.doc.sagebase.org.s3-website-us-east-1.amazonaws.com/POST/file/bulk/async/start.html

  32. def startCsvTableQuery(tableId: String, sql: String): Future[String]

    Permalink

    .Runs a table query and returns a token

    .Runs a table query and returns a token

    Definition Classes
    SynapseServiceWSImplSynapseService
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def withJsonContent(request: WSRequest): WSRequest

    Permalink
  39. def withRequestTimeout(timeout: Duration)(request: WSRequest): WSRequest

    Permalink
  40. def withSessionToken(request: WSRequest): WSRequest

    Permalink

Inherited from SynapseService

Inherited from AnyRef

Inherited from Any

Ungrouped