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

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

Provides a mapping of subspaces to slice kind ids and slice kinds. More...

Inheritance diagram for de.zib.gndms.logic.model.dspace.SliceKindProvider:
de.zib.gndms.logic.model.dspace.SliceKindProviderImpl

List of all members.

Public Member Functions

List< String > list (String subspace) throws NoSuchElementException
 Returns a list containing all existing slice kind ids for a subspace.
SliceKind get (String subspace, String sliceKind) throws NoSuchElementException
 Returns the slice kind for a given slice kind id in a subspace.
void create (String slicekindId, String config)

Package Functions

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

Detailed Description

Provides a mapping of subspaces to slice kind ids and slice kinds.

Author:
Ulrike Golas, Jörg Bachmann

Member Function Documentation

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

Checks whether a given slice kind id exists for the subspace.

Parameters:
subspaceThe considered subspace.
sliceKindThe slice kind id.
Returns:
true, if this slice kind exists, otherwise false.

Implemented in de.zib.gndms.logic.model.dspace.SliceKindProviderImpl.

SliceKind de.zib.gndms.logic.model.dspace.SliceKindProvider.get ( String  subspace,
String  sliceKind 
) throws NoSuchElementException

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

Parameters:
subspaceThe considered subspace.
sliceKindThe requested slice kind id.
Returns:
The corresponding slice kind.
Exceptions:
NoSuchElementExceptionif the subspace does not exist.

Implemented in de.zib.gndms.logic.model.dspace.SliceKindProviderImpl.

List< String > de.zib.gndms.logic.model.dspace.SliceKindProvider.list ( String  subspace) throws NoSuchElementException

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

Parameters:
subspaceThe considered subspace.
Returns:
The list.
Exceptions:
NoSuchElementExceptionif the subspace does not exist.

Implemented in de.zib.gndms.logic.model.dspace.SliceKindProviderImpl.


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