com.uwyn.drone.modules.faqmanagement
Interface FaqManager
- All Known Implementing Classes: 
- DatabaseFaqs
- public interface FaqManager
 
addFaq
public int addFaq(Bot bot,
                  FaqData faqData)
           throws FaqManagerException
- 
- Throws:
- FaqManagerException
 
editFaq
public boolean editFaq(FaqData faqData)
                throws FaqManagerException
- 
- Throws:
- FaqManagerException
 
getFaq
public FaqData getFaq(Bot bot,
                      String name)
               throws FaqManagerException
- 
- Throws:
- FaqManagerException
 
getFaqById
public FaqData getFaqById(int id)
                   throws FaqManagerException
- 
- Throws:
- FaqManagerException
 
getRandomFaq
public FaqData getRandomFaq(Bot bot)
                     throws FaqManagerException
- 
- Throws:
- FaqManagerException
 
removeFaq
public boolean removeFaq(Bot bot,
                         String name)
                  throws FaqManagerException
- 
- Throws:
- FaqManagerException
 
setRandom
public boolean setRandom(Bot bot,
                         String name,
                         boolean state)
                  throws FaqManagerException
- 
- Throws:
- FaqManagerException
 
Copyright © 2002-2005 Uwyn bvba/sprl. All Rights Reserved.