BEA Systems, Inc.

com.beasys.commerce.axiom.document
Class DocumentManagerImpl

java.lang.Object
  |
  +--com.beasys.commerce.foundation.SessionImpl
        |
        +--com.beasys.commerce.axiom.content.ContentManagerImpl
              |
              +--com.beasys.commerce.axiom.document.DocumentManagerImpl
Direct Known Subclasses:
RefFastDocumentManagerImpl, SPIFastDocumentManagerImpl

public class DocumentManagerImpl
extends ContentManagerImpl

A DocumentManager implementation.

See Also:
DocumentManager, DocumentManagerHome, Serialized Form

Fields inherited from class com.beasys.commerce.axiom.content.ContentManagerImpl
contentHome, schemaHome
 
Fields inherited from class com.beasys.commerce.foundation.SessionImpl
_ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty
 
Constructor Summary
DocumentManagerImpl()
           
 
Method Summary
 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.
 
Methods inherited from class com.beasys.commerce.axiom.content.ContentManagerImpl
ejbActivate, ejbCreate, ejbPassivate, ejbPostCreate, ejbRemove, getAllSchemas, getContent, getContent, getContentHome, getJNDIContext, getSchema, getSchemaHome, lookupHome, setSessionContext, verifyHome
 
Methods inherited from class com.beasys.commerce.foundation.SessionImpl
clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, doRelationalBinding, doRelationalBinding, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, enumerateRelationalBinding, enumerateRelationalBinding, getEnvironmentNamingContext, getEnvironmentProperty, getEnvironmentProperty, getEnvironmentPropertyCache, getPersistenceHelperPlugin, getSessionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentManagerImpl

public DocumentManagerImpl()
                    throws javax.ejb.CreateException
Method Detail

getContentBlock

public byte[] getContentBlock(DocumentPk key,
                              long start,
                              long length)
                       throws java.rmi.RemoteException
Get the content bytes for the specified document.

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.


getDefaultContentHomeName

public java.lang.String getDefaultContentHomeName()
Get the default content home name to use.
Overrides:
getDefaultContentHomeName in class ContentManagerImpl
See Also:
ContentHelper.DEF_DOCUMENT_HOME

getDefaultContentSchemaHomeName

public java.lang.String getDefaultContentSchemaHomeName()
Get the default content schema home name to use.
Overrides:
getDefaultContentSchemaHomeName in class ContentManagerImpl
See Also:
ContentHelper.DEF_DOCUMENT_SCHEMA_HOME

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved