|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sssw.srv.ejb.AgoEJBHome | +--com.sssw.srv.ejb.AgoEJBEntityHome
The base class (factory) used to derive Entity Home classes for EntityBeans
Field Summary | |
static int |
FIND_SINGLETON
Indicates the expected return from a finder method. |
Fields inherited from class com.sssw.srv.ejb.AgoEJBHome |
m_beanClass,
m_beanClassLoader,
m_container,
m_containerStats,
m_containerTransactionContext,
m_dataSets,
m_handle,
m_homeBase,
m_homeFactory,
m_homeInterfaceClass,
m_homes,
m_IC,
m_info,
m_jarStats,
m_metaData,
m_objectClass,
m_OldBeanEnv,
m_primaryKeyClass,
m_remoteInterfaceClass,
m_remoteStub,
m_session,
m_sessionIdHash,
m_stats,
m_useCache |
Constructor Summary | |
AgoEJBEntityHome()
|
Method Summary | |
Object |
findByExpression(String whereClause,
String orderByClause,
int returnType,
boolean distinct,
int maxClientRows)
Call this method when you write your own Entity Bean Finder methods. |
Methods inherited from class com.sssw.srv.ejb.AgoEJBHome |
checkEJBBegin,
checkEJBEnd,
checkSecurityBegin,
checkSecurityEnd,
checkTransactionBegin,
checkTransactionEnd,
doHomeCleanup,
getClassLoader,
getContainer,
getEJBMetaData,
getHomeHandle,
getHomeStatistics,
getInfo,
getOwnerJarStatistics,
getSession,
handleCallbackExceptions,
handleSystemExceptions,
handleSystemExceptions,
homeForSession,
initialize,
remove,
remove,
restoreBeanEnvironmentMeta,
setBeanEnvironmentMeta,
valueBound,
valueUnbound |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int FIND_SINGLETON
Constructor Detail |
public AgoEJBEntityHome()
Method Detail |
public Object findByExpression(String whereClause, String orderByClause, int returnType, boolean distinct, int maxClientRows) throws RemoteException, FinderException
Both the Where and Order By clauses must be constructed following SilverStream's expresion rules.
If you write your own Finder methods the whole row gets retrieved, not just primary keys, so delaying instantiation does not have any effect.
expression
- 'where' clause expression composed in accordance with SilverStream expression rulesorderBy
- "order by' clause composed in accordance with SilverStream expression rulesreturnType
- specifies the type of remote reference that is returned (can be Enumeration, Collection or singleton)maxClientRows
- if not 0, will limit the number of rows retrieved
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |