public static final class

ChanConfiguration.Board

extends Object
java.lang.Object
   ↳ chan.content.ChanConfiguration.Board

Class Overview

Board configuration holder.

Summary

Fields
public boolean allowArchive

Set true to allow client to read an archive of threads.

public boolean allowCatalog

Set true to allow user to read catalog.

public boolean allowCatalogSearch

Set true to allow client to use catalog as search source.

public boolean allowDeleting

Set true to allow user to delete posts.

public boolean allowPosting

Set true to allow user to send posts.

public boolean allowReporting

Set true to allow user to send reports.

public boolean allowSearch

Set true to allow user to search for threads and posts.

Public Constructors
ChanConfiguration.Board()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public boolean allowArchive

Set true to allow client to read an archive of threads.

public boolean allowCatalog

Set true to allow user to read catalog.

public boolean allowCatalogSearch

Set true to allow client to use catalog as search source. In this case allowCatalog also must be true. It can be useful if your chan's catalog is very detailed and can show last replies to all threads.

public boolean allowDeleting

Set true to allow user to delete posts. You must implement onSendDeletePosts(chan.content.ChanPerformer.SendDeletePostsData) and configure deleting with obtainDeletingConfiguration(String) then.

public boolean allowPosting

Set true to allow user to send posts. You must implement onSendPost(chan.content.ChanPerformer.SendPostData) and configure posting with obtainPostingConfiguration(String, boolean) then.

public boolean allowReporting

Set true to allow user to send reports. You must implement onSendReportPosts(chan.content.ChanPerformer.SendReportPostsData) and configure reporting with obtainReportingConfiguration(String) then.

public boolean allowSearch

Set true to allow user to search for threads and posts. You must implement onReadSearchPosts(chan.content.ChanPerformer.ReadSearchPostsData) then.

Public Constructors

public ChanConfiguration.Board ()