Package zendesk.support
Interface HelpItem
-
- All Known Implementing Classes:
- ArticleItem, CategoryItem, SectionItem, SeeAllArticlesItem
public interface HelpItemModel representing items in the HelpCenter UI.
-
-
Field Summary
Fields Modifier and Type Field and Description static intTYPE_ARTICLEstatic intTYPE_CATEGORYstatic intTYPE_LOADINGstatic intTYPE_NO_RESULTSstatic intTYPE_PADDINGstatic intTYPE_SECTIONstatic intTYPE_SEE_ALL
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.LonggetId()Gets the ID of this item.java.lang.StringgetName()Gets the name of the itemjava.lang.LonggetParentId()Returns the ID of the parent item.intgetViewType()Gets the type of the item
-
-
-
Field Detail
-
TYPE_CATEGORY
static final int TYPE_CATEGORY
- See Also:
- Constant Field Values
-
TYPE_SECTION
static final int TYPE_SECTION
- See Also:
- Constant Field Values
-
TYPE_ARTICLE
static final int TYPE_ARTICLE
- See Also:
- Constant Field Values
-
TYPE_SEE_ALL
static final int TYPE_SEE_ALL
- See Also:
- Constant Field Values
-
TYPE_LOADING
static final int TYPE_LOADING
- See Also:
- Constant Field Values
-
TYPE_NO_RESULTS
static final int TYPE_NO_RESULTS
- See Also:
- Constant Field Values
-
TYPE_PADDING
static final int TYPE_PADDING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getViewType
int getViewType()
Gets the type of the item- Returns:
- the type of the item
-
getName
java.lang.String getName()
Gets the name of the item- Returns:
- the name of the item, or an empty String if there is no name.
-
getId
java.lang.Long getId()
Gets the ID of this item.- Returns:
- The ID of this item, or null if there is none.
-
getParentId
java.lang.Long getParentId()
Returns the ID of the parent item.- Returns:
- the ID of the parent item, or null if there is none.
-
-