AdminClient

uk.gov.nationalarchives.dp.client.AdminClient
See theAdminClient companion object
trait AdminClient[F[_]]

A client to update schemas, transfers, index definitions and metadata templates in Preservica

Type parameters

F

Type of the effect

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def addOrUpdateIndexDefinitions(fileInfo: List[IndexDefinitionInfo]): F[Unit]

Add or update an index definition document in Preservica

Add or update an index definition document in Preservica

Value parameters

fileInfo

A List of IndexDefinitionInfo containing the details of the index definition updates

Attributes

Returns

Unit wrapped in the F effect

def addOrUpdateMetadataTemplates(fileInfo: List[MetadataTemplateInfo]): F[Unit]

Add or update an metadata template document in Preservica

Add or update an metadata template document in Preservica

Value parameters

fileInfo

A List of MetadataTemplateInfo containing the details of the metadata template updates

Attributes

Returns

Unit wrapped in the F effect

def addOrUpdateSchemas(fileInfo: List[SchemaFileInfo]): F[Unit]

Add or update a schema document in Preservica

Add or update a schema document in Preservica

Value parameters

fileInfo

A List of SchemaFileInfo containing the details of the schema updates

Attributes

Returns

Unit wrapped in the F effect

def addOrUpdateTransforms(fileInfo: List[TransformFileInfo]): F[Unit]

Add or update a transform document in Preservica

Add or update a transform document in Preservica

Value parameters

fileInfo

A List of TransformFileInfo containing the details of the transform updates

Attributes

Returns

Unit wrapped in the F effect