Class PlayerReportStorage

java.lang.Object
me.confuser.banmanager.common.ormlite.dao.BaseDaoImpl<PlayerReportData,Integer>
me.confuser.banmanager.common.storage.BaseStorage<PlayerReportData,Integer>
me.confuser.banmanager.common.storage.PlayerReportStorage
All Implemented Interfaces:
Iterable<PlayerReportData>, me.confuser.banmanager.common.ormlite.dao.CloseableIterable<PlayerReportData>, me.confuser.banmanager.common.ormlite.dao.Dao<PlayerReportData,Integer>

public class PlayerReportStorage extends BaseStorage<PlayerReportData,Integer>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface me.confuser.banmanager.common.ormlite.dao.Dao

    me.confuser.banmanager.common.ormlite.dao.Dao.CreateOrUpdateStatus, me.confuser.banmanager.common.ormlite.dao.Dao.DaoObserver
  • Field Summary

    Fields inherited from class me.confuser.banmanager.common.storage.BaseStorage

    plugin

    Fields inherited from class me.confuser.banmanager.common.ormlite.dao.BaseDaoImpl

    connectionSource, databaseType, dataClass, lastIterator, objectFactory, statementExecutor, tableConfig, tableInfo
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    PlayerReportStorage(BanManagerPlugin plugin, me.confuser.banmanager.common.ormlite.support.ConnectionSource connection, me.confuser.banmanager.common.ormlite.table.DatabaseTableConfig<?> table)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    int
     
    long
     
    getReports(long page, int state)
     
    getReports(long page, Integer state, UUID uniqueId)
     
    boolean
    isRecentlyReported(PlayerData player, long cooldown)
     
    boolean
    report(PlayerReportData data, boolean isSilent)
     

    Methods inherited from class me.confuser.banmanager.common.storage.BaseStorage

    create, createPreservingTimestamps, getBmTableName, getDatabaseConfig, hasUpdatedColumn, update, updatePreservingTimestamps

    Methods inherited from class me.confuser.banmanager.common.ormlite.dao.BaseDaoImpl

    assignEmptyForeignCollection, callBatchTasks, checkForInitialized, clearAllInternalObjectCaches, clearObjectCache, closeableIterator, closeLastIterator, commit, countOf, countOf, create, createIfNotExists, createOrUpdate, delete, delete, delete, deleteBuilder, endThreadConnection, executeRaw, executeRawNoArgs, extractId, findForeignFieldType, getConnectionSource, getDataClass, getEmptyForeignCollection, getObjectCache, getObjectFactory, getRawRowMapper, getSelectStarRowMapper, getTableConfig, getTableInfo, getTableName, getWrappedIterable, getWrappedIterable, idExists, initialize, isAutoCommit, isTableExists, isUpdatable, iterator, iterator, iterator, iterator, mapSelectStarRow, notifyChanges, objectsEqual, objectToString, query, queryBuilder, queryForAll, queryForEq, queryForFieldValues, queryForFieldValuesArgs, queryForFirst, queryForId, queryForMatching, queryForMatchingArgs, queryForSameId, queryRaw, queryRaw, queryRaw, queryRaw, queryRaw, queryRawValue, refresh, registerObserver, rollBack, setAutoCommit, setConnectionSource, setObjectCache, setObjectCache, setObjectFactory, setTableConfig, startThreadConnection, unregisterObserver, update, updateBuilder, updateId, updateRaw

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator