1
0

68729: ItemVersionsComponent + changes to Version(History) model and services

This commit is contained in:
Kristof De Langhe
2020-02-19 11:48:17 +01:00
parent d4ff4aab36
commit 173f14c41f
11 changed files with 243 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ import { Bundle } from './bundle.model';
import { GenericConstructor } from './generic-constructor';
import { ListableObject } from '../../shared/object-collection/shared/listable-object.model';
import { DEFAULT_ENTITY_TYPE } from '../../shared/metadata-representation/metadata-representation.decorator';
import { Version } from './version.model';
/**
* Class representing a DSpace Item
@@ -67,6 +68,11 @@ export class Item extends DSpaceObject {
relationships: Observable<RemoteData<PaginatedList<Relationship>>>;
/**
* The version this item represents in its history
*/
version: Observable<RemoteData<Version>>;
/**
* Retrieves the thumbnail of this item
* @returns {Observable<Bitstream>} the primaryBitstream of the 'THUMBNAIL' bundle