Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.database
Class TagQueryCacheStrategy

java.lang.Object
  extended by com.jivesoftware.forum.database.TagQueryCacheStrategy
All Implemented Interfaces:
QueryCacheStrategy

public class TagQueryCacheStrategy
extends java.lang.Object
implements QueryCacheStrategy

QueryCacheStrategy for retrieving tag data from queries and returning TagQueryCacheObject's.


Constructor Summary
TagQueryCacheStrategy()
           
 
Method Summary
 java.lang.Object getQueryCacheObject(java.sql.ResultSet rs)
          Creates a QueryCacheObject given a result set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagQueryCacheStrategy

public TagQueryCacheStrategy()
Method Detail

getQueryCacheObject

public java.lang.Object getQueryCacheObject(java.sql.ResultSet rs)
                                     throws java.sql.SQLException
Description copied from interface: QueryCacheStrategy
Creates a QueryCacheObject given a result set. This method is dependent on the CachedPreparedStatement and the strategy implementation being in sync (i.e. the sql returning the appropriate fields for the strategy to create the QueryCacheObject.

Specified by:
getQueryCacheObject in interface QueryCacheStrategy
Parameters:
rs - the result set to retrieve the data necessary to generate the QueryCacheObject From
Returns:
a QueryCacheObject encapsulating the query result data.
Throws:
java.sql.SQLException - if an error occurs retrieving data from the query

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.