Heracles.ts

@hydra-cg/heracles.ts > IPartialCollectionIterator

Interface: IPartialCollectionIterator

Describes an abstract view of a partial collection. This is an iterator-like pattern that once obtained from it’s owning ICollection should maintain it’s state between consecutive next/previous page calls.

interface:

Hierarchy

IPartialCollectionIterator

Index

Properties

Methods


Properties

currentPartIri

● currentPartIri: string

Defined in DataModel/IPartialCollectionIterator.ts:14

Gets the IRI of current part.

readonly:

returns:


firstPartIri

● firstPartIri: string

Defined in DataModel/IPartialCollectionIterator.ts:21

Gets the IRI to the first part.

readonly:

returns:


hasNextPart

● hasNextPart: boolean

Defined in DataModel/IPartialCollectionIterator.ts:49

Gets a value indicating whether the view has a next part available.

readonly:

returns:


hasPreviousPart

● hasPreviousPart: boolean

Defined in DataModel/IPartialCollectionIterator.ts:56

Gets a value indicating whether the view has a previous part available.

readonly:

returns:


lastPartIri

● lastPartIri: string

Defined in DataModel/IPartialCollectionIterator.ts:42

Gets the IRI to the last part.

readonly:

returns:


nextPartIri

● nextPartIri: string

Defined in DataModel/IPartialCollectionIterator.ts:28

Gets the IRI to the next part.

readonly:

returns:


previousPartIri

● previousPartIri: string

Defined in DataModel/IPartialCollectionIterator.ts:35

Gets the IRI to the previous part.

readonly:

returns:


Methods

getFirstPart

getFirstPart(): Promise<Iterable<IResource»

Defined in DataModel/IPartialCollectionIterator.ts:62

Retrieves a first part of the partial collection view.

Returns: Promise<Iterable<IResource»


getLastPart

getLastPart(): Promise<Iterable<IResource»

Defined in DataModel/IPartialCollectionIterator.ts:80

Retrieves a last part of the partial collection view.

Returns: Promise<Iterable<IResource»


getNextPart

getNextPart(): Promise<Iterable<IResource»

Defined in DataModel/IPartialCollectionIterator.ts:68

Retrieves a next part of the partial collection view.

Returns: Promise<Iterable<IResource»


getPreviousPart

getPreviousPart(): Promise<Iterable<IResource»

Defined in DataModel/IPartialCollectionIterator.ts:74

Retrieves a previous part of the partial collection view.

Returns: Promise<Iterable<IResource»