|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.foundation.SessionImpl | +--com.beasys.commerce.axiom.content.ContentManagerImpl | +--com.beasys.commerce.axiom.document.DocumentManagerImpl
A DocumentManager implementation.
This currently doesn't add any additional functionality, but it might in the future.
DocumentManager
,
DocumentManagerHome
, Serialized FormFields inherited from class com.beasys.commerce.foundation.SessionImpl |
_ctx |
Constructor Summary | |
DocumentManagerImpl()
|
Method Summary | |
void |
ejbActivate()
Called when the bean is activated. |
void |
ejbCreate()
Called when the bean is being created. |
void |
ejbPassivate()
Called when the bean is passivated. |
void |
ejbPostCreate()
Called after the create finishes. |
void |
ejbRemove()
Called when the bean is removed. |
byte[] |
getContentBlock(DocumentPk key,
long start,
long length)
Get the content bytes for the specified document. |
java.lang.String |
getDefaultContentHomeName()
Get the default content home name to use. |
java.lang.String |
getDefaultContentSchemaHomeName()
Get the default content schema home name to use. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Called when the bean is about to be used. |
Methods inherited from class com.beasys.commerce.axiom.content.ContentManagerImpl |
getAllSchemas,
getContent,
getContent,
getJNDIContext,
getSchema,
lookupHome,
verifyHome |
Methods inherited from class com.beasys.commerce.foundation.SessionImpl |
clearRelationalBinding,
clearRelationalBinding,
clearRelationalBinding,
clearRelationalBinding |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DocumentManagerImpl() throws javax.ejb.CreateException
Method Detail |
public void ejbCreate() throws javax.ejb.CreateException, java.rmi.RemoteException
This will pull information from the bean's environment.
public void ejbPostCreate() throws javax.ejb.CreateException, java.rmi.RemoteException
This delagates to the super class.
public void ejbActivate() throws java.rmi.RemoteException
public void ejbPassivate() throws java.rmi.RemoteException
public void ejbRemove() throws java.rmi.RemoteException
public void setSessionContext(javax.ejb.SessionContext ctx) throws java.rmi.RemoteException
public byte[] getContentBlock(DocumentPk key, long start, long length) throws java.rmi.RemoteException
This delagates to the DocumentHome.
Subclasses can override to avoid going through the DocumentHome.
The normal way to get the content bytes is to call the
getContentBlock()
methods on the
Document
object.
public java.lang.String getDefaultContentHomeName()
ContentHelper.DEF_DOCUMENT_HOME
public java.lang.String getDefaultContentSchemaHomeName()
ContentHelper.DEF_DOCUMENT_SCHEMA_HOME
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |