public final class

ThreadSummary

extends Object
java.lang.Object
   ↳ chan.content.model.ThreadSummary

Class Overview

Model containing thread summary: board name, thread number and short description. This model is used in archived threads page, for example.

Summary

Public Constructors
ThreadSummary(String boardName, String threadNumber, String description)

Constructor for ThreadSummary.

Public Methods
String getBoardName()

Returns board name.

String getDescription()

Returns thread short description.

int getPostsCount()

Returns posts count.

String getThreadNumber()

Returns thread number.

ThreadSummary setPostsCount(int postsCount)

Stores posts count in this model.

[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ThreadSummary (String boardName, String threadNumber, String description)

Constructor for ThreadSummary.

Parameters
boardName String: Board name.
threadNumber String: Thread number.
description String: Short description, may be subject or some first sentences of comment.

Public Methods

public String getBoardName ()

Returns board name.

Returns
String

public String getDescription ()

Returns thread short description.

Returns
String

public int getPostsCount ()

Returns posts count.

Returns
int

public String getThreadNumber ()

Returns thread number.

Returns
String

public ThreadSummary setPostsCount (int postsCount)

Stores posts count in this model.

Parameters
postsCount int
Returns
ThreadSummary