Class DuraStoreDataSource
- java.lang.Object
-
- org.duracloud.stitch.datasource.impl.DuraStoreDataSource
-
- All Implemented Interfaces:
DataSource
public class DuraStoreDataSource extends Object implements DataSource
This class is a DuraStore implementation of the DataSource interface.- Author:
- Andrew Woods Date: 9/2/11
-
-
Constructor Summary
Constructors Constructor Description DuraStoreDataSource(ContentStore store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentgetContent(String spaceId, String contentId)This method returns the content item specified by the arg space-id and content-id.
-
-
-
Constructor Detail
-
DuraStoreDataSource
public DuraStoreDataSource(ContentStore store)
-
-
Method Detail
-
getContent
public Content getContent(String spaceId, String contentId)
Description copied from interface:DataSourceThis method returns the content item specified by the arg space-id and content-id.- Specified by:
getContentin interfaceDataSource- Parameters:
spaceId- of content itemcontentId- of content item- Returns:
- content
-
-