mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 22:13:02 +00:00
Merged submission module code
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user