Package zendesk.support
Class SearchArticle
- java.lang.Object
-
- zendesk.support.SearchArticle
-
- All Implemented Interfaces:
- java.io.Serializable
public class SearchArticle extends java.lang.Object implements java.io.Serializable
This class will wrap aArticle
.This wrapper class will add
Category
andSection
information to anArticle
.This class is not intended to be used directly in serialisation and deserialisation so it uses the m prefix for fields.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description SearchArticle(Article article, Section section, Category category)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Article
getArticle()
Gets the wrappedArticle
object.Category
getCategory()
Gets the category that this article belongs in.Section
getSection()
Gets the section that this article belongs in.
-
-
-
Method Detail
-
getArticle
public Article getArticle()
Gets the wrappedArticle
object.- Returns:
- the original
Article
object
-
getSection
public Section getSection()
Gets the section that this article belongs in.- Returns:
- The section that the article belongs in or null if there was an issue in determining this.
-
getCategory
public Category getCategory()
Gets the category that this article belongs in.- Returns:
- The category that this article belongs in or null if there was an issue in determining this.
-
-