forked from hazza/dspace-angular
add support for paginated properties on dspace objects
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { filter, map, startWith, tap } from 'rxjs/operators';
|
||||
|
||||
import { DSpaceObject } from './dspace-object.model';
|
||||
import { Collection } from './collection.model';
|
||||
@@ -86,6 +87,7 @@ export class Item extends DSpaceObject {
|
||||
* Retrieves bitstreams by bundle name
|
||||
* @param bundleName The name of the Bundle that should be returned
|
||||
* @returns {Observable<Bitstream[]>} the bitstreams with the given bundleName
|
||||
* TODO now that bitstreams can be paginated this should move to the server
|
||||
*/
|
||||
getBitstreamsByBundleName(bundleName: string): Observable<Bitstream[]> {
|
||||
return this.bitstreams
|
||||
|
Reference in New Issue
Block a user