com.objectwave.persist.bean
Class JGrinderQueryBean
java.lang.Object
|
+--com.objectwave.persist.bean.JGrinderQueryBean
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean
- public class JGrinderQueryBean
- extends java.lang.Object
- implements javax.ejb.SessionBean
- Version:
- $Id: JGrinderQueryBean.java,v 2.0 2001/06/11 16:00:03 dave_hoag Exp $
- Author:
- dhoag
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JGrinderQueryBean
public JGrinderQueryBean()
setSessionContext
public void setSessionContext(javax.ejb.SessionContext context)
- Sets the SessionContext attribute of the JGrinderQueryBean object
- Specified by:
setSessionContext
in interface javax.ejb.SessionBean
- Parameters:
context
- The new SessionContext value
getEmployee
public ExampleEmployee getEmployee()
- Gets the Employee attribute of the JGrinderQueryBean object
- Returns:
- The Employee value
ejbCreate
public void ejbCreate()
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove
in interface javax.ejb.SessionBean
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate
in interface javax.ejb.SessionBean
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate
in interface javax.ejb.SessionBean
find
public java.lang.Object find(SQLQuery q)
throws QueryException
- Parameters:
q
-
- Returns:
-
- Throws:
QueryException
findAttributes
public java.util.Vector findAttributes(SQLQuery q,
java.lang.String[] at)
throws QueryException
- Parameters:
q
- at
-
- Returns:
-
- Throws:
QueryException
findUnique
public Persistence findUnique(SQLQuery q)
throws QueryException
- Parameters:
q
-
- Returns:
-
- Throws:
QueryException
testIt
public SQLQuery testIt()
- Returns:
readObject
public ExampleEmployee readObject()
throws QueryException
- Returns:
-
- Throws:
QueryException
count
public int count(SQLQuery q)
throws QueryException
- Parameters:
q
-
- Returns:
-
- Throws:
QueryException