GNDMS 0.6.0
RESTful verison of GNDMS
Public Member Functions | Package Functions

de.zib.gndms.logic.model.dspace.SliceProvider Interface Reference

Provides a mapping of slice ids and slices. More...

Inheritance diagram for de.zib.gndms.logic.model.dspace.SliceProvider:
de.zib.gndms.logic.model.dspace.SliceProviderImpl

List of all members.

Public Member Functions

List< String > listSlices (String subspace) throws NoSuchElementException
 Returns a list containing all existing slice ids for the subspace.
Slice getSlice (String subspace, String slice) throws NoSuchElementException
 Returns the slice for a given slice id for the subspace.
String createSlice (String subspace, String sliceKind, String dn, DateTime ttm, long sliceSize) throws NoSuchElementException
Taskling deleteSlice (String subspaceId, String sliceId) throws NoSuchElementException

Package Functions

boolean exists (String subspace, String slice)
 Checks whether a given slice id exists for the subspace.

Detailed Description

Provides a mapping of slice ids and slices.

Author:
Ulrike Golas

Member Function Documentation

boolean de.zib.gndms.logic.model.dspace.SliceProvider.exists ( String  subspace,
String  slice 
) [package]

Checks whether a given slice id exists for the subspace.

Parameters:
subspaceThe considered subspace.
sliceThe slice id.
Returns:
true, if this slice exists, otherwise false.
Slice de.zib.gndms.logic.model.dspace.SliceProvider.getSlice ( String  subspace,
String  slice 
) throws NoSuchElementException

Returns the slice for a given slice id for the subspace.

Parameters:
subspaceThe considered subspace.
sliceThe requested slice id.
Returns:
The corresponding slice.
Exceptions:
NoSuchElementException
List<String> de.zib.gndms.logic.model.dspace.SliceProvider.listSlices ( String  subspace) throws NoSuchElementException

Returns a list containing all existing slice ids for the subspace.

Parameters:
subspaceThe considered subspace.
Returns:
The list.
Exceptions:
NoSuchElementException

The documentation for this interface was generated from the following file:
 All Classes Namespaces Functions Variables