Interface PagedB2BDocumentDao

All Known Implementing Classes:
DefaultPagedB2BDocumentDao

public interface PagedB2BDocumentDao
  • Method Details

    • findDocuments

      Finds all B2BDocumentModel filtered by the query. The resulting list only contains document associated to the current user's B2BUnit.
      Parameters:
      query - paged document query
      Returns:
      result : a SeachPageData< B2BDocumentModel > containing documents.
    • getPagedDocumentsForUnit

      SearchPageData<B2BDocumentModel> getPagedDocumentsForUnit(String b2bUnitCode, PageableData pageableData, List<DefaultCriteria> criteriaList)
      Parameters:
      b2bUnitCode - the unit code
      pageableData - the pageable data object
      criteriaList - the list of filter by criteria object
      Returns:
      result : a SeachPageData containing documents of the given unit & criteria.
    • getAllPagedDocuments

      SearchPageData<B2BDocumentModel> getAllPagedDocuments(PageableData pageableData, List<DefaultCriteria> criteriaList)
      Parameters:
      pageableData - the pageable data object
      criteriaList - the list of filter by criteria object
      Returns:
      result : a SeachPageData containing documents of the given unit & criteria.