package dataverse
- Alphabetic
- By Inheritance
- dataverse
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- class AdminApi extends HttpSupport with DebugEnhancedLogging
-
class
BuiltinUserApi extends HttpSupport with DebugEnhancedLogging
Functions to manage builtin user accounts.
Functions to manage builtin user accounts. Note that the https://guides.dataverse.org/en/5.2/installation/config.html#builtinusers-key must be set and configured in DataverseInstanceConfig for this to work.
- class DataAccessApi extends TargetedHttpSupport with DebugEnhancedLogging
- class DataAccessRequestsApi extends TargetedHttpSupport with DebugEnhancedLogging
-
class
DatasetApi extends TargetedHttpSupport with DebugEnhancedLogging
Functions that operate on a single dataset.
Functions that operate on a single dataset. See https://guides.dataverse.org/en/latest/api/native-api.html#datasets.
- class DataverseApi extends HttpSupport with DebugEnhancedLogging
- case class DataverseException(status: Int, message: String, httpResponse: HttpResponse[Array[Byte]]) extends RuntimeException with Product with Serializable
- class DataverseInstance extends DebugEnhancedLogging
- case class DataverseInstanceConfig(baseUrl: URI, apiToken: String, unblockKey: Option[String] = None, connectionTimeout: Int = 5000, readTimeout: Int = 300000, apiVersion: String = "1", awaitLockStateMaxNumberOfRetries: Int = 10, awaitLockStateMillisecondsBetweenRetries: Int = 500) extends Product with Serializable
-
case class
DataverseResponse[D] extends Product with Serializable
Encapsulates a response message from Dataverse.
Encapsulates a response message from Dataverse. This is often, but not always, a JSON document. This class gives access to the response at the following levels as far as applicable (from lower to higher levels of abstraction):
httpResponse
,string
,json
,data
.For example if the response contains metadata about a dataset, you would use the data method to retrieve a model object that provides easy access to that structure. If JSON is returned but it is not modelled by a case class in nl.knaw.dans.lib.dataverse.model, then you could use the
json
method to get the json4s AST and query that to get to the information you need. If the body contains UTF-8 encoded plan text, usestring
. Finally, if the body contains binary data, usehttpResponse
.- D
the model object type that can be extracted (if none is available, this is set to
Any
).
- class FileApi extends TargetedHttpSupport with DebugEnhancedLogging
- class InfoApi extends AnyRef
-
case class
LockException(numberOfTimesTried: Int, waitTimeInMilliseconds: Int, msg: String) extends RuntimeException with Product with Serializable
Thrown by DatasetApi#awaitUnlock if the maximum number of tries is reached and the dataset is still locked.
Thrown by DatasetApi#awaitUnlock if the maximum number of tries is reached and the dataset is still locked.
- numberOfTimesTried
how many times the unlock check was tried
- waitTimeInMilliseconds
time waited between tries
- msg
message
- class RoleApi extends AnyRef
- class SearchApi extends HttpSupport with DebugEnhancedLogging
- class SwordApi extends HttpSupport with DebugEnhancedLogging
- class TokenApi extends AnyRef
- case class Version(v: String) extends Product with Serializable
- class WorkflowsApi extends HttpSupport with DebugEnhancedLogging