BEA Systems, Inc.

com.beasys.commerce.axiom.document
Interface DocumentManager


public interface DocumentManager
extends ContentManager

A ContentManager specific to Documents.

This has the ContentManager.getContent(com.beasys.commerce.foundation.expression.Search, boolean) methods, plus a method for retrieving a document's bytes.

See Also:
DocumentManagerHome, DocumentManagerImpl

Method Summary
 byte[] getContentBlock(DocumentPk key, long start, long length)
          Retrieve the content bytes for the specified document.
 
Methods inherited from interface com.beasys.commerce.axiom.content.ContentManager
getAllSchemas, getContent, getContent, getSchema
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getContentBlock

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

This may delegate to a Document EJB.

Parameters:
key - the document primary key.
start - the start index (0 for beginning).
length - the number of bytes to get.
Returns:
the bytes.
Throws:
java.rmi.RemoteException - thrown on error.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved