Package de.presti.ree6.module.giveaway
Class GiveawayManager
java.lang.Object
de.presti.ree6.module.giveaway.GiveawayManager
- All Implemented Interfaces:
IManager<de.presti.ree6.sql.entities.Giveaway>
public class GiveawayManager
extends Object
implements IManager<de.presti.ree6.sql.entities.Giveaway>
Manager for the Giveaways.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionendGiveaway
(de.presti.ree6.sql.entities.Giveaway giveaway, net.dv8tion.jda.api.utils.messages.MessageEditBuilder messageEditBuilder, List<net.dv8tion.jda.api.entities.User> users) endGiveaway
(de.presti.ree6.sql.entities.Giveaway giveaway, net.dv8tion.jda.api.utils.messages.MessageEditBuilder messageEditBuilder, List<net.dv8tion.jda.api.entities.User> users, long winners) de.presti.ree6.sql.entities.Giveaway
get
(long value) Get an object from the List.de.presti.ree6.sql.entities.Giveaway
Get an object from the List.List<de.presti.ree6.sql.entities.Giveaway>
getList()
Get the List.void
load()
Load the needed data.void
remove
(de.presti.ree6.sql.entities.Giveaway object) Remove an object from the List.
-
Constructor Details
-
GiveawayManager
public GiveawayManager()Constructor.
-
-
Method Details
-
load
public void load()Description copied from interface:IManager
Load the needed data. -
get
Description copied from interface:IManager
Get an object from the List. -
get
public de.presti.ree6.sql.entities.Giveaway get(long value) Description copied from interface:IManager
Get an object from the List. -
remove
public void remove(de.presti.ree6.sql.entities.Giveaway object) Description copied from interface:IManager
Remove an object from the List. -
endGiveaway
-
endGiveaway
-
getList
Description copied from interface:IManager
Get the List.
-