| java.lang.Object com.uwyn.rife.database.DbQueryManager com.uwyn.rife.authentication.sessionmanagers.DatabaseSessions
All known Subclasses: com.uwyn.rife.authentication.sessionmanagers.databasedrivers.generic,
Method Summary | |
public boolean | _continueSession(Update continueSession, String authId) | protected long | _countSessions(Select countSessions) | protected void | _eraseAllSessions(Delete eraseAllSessions) | protected boolean | _eraseSession(Delete eraseSession, String authId) | protected boolean | _eraseUserSessions(Delete eraseUserSessions, long userId) | protected long | _getSessionUserId(Select getSessionUserId, String authId) | protected boolean | _install(CreateTable createAuthentication, String createAuthenticationSessStartIndex) | protected boolean | _isSessionValid(Select sessionValidity, Select sessionValidityRestrictHostIp, String authId, String hostIp) | protected boolean | _listSessions(Select listSessions, ListSessions processor) | protected void | _purgeSessions(Delete purgeSession) | protected boolean | _remove(DropTable removeAuthentication, String removeAuthenticationSessStartIndex) | protected String | _startSession(Insert startSession, long userId, String hostIp, boolean remembered) | protected boolean | _wasRemembered(Select wasRemembered, String authId) | abstract public long | countSessions() | public boolean | getRestrictHostIp() | public long | getSessionDuration() | abstract public boolean | install() | abstract public boolean | remove() | public void | setRestrictHostIp(boolean flag) | public void | setSessionDuration(long milliseconds) |
_install | protected boolean _install(CreateTable createAuthentication, String createAuthenticationSessStartIndex)(Code) | | |
_remove | protected boolean _remove(DropTable removeAuthentication, String removeAuthenticationSessStartIndex)(Code) | | |
getRestrictHostIp | public boolean getRestrictHostIp()(Code) | | |
getSessionDuration | public long getSessionDuration()(Code) | | |
setRestrictHostIp | public void setRestrictHostIp(boolean flag)(Code) | | |
setSessionDuration | public void setSessionDuration(long milliseconds)(Code) | | |
Methods inherited from com.uwyn.rife.database.DbQueryManager | public Object clone()(Code)(Java Doc) public boolean executeFetchAll(ReadQuery query, DbRowProcessor rowProcessor) throws DatabaseException(Code)(Java Doc) public boolean executeFetchAll(ReadQuery query, DbRowProcessor rowProcessor, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public List<BeanType> executeFetchAllBeans(ReadQuery query, Class<BeanType> beanClass) throws DatabaseException(Code)(Java Doc) public List<BeanType> executeFetchAllBeans(ReadQuery query, Class<BeanType> beanClass, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public boolean executeFetchFirst(ReadQuery query, DbRowProcessor rowProcessor) throws DatabaseException(Code)(Java Doc) public boolean executeFetchFirst(ReadQuery query, DbRowProcessor rowProcessor, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public BeanType executeFetchFirstBean(ReadQuery query, Class<BeanType> beanClass) throws DatabaseException(Code)(Java Doc) public BeanType executeFetchFirstBean(ReadQuery query, Class<BeanType> beanClass, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public boolean executeGetFirstBoolean(ReadQuery query) throws DatabaseException(Code)(Java Doc) public boolean executeGetFirstBoolean(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public byte executeGetFirstByte(ReadQuery query) throws DatabaseException(Code)(Java Doc) public byte executeGetFirstByte(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public byte[] executeGetFirstBytes(ReadQuery query) throws DatabaseException(Code)(Java Doc) public byte[] executeGetFirstBytes(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public java.sql.Date executeGetFirstDate(ReadQuery query) throws DatabaseException(Code)(Java Doc) public java.sql.Date executeGetFirstDate(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public java.sql.Date executeGetFirstDate(ReadQuery query, Calendar cal) throws DatabaseException(Code)(Java Doc) public java.sql.Date executeGetFirstDate(ReadQuery query, Calendar cal, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public double executeGetFirstDouble(ReadQuery query) throws DatabaseException(Code)(Java Doc) public double executeGetFirstDouble(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public float executeGetFirstFloat(ReadQuery query) throws DatabaseException(Code)(Java Doc) public float executeGetFirstFloat(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public int executeGetFirstInt(ReadQuery query) throws DatabaseException(Code)(Java Doc) public int executeGetFirstInt(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public long executeGetFirstLong(ReadQuery query) throws DatabaseException(Code)(Java Doc) public long executeGetFirstLong(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public short executeGetFirstShort(ReadQuery query) throws DatabaseException(Code)(Java Doc) public short executeGetFirstShort(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public String executeGetFirstString(ReadQuery query) throws DatabaseException(Code)(Java Doc) public String executeGetFirstString(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public java.sql.Time executeGetFirstTime(ReadQuery query) throws DatabaseException(Code)(Java Doc) public java.sql.Time executeGetFirstTime(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public java.sql.Time executeGetFirstTime(ReadQuery query, Calendar cal) throws DatabaseException(Code)(Java Doc) public java.sql.Time executeGetFirstTime(ReadQuery query, Calendar cal, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public java.sql.Timestamp executeGetFirstTimestamp(ReadQuery query) throws DatabaseException(Code)(Java Doc) public java.sql.Timestamp executeGetFirstTimestamp(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public java.sql.Timestamp executeGetFirstTimestamp(ReadQuery query, Calendar cal) throws DatabaseException(Code)(Java Doc) public java.sql.Timestamp executeGetFirstTimestamp(ReadQuery query, Calendar cal, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public boolean executeHasResultRows(ReadQuery query) throws DatabaseException(Code)(Java Doc) public boolean executeHasResultRows(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public ResultType executeQuery(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public ResultType executeQuery(ReadQuery query, DbResultSetHandler handler) throws DatabaseException(Code)(Java Doc) public DbStatement executeQuery(ReadQuery query) throws DatabaseException(Code)(Java Doc) public int executeUpdate(String sql) throws DatabaseException(Code)(Java Doc) public int executeUpdate(Query query) throws DatabaseException(Code)(Java Doc) public int executeUpdate(Query query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public ResultType executeUseFirstAsciiStream(ReadQuery query, InputStreamUser user) throws DatabaseException, InnerClassException(Code)(Java Doc) public ResultType executeUseFirstAsciiStream(ReadQuery query, InputStreamUser user, DbPreparedStatementHandler handler) throws DatabaseException, InnerClassException(Code)(Java Doc) public ResultType executeUseFirstBinaryStream(ReadQuery query, InputStreamUser user) throws DatabaseException, InnerClassException(Code)(Java Doc) public ResultType executeUseFirstBinaryStream(ReadQuery query, InputStreamUser user, DbPreparedStatementHandler handler) throws DatabaseException, InnerClassException(Code)(Java Doc) public ResultType executeUseFirstCharacterStream(ReadQuery query, ReaderUser user) throws DatabaseException, InnerClassException(Code)(Java Doc) public ResultType executeUseFirstCharacterStream(ReadQuery query, ReaderUser user, DbPreparedStatementHandler handler) throws DatabaseException, InnerClassException(Code)(Java Doc) public boolean fetch(ResultSet resultSet) throws DatabaseException(Code)(Java Doc) public boolean fetch(ResultSet resultSet, DbRowProcessor rowProcessor) throws DatabaseException(Code)(Java Doc) public boolean fetchAll(ResultSet resultSet, DbRowProcessor rowProcessor) throws DatabaseException(Code)(Java Doc) public DbConnection getConnection() throws DatabaseException(Code)(Java Doc) public Datasource getDatasource()(Code)(Java Doc) public ResultType inTransaction(DbTransactionUser user) throws InnerClassException, DatabaseException(Code)(Java Doc) public ResultType reserveConnection(DbConnectionUser user) throws InnerClassException, DatabaseException(Code)(Java Doc)
|
|
|