Index
A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(WhereStatement) - Method in class uk.co.bjdavies.api.db.WhereStatement
- addAllFrom(Class<?>) - Method in interface uk.co.bjdavies.api.variables.IVariableContainer
-
This method will add all the variables (@Variable.class) that are in that class to the 2 Maps.
- addCommand(String, ICommand) - Method in interface uk.co.bjdavies.api.command.ICommandDispatcher
-
This is where you can a command to the command dispatcher.
- addField(String, Field) - Method in interface uk.co.bjdavies.api.variables.IVariableContainer
-
This will add a field to the container.
- addMethod(String, Method) - Method in interface uk.co.bjdavies.api.variables.IVariableContainer
-
This will add a method to the container.
- addNamespace(String, List<ICommand>) - Method in interface uk.co.bjdavies.api.command.ICommandDispatcher
-
This is where you can a command to the command dispatcher.
- addPlugin(String, IPlugin) - Method in interface uk.co.bjdavies.api.plugins.IPluginContainer
-
This method will allow you to add a plugin to the container.
- aliases() - Method in annotation type uk.co.bjdavies.api.command.Command
-
The aliases of the command.
- all() - Static method in class uk.co.bjdavies.api.db.Model
-
This will return a
IQueryBuilder
where you can find a model you want or get all of them. - and(WhereStatement...) - Method in interface uk.co.bjdavies.api.db.IBaseBuilder
-
This will return a QueryBuilder of the results from the where.
- and(WhereStatement...) - Method in interface uk.co.bjdavies.api.db.ICommandBuilder
- and(WhereStatement...) - Method in interface uk.co.bjdavies.api.db.IModelBuilder
- and(WhereStatement...) - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
- AND - uk.co.bjdavies.api.db.Operator
B
- belongsTo(Class<E>, String, String) - Method in class uk.co.bjdavies.api.db.Model
-
This will return a one to one relation e.g.
- BelongsTo - Annotation Type in uk.co.bjdavies.api.db.methods
- belongsToMany(Class<E>) - Method in class uk.co.bjdavies.api.db.Model
-
This will return a many to many between two relations REQUIRES: a intermediate table.
- BETWEEN - uk.co.bjdavies.api.db.Operator
- buildCommand() - Method in interface uk.co.bjdavies.api.db.ICommandBuilder
-
This will build the sql for the command INSERT INTO, UPDATE, DELETE (?, ?, ?) that will get prepared by the connection.
- buildQuery() - Method in interface uk.co.bjdavies.api.db.IModelBuilder
- buildQuery() - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
C
- charLimit() - Method in annotation type uk.co.bjdavies.api.db.fields.StringField
- Command - Annotation Type in uk.co.bjdavies.api.command
- Comparator - Enum in uk.co.bjdavies.api.db
- Controller - Annotation Type in uk.co.bjdavies.api.http
- count() - Method in interface uk.co.bjdavies.api.db.IModelBuilder
- count() - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
- createCommandBuilder(String) - Method in interface uk.co.bjdavies.api.db.IConnection
- createQueryBuilder(String, String) - Method in interface uk.co.bjdavies.api.db.IConnection
- createQueryBuilder(String, String, Class<T>) - Method in interface uk.co.bjdavies.api.db.IConnection
D
- defaultValue() - Method in annotation type uk.co.bjdavies.api.db.fields.IntField
- defaultValue() - Method in annotation type uk.co.bjdavies.api.db.fields.StringField
- delete() - Method in interface uk.co.bjdavies.api.db.ICommandBuilder
- delete() - Method in class uk.co.bjdavies.api.db.Model
-
This will delete the current model be careful once this is done the data will be deleted from the database and cannot be undone.
- description() - Method in annotation type uk.co.bjdavies.api.command.Command
-
The Description for the command.
- doesntExist() - Method in interface uk.co.bjdavies.api.db.IModelBuilder
- doesntExist() - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
- doesPluginExist(String) - Method in interface uk.co.bjdavies.api.plugins.IPluginContainer
-
This method checks whether the plugin specified exists in the container.
E
- equals(String, String) - Method in interface uk.co.bjdavies.api.db.IDBRecord
- equals(String, String) - Method in class uk.co.bjdavies.api.db.Model
-
Refer to
IDBRecord
- EQUALS - uk.co.bjdavies.api.db.Comparator
- executeCommand(ICommandBuilder) - Method in interface uk.co.bjdavies.api.db.IConnection
- executeQuery(IQueryBuilder<T>) - Method in interface uk.co.bjdavies.api.db.IConnection
- exists() - Method in interface uk.co.bjdavies.api.db.IModelBuilder
- exists() - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
- exists(String) - Method in interface uk.co.bjdavies.api.variables.IVariableContainer
-
This checks whether the variable exists in this container.
F
- find(int) - Method in interface uk.co.bjdavies.api.db.IModelBuilder
-
Find a element in the collection.
- find(int) - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
-
Find a element in the collection.
- find(int) - Static method in class uk.co.bjdavies.api.db.Model
-
This will return a
Optional
by the id you specify. - find(int, String...) - Method in interface uk.co.bjdavies.api.db.IModelBuilder
-
Find a element in the collection.
- find(int, String...) - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
-
Find a element in the collection.
- findOrFail(int) - Method in interface uk.co.bjdavies.api.db.IModelBuilder
-
This will return a model throw an exception
- findOrFail(int) - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
-
This will return a model throw an exception
- findOrFail(int) - Static method in class uk.co.bjdavies.api.db.Model
-
This will return a
Model
by the id you specify or fail. - findOrFail(int, String...) - Method in interface uk.co.bjdavies.api.db.IModelBuilder
-
This will return a model throw an exception
- findOrFail(int, String...) - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
-
This will return a model throw an exception
- first() - Method in interface uk.co.bjdavies.api.db.IModelBuilder
-
Return the first element in the collection
- first() - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
-
Return the first element in the collection
- first(String...) - Method in interface uk.co.bjdavies.api.db.IModelBuilder
-
Return the first element in the collection
- first(String...) - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
-
Return the first element in the collection
- foreignKey() - Method in annotation type uk.co.bjdavies.api.db.methods.BelongsTo
- foreignKey() - Method in annotation type uk.co.bjdavies.api.db.methods.HasMany
G
- get() - Method in interface uk.co.bjdavies.api.db.IModelBuilder
-
Return a collection of Type T
- get() - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
-
Return a collection of Type T
- get(Class<T>) - Method in interface uk.co.bjdavies.api.IApplication
-
This will return of a instance of a class and inject any dependencies that are inside the dependency injector.
- get(String) - Method in interface uk.co.bjdavies.api.db.IDBRecord
- get(String) - Method in class uk.co.bjdavies.api.db.Model
-
Refer to
IDBRecord
- get(String...) - Method in interface uk.co.bjdavies.api.db.IModelBuilder
-
Return a collection of Type T
- get(String...) - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
-
Return a collection of Type T
- Get - Annotation Type in uk.co.bjdavies.api.http
-
This is a get request your controller, Your return type must be either String, IResponse, or extends Publisher
> - getAliases() - Method in interface uk.co.bjdavies.api.command.ICommand
-
The aliases of the command.
- getAuthor() - Method in interface uk.co.bjdavies.api.plugins.IPlugin
-
This is the author of the Plugin.
- getClient() - Method in interface uk.co.bjdavies.api.discord.IDiscordFacade
-
This will return the discord client.
- getCommandByAlias(String, String, String) - Method in interface uk.co.bjdavies.api.command.ICommandDispatcher
-
This will try and return a command based on a name and type of command.
- getCommandDispatcher() - Method in interface uk.co.bjdavies.api.IApplication
-
This will return an instance of the application command dispatcher.
- getCommandName() - Method in interface uk.co.bjdavies.api.command.ICommandContext
-
Returns the command's name.
- getCommandPrefix() - Method in interface uk.co.bjdavies.api.config.IDiscordConfig
-
This will return the command prefix.
- getCommands(String) - Method in interface uk.co.bjdavies.api.command.ICommandDispatcher
-
This will return the list of commands in the dispatcher from all namespaces.
- getCommands(String, String) - Method in interface uk.co.bjdavies.api.command.ICommandDispatcher
-
This will return the list of commands in the dispatcher.
- getCommandsFromNamespace(String) - Method in interface uk.co.bjdavies.api.command.ICommandDispatcher
- getCommandUtils() - Method in interface uk.co.bjdavies.api.command.ICommandContext
- getComparator() - Method in class uk.co.bjdavies.api.db.WhereStatement
- getConfig() - Method in interface uk.co.bjdavies.api.IApplication
-
This will return an instance of the application config from config.json file in your root directory.
- getData() - Method in interface uk.co.bjdavies.api.db.IDBRecord
- getData() - Method in class uk.co.bjdavies.api.db.Model
-
Refer to
IDBRecord
- getDatabase() - Method in interface uk.co.bjdavies.api.config.IDatabaseConfig
-
Get the database NOTE: this is where you put the .db file for Sqlite.
- getDatabaseConfig() - Method in interface uk.co.bjdavies.api.config.IConfig
-
This will return the config for the database part of the bot.
- getDescription() - Method in interface uk.co.bjdavies.api.command.ICommand
-
The Description for the command.
- getDiscordConfig() - Method in interface uk.co.bjdavies.api.config.IConfig
-
This will return the config for the discord part of this bot.
- getFieldVariable(String) - Method in interface uk.co.bjdavies.api.variables.IVariableContainer
-
This will return a field based on the name specified.
- getFloat(String) - Method in interface uk.co.bjdavies.api.db.IDBRecord
- getFloat(String) - Method in class uk.co.bjdavies.api.db.Model
-
Refer to
IDBRecord
- getGroup() - Method in class uk.co.bjdavies.api.db.WhereStatement
- getHostname() - Method in interface uk.co.bjdavies.api.config.IDatabaseConfig
-
The hostname to connect to the database.
- getHttpConfig() - Method in interface uk.co.bjdavies.api.config.IConfig
-
This will return the config for the HTTP Server.
- getInt(String) - Method in interface uk.co.bjdavies.api.db.IDBRecord
- getInt(String) - Method in class uk.co.bjdavies.api.db.Model
-
Refer to
IDBRecord
- getJWTTokenPassword() - Method in interface uk.co.bjdavies.api.config.ISystemConfig
-
This will return the JWTTokenPassword.
- getKey() - Method in class uk.co.bjdavies.api.db.WhereStatement
- getMaximumServerVersion() - Method in interface uk.co.bjdavies.api.plugins.IPlugin
-
This is the maximum version of the server that the plugin can run on.
- getMaxWorkerThreads() - Method in interface uk.co.bjdavies.api.config.IHttpConfig
-
This will return how many threads that the http server will handle.
- getMessage() - Method in interface uk.co.bjdavies.api.command.ICommandContext
-
This will return the message object.
- getMethodVariable(String) - Method in interface uk.co.bjdavies.api.variables.IVariableContainer
-
This will return a method based on the name specified.
- getMinimumServerVersion() - Method in interface uk.co.bjdavies.api.plugins.IPlugin
-
This is the minimum version of the server that the plugin can run on.
- getName() - Method in interface uk.co.bjdavies.api.plugins.IPlugin
-
This is the name of the Plugin.
- getNamespace() - Method in interface uk.co.bjdavies.api.plugins.IPlugin
-
This is the namespace for your commands Please don't use ""; Because if it clashes with any commands your commands will not be added to system.
- getNamespaceFromCommandName(String) - Method in interface uk.co.bjdavies.api.command.ICommandDispatcher
- getOperator() - Method in class uk.co.bjdavies.api.db.WhereStatement
- getOurUser() - Method in interface uk.co.bjdavies.api.discord.IDiscordFacade
-
This is available to the public through plugins and this will return the bot user.
- getParameter(String) - Method in interface uk.co.bjdavies.api.command.ICommandContext
-
This will return the value of a given parameter.
- getPassword() - Method in interface uk.co.bjdavies.api.config.IDatabaseConfig
-
Password to connect to the database.
- getPlayingText() - Method in interface uk.co.bjdavies.api.config.IDiscordConfig
-
This is the default playing text when the bot starts NOTE: this can be changed by any module consult the module author if you wish then to add config to stop this.
- getPlugin(String) - Method in interface uk.co.bjdavies.api.plugins.IPluginContainer
-
This method allows you to get a plugin from the container.
- getPluginClassPath() - Method in interface uk.co.bjdavies.api.config.IPluginConfig
-
This will return the plugin's class path.
- getPluginContainer() - Method in interface uk.co.bjdavies.api.IApplication
-
This will return an instance of the application plugin container
- getPluginLocation() - Method in interface uk.co.bjdavies.api.config.IPluginConfig
-
This will return the plugin's location.
- getPlugins() - Method in interface uk.co.bjdavies.api.config.IConfig
-
This will return the config for the plugins used in this bot.
- getPluginType() - Method in interface uk.co.bjdavies.api.config.IPluginConfig
-
This will return the plugin type either "js" or "java"
- getPort() - Method in interface uk.co.bjdavies.api.config.IDatabaseConfig
-
The port to connect to the database.
- getPort() - Method in interface uk.co.bjdavies.api.config.IHttpConfig
-
This will return the port of the httpServer
- getServerVersion() - Method in interface uk.co.bjdavies.api.config.ISystemConfig
-
This will return the serverVersion
- getServerVersion() - Method in interface uk.co.bjdavies.api.IApplication
-
This will return the version of the server.
- getSQL() - Method in interface uk.co.bjdavies.api.db.ISQLCommand
- getSQLConnection() - Method in interface uk.co.bjdavies.api.db.IConnection
- getString(String) - Method in interface uk.co.bjdavies.api.db.IDBRecord
- getString(String) - Method in class uk.co.bjdavies.api.db.Model
-
Refer to
IDBRecord
- getSystemConfig() - Method in interface uk.co.bjdavies.api.config.IConfig
-
This will return the config for the system part of this bot.
- getToken() - Method in interface uk.co.bjdavies.api.config.IDiscordConfig
-
This will return the token.
- getType() - Method in interface uk.co.bjdavies.api.command.ICommand
-
The type of command (Terminal, Discord, All).
- getType() - Method in interface uk.co.bjdavies.api.command.ICommandContext
-
This returns the command's type.
- getType() - Method in interface uk.co.bjdavies.api.config.IDatabaseConfig
-
This is the type of the database.
- getUsage() - Method in interface uk.co.bjdavies.api.command.ICommand
-
The Usage for the command.
- getUsername() - Method in interface uk.co.bjdavies.api.config.IDatabaseConfig
-
User name to connect to the db.
- getValue() - Method in interface uk.co.bjdavies.api.command.ICommandContext
-
Returns the value of the command (if any).
- getValue() - Method in class uk.co.bjdavies.api.db.WhereStatement
- getValues() - Method in interface uk.co.bjdavies.api.db.ISQLCommand
- getVariableContainer() - Method in interface uk.co.bjdavies.api.IApplication
-
This will return an instance of the application variable container
- getVersion() - Method in interface uk.co.bjdavies.api.plugins.IPlugin
-
This is the version of the Plugin.
- GREATER_THAN - uk.co.bjdavies.api.db.Comparator
- GREATER_THAN_OR_EQUAL_TO - uk.co.bjdavies.api.db.Comparator
H
- hasMany(Class<E>, String, String) - Method in class uk.co.bjdavies.api.db.Model
-
This will return a one to many relationship between two relations e.g.
- HasMany - Annotation Type in uk.co.bjdavies.api.db.methods
- hasOne(Class<E>) - Method in class uk.co.bjdavies.api.db.Model
-
This will return a one to one relation e.g.
- hasParameter(String) - Method in interface uk.co.bjdavies.api.command.ICommandContext
-
This checks whether a parameter is present.
I
- IApplication - Interface in uk.co.bjdavies.api
-
This is a interface for an application
- IBaseBuilder - Interface in uk.co.bjdavies.api.db
- ICommand - Interface in uk.co.bjdavies.api.command
- ICommandBuilder - Interface in uk.co.bjdavies.api.db
- ICommandContext - Interface in uk.co.bjdavies.api.command
- ICommandDispatcher - Interface in uk.co.bjdavies.api.command
- ICommandMiddleware - Interface in uk.co.bjdavies.api.command
- IConfig - Interface in uk.co.bjdavies.api.config
-
BabbleBot, open-source Discord Bot Licence: GPL V3 Author: Ben Davies Class Name: Config.java Compiled Class Name: Config.class Date Created: 30/01/2018
- IConnection - Interface in uk.co.bjdavies.api.db
-
This is the connection interface that'll deal with high level abstraction with dealing with a database such as #findOne #findAll #insert #insertGetId #update #delte
- IDatabaseConfig - Interface in uk.co.bjdavies.api.config
- IDBRecord - Interface in uk.co.bjdavies.api.db
- IDiscordCommandUtil - Interface in uk.co.bjdavies.api.discord
-
This is a list of utils attached to a command context and they make it easier to do things inside commands.
- IDiscordConfig - Interface in uk.co.bjdavies.api.config
- IDiscordFacade - Interface in uk.co.bjdavies.api.discord
-
This is the Public API for the Discord4JWrapper of the Discord API this will be used for plugins
- IHttpConfig - Interface in uk.co.bjdavies.api.config
- IModelBuilder<T extends Model> - Interface in uk.co.bjdavies.api.db
- IN - uk.co.bjdavies.api.db.Operator
- increments() - Method in annotation type uk.co.bjdavies.api.db.fields.PrimaryField
-
This is if the type of primary is an int field.
- insert(Map<String, Object>) - Method in interface uk.co.bjdavies.api.db.ICommandBuilder
-
This will insert a row into the table.
- IntField - Annotation Type in uk.co.bjdavies.api.db.fields
- IPlugin - Interface in uk.co.bjdavies.api.plugins
- IPluginConfig - Interface in uk.co.bjdavies.api.config
- IPluginContainer - Interface in uk.co.bjdavies.api.plugins
- IQueryBuilder<T extends IDBRecord> - Interface in uk.co.bjdavies.api.db
- isDebugOn() - Method in interface uk.co.bjdavies.api.config.ISystemConfig
-
This will return if debug is on.
- ISQLCommand - Interface in uk.co.bjdavies.api.db
- ISystemConfig - Interface in uk.co.bjdavies.api.config
- IVariableContainer - Interface in uk.co.bjdavies.api.variables
L
- LESS_THAN - uk.co.bjdavies.api.db.Comparator
- LESS_THAN_OR_EQUAL_TO - uk.co.bjdavies.api.db.Comparator
- LIKE - uk.co.bjdavies.api.db.Comparator
- limit(int) - Method in interface uk.co.bjdavies.api.db.IModelBuilder
- limit(int) - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
- localKey() - Method in annotation type uk.co.bjdavies.api.db.methods.BelongsTo
- localKey() - Method in annotation type uk.co.bjdavies.api.db.methods.HasMany
- logoutBot() - Method in interface uk.co.bjdavies.api.discord.IDiscordFacade
-
This is available to the public through plugins and this will allow for a bot to be logged out I wouldn't recommend using this only if you would like to implement a logout command for the bot.
M
- Model - Class in uk.co.bjdavies.api.db
-
This is the model class which gets converted at runtime by the babblebot-agent.
- Model() - Constructor for class uk.co.bjdavies.api.db.Model
-
Construct a Model.
N
- name() - Method in annotation type uk.co.bjdavies.api.db.TableName
- NOT_EQUALS - uk.co.bjdavies.api.db.Comparator
- NOT_LIKE - uk.co.bjdavies.api.db.Comparator
- nullable() - Method in annotation type uk.co.bjdavies.api.db.fields.IntField
- nullable() - Method in annotation type uk.co.bjdavies.api.db.fields.StringField
O
- onBoot() - Method in interface uk.co.bjdavies.api.plugins.IPlugin
-
This will run when the plugin is installed.
- onExecute(ICommandContext) - Method in interface uk.co.bjdavies.api.command.ICommandMiddleware
- onReload() - Method in interface uk.co.bjdavies.api.plugins.IPlugin
-
This will run on a Babblebot-Server Agent HotSwap.
- onShutdown() - Method in interface uk.co.bjdavies.api.plugins.IPlugin
-
This will run the plugin is removed from the app or the application has shutdown.
- Operator - Enum in uk.co.bjdavies.api.db
- or(WhereStatement...) - Method in interface uk.co.bjdavies.api.db.IBaseBuilder
-
This will return a QueryBuilder of the results from the where.
- or(WhereStatement...) - Method in interface uk.co.bjdavies.api.db.ICommandBuilder
- or(WhereStatement...) - Method in interface uk.co.bjdavies.api.db.IModelBuilder
- or(WhereStatement...) - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
- OR - uk.co.bjdavies.api.db.Operator
- orderBy(String) - Method in interface uk.co.bjdavies.api.db.IModelBuilder
- orderBy(String) - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
P
- PER_REQUEST - uk.co.bjdavies.api.http.Scope.RequestScope
- PrimaryField - Annotation Type in uk.co.bjdavies.api.db.fields
- Protected - Annotation Type in uk.co.bjdavies.api.db.fields
-
This means it is protected from JSON Output.
R
- registerEventHandler(Class<T>, Consumer<T>) - Method in interface uk.co.bjdavies.api.discord.IDiscordFacade
-
Register a Event Listener to the Discord Client.
- registerGlobalMiddleware(ICommandMiddleware) - Method in interface uk.co.bjdavies.api.command.ICommandDispatcher
- remove(String) - Method in interface uk.co.bjdavies.api.variables.IVariableContainer
-
This will remove one from the container based on the name.
- removeCommand(String, ICommand) - Method in interface uk.co.bjdavies.api.command.ICommandDispatcher
-
This is where you can remove the command from the dispatcher.
- removeNamespace(String) - Method in interface uk.co.bjdavies.api.command.ICommandDispatcher
-
This is where you can a command to the command dispatcher.
- removePlugin(String) - Method in interface uk.co.bjdavies.api.plugins.IPluginContainer
-
This method allows you to remove a plugin from the container.
- requiredParams() - Method in annotation type uk.co.bjdavies.api.command.Command
-
A list of required params for the command.
- reverse() - Method in interface uk.co.bjdavies.api.db.IModelBuilder
- reverse() - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
- run(IApplication, ICommandContext) - Method in interface uk.co.bjdavies.api.command.ICommand
-
This is the execution point for the command.
S
- save() - Method in class uk.co.bjdavies.api.db.Model
-
This will persist data that has been changed by the model.
- Scope - Annotation Type in uk.co.bjdavies.api.http
- Scope.RequestScope - Enum in uk.co.bjdavies.api.http
- select(String...) - Method in interface uk.co.bjdavies.api.db.IModelBuilder
- select(String...) - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
- sendPrivateMessage(String) - Method in interface uk.co.bjdavies.api.discord.IDiscordCommandUtil
- setComparator(Comparator) - Method in class uk.co.bjdavies.api.db.WhereStatement
- setData(Map<String, Object>) - Method in interface uk.co.bjdavies.api.db.IDBRecord
- setData(Map<String, Object>) - Method in class uk.co.bjdavies.api.db.Model
-
Refer to
IDBRecord
- setFields() - Method in class uk.co.bjdavies.api.db.Model
-
This will set the fields from the data passed in.
- setKey(String) - Method in class uk.co.bjdavies.api.db.WhereStatement
- setOperator(Operator) - Method in class uk.co.bjdavies.api.db.WhereStatement
- setParents(Map<String, Model>) - Method in class uk.co.bjdavies.api.db.Model
- setValue(String) - Method in class uk.co.bjdavies.api.db.WhereStatement
- SINGLETON - uk.co.bjdavies.api.http.Scope.RequestScope
- StringField - Annotation Type in uk.co.bjdavies.api.db.fields
T
- TableName - Annotation Type in uk.co.bjdavies.api.db
- toJson() - Method in class uk.co.bjdavies.api.db.Model
-
Convert your model to json.
- toJsonString(String...) - Method in interface uk.co.bjdavies.api.db.IDBRecord
- toJsonString(String...) - Method in class uk.co.bjdavies.api.db.Model
-
Refer to
IDBRecord
- toString() - Method in interface uk.co.bjdavies.api.plugins.IPluginContainer
-
This is the toString of the class will show the classes contents.
- type() - Method in annotation type uk.co.bjdavies.api.command.Command
-
The type of command (Terminal, Discord, All).
U
- uk.co.bjdavies.api - package uk.co.bjdavies.api
- uk.co.bjdavies.api.command - package uk.co.bjdavies.api.command
- uk.co.bjdavies.api.config - package uk.co.bjdavies.api.config
- uk.co.bjdavies.api.db - package uk.co.bjdavies.api.db
- uk.co.bjdavies.api.db.fields - package uk.co.bjdavies.api.db.fields
- uk.co.bjdavies.api.db.methods - package uk.co.bjdavies.api.db.methods
- uk.co.bjdavies.api.discord - package uk.co.bjdavies.api.discord
- uk.co.bjdavies.api.http - package uk.co.bjdavies.api.http
- uk.co.bjdavies.api.plugins - package uk.co.bjdavies.api.plugins
- uk.co.bjdavies.api.variables - package uk.co.bjdavies.api.variables
- Unique - Annotation Type in uk.co.bjdavies.api.db.fields
- update(Map<String, Object>) - Method in interface uk.co.bjdavies.api.db.ICommandBuilder
-
This
- updateBotPlayingText(String) - Method in interface uk.co.bjdavies.api.discord.IDiscordFacade
-
This will update the presence of the bot to the text
- usage() - Method in annotation type uk.co.bjdavies.api.command.Command
-
The Usage for the command.
V
- validateUsage(ICommandContext) - Method in interface uk.co.bjdavies.api.command.ICommand
-
This is to make sure that the command the user inputted is valid.
- value() - Method in annotation type uk.co.bjdavies.api.http.Controller
- value() - Method in annotation type uk.co.bjdavies.api.http.Get
- value() - Method in annotation type uk.co.bjdavies.api.http.Scope
- valueOf(String) - Static method in enum uk.co.bjdavies.api.db.Comparator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.co.bjdavies.api.db.Operator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uk.co.bjdavies.api.http.Scope.RequestScope
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum uk.co.bjdavies.api.db.Comparator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum uk.co.bjdavies.api.db.Operator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum uk.co.bjdavies.api.http.Scope.RequestScope
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Variable - Annotation Type in uk.co.bjdavies.api.variables
-
This annotation will declare to the plugin parser that either the field or the method will be used as a variable
W
- where(String, Object) - Method in interface uk.co.bjdavies.api.db.IBaseBuilder
-
This will return a QueryBuilder of the results from the where.
- where(String, Object) - Method in interface uk.co.bjdavies.api.db.ICommandBuilder
- where(String, Object) - Method in interface uk.co.bjdavies.api.db.IModelBuilder
- where(String, Object) - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
- where(String, Object) - Static method in class uk.co.bjdavies.api.db.Model
-
This will return a
IQueryBuilder
where you can find a model you want by column and value - where(String, Comparator, Object) - Method in interface uk.co.bjdavies.api.db.IBaseBuilder
-
This will return a QueryBuilder of the results from the where.
- where(String, Comparator, Object) - Method in interface uk.co.bjdavies.api.db.ICommandBuilder
- where(String, Comparator, Object) - Method in interface uk.co.bjdavies.api.db.IModelBuilder
- where(String, Comparator, Object) - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
- where(String, Comparator, Object) - Static method in class uk.co.bjdavies.api.db.Model
- where(WhereStatement) - Method in interface uk.co.bjdavies.api.db.IBaseBuilder
-
This will return a QueryBuilder of the results from the where.
- where(WhereStatement) - Method in interface uk.co.bjdavies.api.db.ICommandBuilder
- where(WhereStatement) - Method in interface uk.co.bjdavies.api.db.IModelBuilder
- where(WhereStatement) - Method in interface uk.co.bjdavies.api.db.IQueryBuilder
- where(WhereStatement) - Static method in class uk.co.bjdavies.api.db.Model
- WhereStatement - Class in uk.co.bjdavies.api.db
- WhereStatement(String) - Constructor for class uk.co.bjdavies.api.db.WhereStatement
- WhereStatement(String, Object) - Constructor for class uk.co.bjdavies.api.db.WhereStatement
- WhereStatement(String, Object, Comparator) - Constructor for class uk.co.bjdavies.api.db.WhereStatement
- WhereStatement(String, String) - Constructor for class uk.co.bjdavies.api.db.WhereStatement
- WhereStatement(String, String, Comparator) - Constructor for class uk.co.bjdavies.api.db.WhereStatement
- WhereStatement(Operator, WhereStatement...) - Constructor for class uk.co.bjdavies.api.db.WhereStatement
All Classes All Packages