|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A front-end session bean for dealing with Content.
A ContentManager will delagate to a Content bean and a Schema bean, configured in the ContentManager EJB environment.
ContentManagerHome
,
ContentManagerImpl
Method Summary | |
java.util.Enumeration |
getAllSchemas()
Return all the content Schema objects this ContentManager knows about. |
java.util.Enumeration |
getContent(Search params)
Get an Enumeration of Content objects that match the seach parameters. |
java.util.Enumeration |
getContent(Search params,
boolean readOnly)
Get an Enumeration of Content object that match the seach parameters. |
Schema |
getSchema(java.lang.String scope)
Get the content schema with the given name. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Method Detail |
public java.util.Enumeration getContent(Search params, boolean readOnly) throws java.rmi.RemoteException
Depending upon the implemenation, this may simply delagate to a ContentHome.
In general, setting readOnly to true will help with performance when read-only access is required. However, the implementation may choose to ignore this flag. Therefore, when setting readOnly to true, do not attempt to call EJB methods (getHandle(), remove()) on the resulting Content object.
params
- the search paramters.readOnly
- true to return read-only version of the Content
objects, false to return the live EJBs.public java.util.Enumeration getContent(Search params) throws java.rmi.RemoteException
This will use the implementations default readOnly flag, so assume it will be true.
Depending upon the implemenation, this may simply delagate to a ContentHome.
getContent(com.beasys.commerce.foundation.expression.Search, boolean)
public Schema getSchema(java.lang.String scope) throws java.rmi.RemoteException
public java.util.Enumeration getAllSchemas() throws java.rmi.RemoteException
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |