class AdminApi extends HttpSupport with DebugEnhancedLogging
- Alphabetic
- By Inheritance
- AdminApi
- HttpSupport
- DebugEnhancedLogging
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addBannerMessage(bannerMessage: BannerMessage): Try[DataverseResponse[DataMessage]]
- def addBannerMessage(bannerMessage: String): Try[DataverseResponse[DataMessage]]
- def addWorkflow(json: String): Try[DataverseResponse[Workflow]]
- def addWorkflow(workflow: Workflow): Try[DataverseResponse[Workflow]]
-
val
apiPrefix: String
- Attributes
- protected
- Definition Classes
- AdminApi → HttpSupport
-
val
apiToken: Option[String]
- Attributes
- protected
- Definition Classes
- AdminApi → HttpSupport
-
val
apiVersion: Option[String]
- Attributes
- protected
- Definition Classes
- AdminApi → HttpSupport
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
baseUrl: URI
- Attributes
- protected
- Definition Classes
- AdminApi → HttpSupport
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
connectionTimeout: Int
- Attributes
- protected
- Definition Classes
- AdminApi → HttpSupport
- def deactivateBannerMessage(id: Int): Try[DataverseResponse[DataMessage]]
-
def
debug(msg: String)(implicit enclosing: Name): Unit
- Definition Classes
- DebugEnhancedLogging
- def deleteBannerMessage(id: Int): Try[DataverseResponse[DataMessage]]
-
def
deleteDatabaseSetting(settingName: String): Try[DataverseResponse[Nothing]]
- settingName
the name of the setting
-
def
deletePath[D](subPath: String = null, headers: Map[String, String] = Map.empty, params: Map[String, String] = Map.empty)(implicit arg0: Manifest[D]): Try[DataverseResponse[D]]
- Attributes
- protected
- Definition Classes
- HttpSupport
- def deleteWorkflow(id: Int): Try[DataverseResponse[DataMessage]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get[D](subPath: String = null, headers: Map[String, String] = Map.empty, params: Map[String, String] = Map.empty)(implicit arg0: Manifest[D]): Try[DataverseResponse[D]]
- Attributes
- protected
- Definition Classes
- HttpSupport
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getDatabaseSetting(settingName: String): Try[DataverseResponse[DataMessage]]
- settingName
the name of the setting
- returns
the current value
-
def
getDefaultWorkflow(triggerType: String): Try[DataverseResponse[Workflow]]
- triggerType
PrePublishDataset or PostPublishDataset
- def getDefaultWorkflows: Try[DataverseResponse[Map[String, Workflow]]]
-
def
getSingleUser(id: String): Try[DataverseResponse[AuthenticatedUser]]
Returns the account data for a single user.
Returns the account data for a single user.
- id
the user ID
- def getStorageDrivers: Try[DataverseResponse[Map[String, String]]]
-
def
getUnwrapped(subPath: String = null, headers: Map[String, String] = Map.empty, params: Map[String, String] = Map.empty): Try[HttpResponse[Array[Byte]]]
- Attributes
- protected
- Definition Classes
- HttpSupport
- def getWorkflow(id: Int): Try[DataverseResponse[Workflow]]
- def getWorkflows: Try[DataverseResponse[List[Workflow]]]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listBannerMessages(): Try[DataverseResponse[List[DisplayedText]]]
- def listDatabaseSettings(): Try[DataverseResponse[Map[String, String]]]
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
postFile[D](subPath: String, optFile: Option[File], optJsonMetadata: Option[String] = Option.empty, headers: Map[String, String] = Map.empty, params: Map[String, String] = Map.empty)(implicit arg0: Manifest[D]): Try[DataverseResponse[D]]
Posts a multi-part message with an optional file and optional JSON metadata part.
Posts a multi-part message with an optional file and optional JSON metadata part. Probably at least one is required, but since this is an internal function, this is not validated.
- D
the payload type for the DataverseResponse
- subPath
subpath to post to
- optFile
the optional file
- optJsonMetadata
the optional metadata
- headers
extra headers
- params
extra query parameters
- returns
a DataverseResponse
- Attributes
- protected
- Definition Classes
- HttpSupport
-
def
postJson[D](subPath: String = null, body: String = null, headers: Map[String, String] = Map.empty, params: Map[String, String] = Map.empty, isJsonLd: Boolean = false)(implicit arg0: Manifest[D]): Try[DataverseResponse[D]]
- Attributes
- protected
- Definition Classes
- HttpSupport
-
def
postText[D](subPath: String = null, body: String = null, headers: Map[String, String] = Map.empty, params: Map[String, String] = Map.empty)(implicit arg0: Manifest[D]): Try[DataverseResponse[D]]
- Attributes
- protected
- Definition Classes
- HttpSupport
-
def
put[D](subPath: String = null, body: String = null, headers: Map[String, String] = Map.empty, params: Map[String, String] = Map.empty)(implicit arg0: Manifest[D]): Try[DataverseResponse[D]]
- Attributes
- protected
- Definition Classes
- HttpSupport
-
def
putDatabaseSetting(settingName: String, value: Boolean): Try[DataverseResponse[DatabaseSetting]]
- settingName
the name of the setting
- value
the boolean value to set
-
def
putDatabaseSetting(settingName: String, value: String): Try[DataverseResponse[DatabaseSetting]]
- settingName
the name of the setting
- value
the value to set
-
def
putJson[D](subPath: String = null, body: String = null, headers: Map[String, String] = Map.empty, params: Map[String, String] = Map.empty, isJsonLd: Boolean = false)(implicit arg0: Manifest[D]): Try[DataverseResponse[D]]
- Attributes
- protected
- Definition Classes
- HttpSupport
-
val
readTimeout: Int
- Attributes
- protected
- Definition Classes
- AdminApi → HttpSupport
-
val
sendApiTokenViaBasicAuth: Boolean
- Attributes
- protected
- Definition Classes
- AdminApi → HttpSupport
-
def
setDefaultWorkflow(triggerType: String, workflowId: Int): Try[DataverseResponse[DataMessage]]
- triggerType
PrePublishDataset or PostPublishDataset
- workflowId
id of the workflow to make default
- def setWorkflowsWhitelist(ips: List[String]): Try[DataverseResponse[Any]]
- def setWorkflowsWhitelist(whilelist: String): Try[DataverseResponse[Any]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
trace[V](value: Text[V])(implicit enclosing: Name): Unit
- Definition Classes
- DebugEnhancedLogging
-
val
unblockKey: Option[String]
- Attributes
- protected
- Definition Classes
- AdminApi → HttpSupport
-
def
unsetDefaultWorkflow(triggerType: String): Try[DataverseResponse[DataMessage]]
- triggerType
PrePublishDataset or PostPublishDataset
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()