public interface

ArticleList

com.salesforce.android.knowledge.core.model.ArticleList

Class Overview

An article list represents a paginated list of ArticleSummary instances. You can fetch an ArticleList by passing an ArticleListRequest to a KnowledgeClient.

Summary

Public Methods
abstract List<ArticleSummary> getArticles()
The returned list of articles that satisfy the request.
abstract int getPageNumber()
Which page number this instance represents within the overall list matching the originating request.
abstract boolean hasMoreCached()
Whether or not there are more ArticleSummary items cached locally on the device.
abstract boolean hasMorePages()
This method is deprecated. Use {hasMoreRemotely()} instead.
abstract boolean hasMoreRemotely()
Whether or not there are additional ArticleSummary items that have not yet been retrieved.

Public Methods

public abstract List<ArticleSummary> getArticles ()

The returned list of articles that satisfy the request.

Returns
  • The article list.

public abstract int getPageNumber ()

Which page number this instance represents within the overall list matching the originating request.

Returns
  • The page number.

public abstract boolean hasMoreCached ()

Whether or not there are more ArticleSummary items cached locally on the device. This value is only relevant if you are caching results.

Returns
  • True if there are additional cached ArticleSummary items.

public abstract boolean hasMorePages ()

This method is deprecated.
Use {hasMoreRemotely()} instead.

Whether or not there are additional pages subsequent to this one for the originating request.

Returns
  • True if there are additional pages, false otherwise.

public abstract boolean hasMoreRemotely ()

Whether or not there are additional ArticleSummary items that have not yet been retrieved.

Returns
  • True if there are additional results to fetch, false otherwise.