Interface SetRepository


  • public interface SetRepository
    API for implementing a repository of sets. It is possible to have a data provider without sets.
    Version:
    3.1.0
    Author:
    Development @ Lyncode
    • Method Detail

      • supportSets

        boolean supportSets()
        Checks if the actual data source supports sets.
        Returns:
        Supports sets?
      • retrieveSets

        ListSetsResult retrieveSets​(int offset,
                                    int length)
        Returns a paged list of sets. It is common to use a partial result of 100 sets however, in XOAI this is a configured parameter.
        Parameters:
        offset - Starting offset
        length - Max size of the returned list
        Returns:
        List of Sets
      • exists

        boolean exists​(String setSpec)
        Checks if a specific set exists in the data source.
        Parameters:
        setSpec - Set spec
        Returns:
        Set exists