com.uwyn.drone.modules.faqmanagement.databasedrivers
Class generic
java.lang.Object
com.uwyn.rife.database.DbQueryManager
com.uwyn.drone.modules.faqmanagement.DatabaseFaqs
com.uwyn.drone.modules.faqmanagement.databasedrivers.generic
- All Implemented Interfaces:
- Cloneable, FaqManager
- Direct Known Subclasses:
- generic_nosequence
- public class generic
- extends DatabaseFaqs
Methods inherited from class com.uwyn.rife.database.DbQueryManager |
clone, executeFetchAll, executeFetchAll, executeFetchAllBeans, executeFetchAllBeans, executeFetchFirst, executeFetchFirst, executeFetchFirstBean, executeFetchFirstBean, executeGetFirstBoolean, executeGetFirstBoolean, executeGetFirstByte, executeGetFirstByte, executeGetFirstBytes, executeGetFirstBytes, executeGetFirstDate, executeGetFirstDate, executeGetFirstDate, executeGetFirstDate, executeGetFirstDouble, executeGetFirstDouble, executeGetFirstFloat, executeGetFirstFloat, executeGetFirstInt, executeGetFirstInt, executeGetFirstLong, executeGetFirstLong, executeGetFirstShort, executeGetFirstShort, executeGetFirstString, executeGetFirstString, executeGetFirstTime, executeGetFirstTime, executeGetFirstTime, executeGetFirstTime, executeGetFirstTimestamp, executeGetFirstTimestamp, executeGetFirstTimestamp, executeGetFirstTimestamp, executeHasResultRows, executeHasResultRows, executeQuery, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUseFirstAsciiStream, executeUseFirstAsciiStream, executeUseFirstBinaryStream, executeUseFirstBinaryStream, executeUseFirstCharacterStream, executeUseFirstCharacterStream, fetch, fetch, fetchAll, getConnection, getDatasource, inTransaction, reserveConnection |
mCreateSequenceFaq
protected CreateSequence mCreateSequenceFaq
mCreateTableFaq
protected CreateTable mCreateTableFaq
mGetFaqId
protected SequenceValue mGetFaqId
mAddFaq
protected Insert mAddFaq
mEditFaq
protected Update mEditFaq
mGetFaq
protected Select mGetFaq
mGetFaqById
protected Select mGetFaqById
mGetRandomFaqIds
protected Select mGetRandomFaqIds
mSetRandom
protected Update mSetRandom
mRemoveFaq
protected Delete mRemoveFaq
mDropSequenceFaq
protected DropSequence mDropSequenceFaq
mDropTableFaq
protected DropTable mDropTableFaq
generic
public generic(Datasource datasource)
install
public boolean install()
throws FaqManagerException
- Specified by:
install
in class DatabaseFaqs
- Throws:
FaqManagerException
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
setRandom
public boolean setRandom(Bot bot,
String name,
boolean state)
throws FaqManagerException
- Throws:
FaqManagerException
removeFaq
public boolean removeFaq(Bot bot,
String name)
throws FaqManagerException
- Throws:
FaqManagerException
remove
public boolean remove()
throws FaqManagerException
- Specified by:
remove
in class DatabaseFaqs
- Throws:
FaqManagerException
Copyright © 2002-2005 Uwyn bvba/sprl. All Rights Reserved.