com.softwarereality.forum.jdbc
Class JdbcForumSession

java.lang.Object
  extended byJdbcSession
      extended bycom.softwarereality.forum.jdbc.JdbcForumSession
All Implemented Interfaces:
ForumSession

public class JdbcForumSession
extends JdbcSession
implements ForumSession

THIS FILE IS CODE GENERATED. JdbcForumSession.java

See Also:
Forum, LazyForumBean, ForumSession, JdbcForumHome, ForumValidator, Serialized Form

Field Summary
protected  ForumHome forumHome
           
 
Constructor Summary
JdbcForumSession()
          Construct an unqualified qualified JdbcForumSession.
 
Method Summary
 int countByQuery(java.lang.Object query)
          Count the Beans using a Object.
 java.util.Iterator findByAll()
          Find All the beans.
 Forum findByPrimaryKey(java.lang.Object forumID)
          Find the Forum By PrimaryKey( java.lang.Object )
 java.util.Iterator findByQuery(java.lang.Object query)
          Find the Beans using a Object.
 java.util.Iterator findByQuery(java.lang.Object query, int maxRows)
          Find the Beans using a String, with a max row count.
protected  ForumHome getForumHome()
          Get the ForumHome from the ForumContext.
 void load(Forum forum)
          Reload the bean, and any dependent beans from the store.
 void remove(Forum forum)
          Remove the bean, and any dependent beans from the store.
 void save(Forum forum)
          Create or Save the bean, and any dependent beans to the store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

forumHome

protected ForumHome forumHome
Constructor Detail

JdbcForumSession

public JdbcForumSession()
Construct an unqualified qualified JdbcForumSession.

Method Detail

getForumHome

protected ForumHome getForumHome()
Get the ForumHome from the ForumContext.


findByAll

public java.util.Iterator findByAll()
                             throws FinderException,
                                    ValidationException
Description copied from interface: ForumSession
Find All the beans.

Specified by:
findByAll in interface ForumSession
Returns:
Iterator The Beans that were found.
Throws:
FinderException
ValidationException
See Also:
com.softwarereality.forum.ForumSessionfindByAll( java.lang.Object )

findByPrimaryKey

public Forum findByPrimaryKey(java.lang.Object forumID)
                       throws FinderException,
                              ValidationException
Description copied from interface: ForumSession
Find the Forum By PrimaryKey( java.lang.Object )

Specified by:
findByPrimaryKey in interface ForumSession
Returns:
Forum The Bean/s that was found.
Throws:
FinderException
ValidationException
See Also:
)

findByQuery

public java.util.Iterator findByQuery(java.lang.Object query)
                               throws FinderException,
                                      ValidationException
Description copied from interface: ForumSession
Find the Beans using a Object.

Specified by:
findByQuery in interface ForumSession
Parameters:
query - A Query Object
Returns:
Iterator The Beans that were found.
Throws:
FinderException
ValidationException
See Also:
ForumSession.findByQuery( java.lang.Object )

findByQuery

public java.util.Iterator findByQuery(java.lang.Object query,
                                      int maxRows)
                               throws FinderException,
                                      ValidationException
Description copied from interface: ForumSession
Find the Beans using a String, with a max row count.

Specified by:
findByQuery in interface ForumSession
Parameters:
query - A Query String
maxRows - The maximum number of rows to return.
Returns:
Iterator The Beans that were found.
Throws:
FinderException
ValidationException
See Also:
ForumSession.findByQuery( java.lang.Object , int )

countByQuery

public int countByQuery(java.lang.Object query)
                 throws FinderException,
                        ValidationException
Description copied from interface: ForumSession
Count the Beans using a Object.

Specified by:
countByQuery in interface ForumSession
Parameters:
query - A Query Objectm ususally sSQL
Throws:
FinderException
ValidationException
See Also:
ForumSession.countByQuery( java.lang.Object )

load

public void load(Forum forum)
          throws LoadException,
                 ValidationException
Description copied from interface: ForumSession
Reload the bean, and any dependent beans from the store.

Specified by:
load in interface ForumSession
Throws:
LoadException
ValidationException
See Also:
ForumSession.load( com.softwarereality.forum.Forum )

save

public void save(Forum forum)
          throws CreateException,
                 StoreException,
                 RemoveException,
                 ValidationException
Description copied from interface: ForumSession
Create or Save the bean, and any dependent beans to the store.

Specified by:
save in interface ForumSession
Throws:
CreateException
StoreException
RemoveException
ValidationException
See Also:
ForumSession.save( com.softwarereality.forum.Forum )

remove

public void remove(Forum forum)
            throws RemoveException,
                   StoreException,
                   ValidationException
Description copied from interface: ForumSession
Remove the bean, and any dependent beans from the store.

Specified by:
remove in interface ForumSession
Throws:
RemoveException
StoreException
ValidationException
See Also:
ForumSession.remove( com.softwarereality.forum.Forum )