Merged submission module code

This commit is contained in:
Giuseppe
2018-07-26 18:36:36 +02:00
parent b6e4e2562d
commit 6f60cd68e2
179 changed files with 9143 additions and 77 deletions

View File

@@ -3,6 +3,8 @@ import { Bitstream } from './bitstream.model';
import { Item } from './item.model';
import { RemoteData } from '../data/remote-data';
import { Observable } from 'rxjs/Observable';
import { License } from './license.model';
import { ResourcePolicy } from './resource-policy.model';
export class Collection extends DSpaceObject {
@@ -39,7 +41,7 @@ export class Collection extends DSpaceObject {
* The license of this Collection
* Corresponds to the metadata field dc.rights.license
*/
get license(): string {
get dcLicense(): string {
return this.findMetadata('dc.rights.license');
}
@@ -51,11 +53,21 @@ export class Collection extends DSpaceObject {
return this.findMetadata('dc.description.tableofcontents');
}
/**
* The deposit license of this Collection
*/
license: Observable<RemoteData<License>>;
/**
* The Bitstream that represents the logo of this Collection
*/
logo: Observable<RemoteData<Bitstream>>;
/**
* The default access conditions of this Collection
*/
defaultAccessConditions: Observable<RemoteData<ResourcePolicy[]>>;
/**
* An array of Collections that are direct parents of this Collection
*/