Skip to main content

Reference / Modules / client / CollectionItem

Class: CollectionItem

client.CollectionItem

Implements

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new CollectionItem(args): CollectionItem

Parameters

NameType
argsObject
args.clientItemUploadableCollectionItem
args.locClientLocClient
args.locIdUUID

Returns

CollectionItem

Defined in

packages/client/src/CollectionItem.ts:12

Properties

_creativeCommons

Private Readonly _creativeCommons: undefined | CreativeCommons

Defined in

packages/client/src/CollectionItem.ts:58


_locId

Private Readonly _locId: UUID

Defined in

packages/client/src/CollectionItem.ts:48


_logionClassification

Private Readonly _logionClassification: undefined | LogionClassification

Defined in

packages/client/src/CollectionItem.ts:54


_specificLicenses

Private Readonly _specificLicenses: SpecificLicense[]

Defined in

packages/client/src/CollectionItem.ts:56


clientItem

Private clientItem: UploadableCollectionItem

Defined in

packages/client/src/CollectionItem.ts:52


locClient

Private locClient: LocClient

Defined in

packages/client/src/CollectionItem.ts:50

Accessors

addedOn

get addedOn(): string

Returns

string

Implementation of

UploadableCollectionItem.addedOn

Defined in

packages/client/src/CollectionItem.ts:72


creativeCommons

get creativeCommons(): undefined | CreativeCommons

Returns

undefined | CreativeCommons

Defined in

packages/client/src/CollectionItem.ts:100


description

get description(): HashString

Returns

HashString

Implementation of

UploadableCollectionItem.description

Defined in

packages/client/src/CollectionItem.ts:68


files

get files(): UploadableItemFile[]

Returns

UploadableItemFile[]

Implementation of

UploadableCollectionItem.files

Defined in

packages/client/src/CollectionItem.ts:76


id

get id(): Hash

Returns

Hash

Implementation of

UploadableCollectionItem.id

Defined in

packages/client/src/CollectionItem.ts:64


locId

get locId(): UUID

Returns

UUID

Defined in

packages/client/src/CollectionItem.ts:60


logionClassification

get logionClassification(): undefined | LogionClassification

Returns

undefined | LogionClassification

Defined in

packages/client/src/CollectionItem.ts:92


restrictedDelivery

get restrictedDelivery(): boolean

Returns

boolean

Implementation of

UploadableCollectionItem.restrictedDelivery

Defined in

packages/client/src/CollectionItem.ts:84


specificLicenses

get specificLicenses(): SpecificLicense[]

Returns

SpecificLicense[]

Defined in

packages/client/src/CollectionItem.ts:96


termsAndConditions

get termsAndConditions(): MergedTermsAndConditionsElement[]

Returns

MergedTermsAndConditionsElement[]

Implementation of

UploadableCollectionItem.termsAndConditions

Defined in

packages/client/src/CollectionItem.ts:88


token

get token(): undefined | ClientToken

Returns

undefined | ClientToken

Implementation of

UploadableCollectionItem.token

Defined in

packages/client/src/CollectionItem.ts:80

Methods

checkCertifiedCopy

checkCertifiedCopy(hash): Promise<CheckCertifiedCopyResult>

Parameters

NameType
hashHash

Returns

Promise<CheckCertifiedCopyResult>

Defined in

packages/client/src/CollectionItem.ts:114


checkHash

checkHash(hash): CheckHashResult

Parameters

NameType
hashHash

Returns

CheckHashResult

Defined in

packages/client/src/CollectionItem.ts:108


getFile

getFile(hash): Promise<TypedFile>

Parameters

NameType
hashHash

Returns

Promise<TypedFile>

Defined in

packages/client/src/CollectionItem.ts:132


getItemFile

getItemFile(hash): undefined | UploadableItemFile

Parameters

NameType
hashHash

Returns

undefined | UploadableItemFile

Defined in

packages/client/src/CollectionItem.ts:104


isAuthenticatedTokenOwner

isAuthenticatedTokenOwner(): Promise<boolean>

Returns

Promise<boolean>

Defined in

packages/client/src/CollectionItem.ts:123