Class 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 Detail

      • DuraStoreDataSource

        public DuraStoreDataSource​(ContentStore store)
    • Method Detail

      • getContent

        public Content getContent​(String spaceId,
                                  String contentId)
        Description copied from interface: DataSource
        This method returns the content item specified by the arg space-id and content-id.
        Specified by:
        getContent in interface DataSource
        Parameters:
        spaceId - of content item
        contentId - of content item
        Returns:
        content