This commit is contained in:
Keir Nellyer 2016-07-10 13:32:20 -04:00
parent 3b38a0ab65
commit e1adf7d4e2
4 changed files with 6 additions and 4 deletions

View File

@ -6,7 +6,7 @@ import java.util.Optional;
import java.util.Set;
/**
* Contains data about a report.
* Holds data for a Report.
*/
public class Report
{

View File

@ -29,8 +29,7 @@ import org.bukkit.plugin.java.JavaPlugin;
import static com.google.common.base.Preconditions.checkNotNull;
/**
* ReportManager hooks into a synchronized network-wide report system
* with methods for updating/fetching/closing reports in real time.
* Provides methods for getting, using and manipulating reports.
*/
public class ReportManager
{

View File

@ -15,6 +15,9 @@ import org.bukkit.plugin.java.JavaPlugin;
import com.google.common.base.Preconditions;
import mineplex.serverdata.database.DBPool;
/**
* Handles creating {@link ReportProfile} instances from report data stored in the database.
*/
public class ReportProfileRepository
{
private static final String GRAB_RESULT_COUNT = "SELECT reports.categoryId, results.resultId, COUNT(*) AS count" +

View File

@ -33,7 +33,7 @@ import org.apache.commons.lang3.StringUtils;
import org.bukkit.Bukkit;
/**
* Responsible for all database related operations for this module.
* Handles saving and loading report data to and from the database.
*/
public class ReportRepository
{