|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BanDAO
Defines methods used to create, access, update, and remove ban data objects.
Ban
,
BanFilter
Method Summary | |
---|---|
void |
createBan(Ban ban)
Creates a ticket entry in the database |
Ban |
getBan(long userID,
BanLevel banLevel)
Gets a Ban Object from the database. |
Ban |
getBan(java.lang.String ipAddress,
BanLevel banLevel)
Gets a Ban Object from the database. |
java.util.List |
getBans()
Gets an unfiltered list of Ban objects from database |
java.util.List |
getBans(BanFilter filter)
Gets a filtered list of Ban objects from the database |
void |
removeBan(long banID)
Removes a Ban entry from the database |
void |
updateBan(Ban ban)
Updates a ticket entry in the database |
Method Detail |
---|
void createBan(Ban ban)
ban
- the ticket to createvoid updateBan(Ban ban)
ban
- the ticket to updatevoid removeBan(long banID)
banID
- the id of the ban to removeBan getBan(long userID, BanLevel banLevel)
userID
- userID the ID of the userbanLevel
- the level of the ban
Ban getBan(java.lang.String ipAddress, BanLevel banLevel)
ipAddress
- the IP Address of the banbanLevel
- the level of the ban
java.util.List getBans()
java.util.List getBans(BanFilter filter)
filter
- the BanFilter object
Ban
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |