ru.goodidea.ejb
Interface ADoc

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface ADoc
extends javax.ejb.EJBObject


Method Summary
 void cancelCheckout(java.lang.Integer docVerId)
           
 boolean checkout(java.lang.Integer docVerId, java.lang.String login)
           
 DocVerDto createDocVer(DocVerDto dto, Envelope[] en)
           
 java.util.Collection findAllDocVer(java.lang.Integer id)
           
 java.util.Collection findByExtensions(java.lang.String extension)
           
 java.util.Collection findByName(java.util.Collection classify, java.lang.String docName)
           
 java.util.Collection findClassifyByName(java.lang.String name)
           
 DocVerDto findCurrentByDocId(java.lang.Integer docId)
           
 DocVerDto findDocVerByPrimaryKey(java.lang.Integer docVerId)
           
 SerialByteInputStream getImage(java.lang.Integer docVerId)
           
 java.lang.String[] getNewVersions(java.lang.Integer docVerId)
           
 SerialByteInputStream getOriginal(java.lang.Integer docVerId)
           
 SerialByteInputStream getView(java.lang.Integer docVerId)
           
 void removeDoc(java.lang.Integer id)
           
 void removeDocVer(DocVerDto dto)
           
 ClassifyDto saveClassify(java.lang.String name)
           
 void setAsCurrent(java.lang.Integer docVerId)
           
 void updateDocVer(DocVerDto dto, Envelope[] en)
           
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

createDocVer

DocVerDto createDocVer(DocVerDto dto,
                       Envelope[] en)
                       throws javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              java.rmi.RemoteException
Throws:
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

removeDocVer

void removeDocVer(DocVerDto dto)
                  throws javax.ejb.FinderException,
                         javax.ejb.RemoveException,
                         java.rmi.RemoteException
Throws:
javax.ejb.FinderException
javax.ejb.RemoveException
java.rmi.RemoteException

updateDocVer

void updateDocVer(DocVerDto dto,
                  Envelope[] en)
                  throws javax.ejb.FinderException,
                         java.rmi.RemoteException
Throws:
javax.ejb.FinderException
java.rmi.RemoteException

findCurrentByDocId

DocVerDto findCurrentByDocId(java.lang.Integer docId)
                             throws javax.ejb.FinderException,
                                    java.rmi.RemoteException
Throws:
javax.ejb.FinderException
java.rmi.RemoteException

getNewVersions

java.lang.String[] getNewVersions(java.lang.Integer docVerId)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

findAllDocVer

java.util.Collection findAllDocVer(java.lang.Integer id)
                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

checkout

boolean checkout(java.lang.Integer docVerId,
                 java.lang.String login)
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

cancelCheckout

void cancelCheckout(java.lang.Integer docVerId)
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

findDocVerByPrimaryKey

DocVerDto findDocVerByPrimaryKey(java.lang.Integer docVerId)
                                 throws javax.ejb.FinderException,
                                        java.rmi.RemoteException
Throws:
javax.ejb.FinderException
java.rmi.RemoteException

getOriginal

SerialByteInputStream getOriginal(java.lang.Integer docVerId)
                                  throws javax.ejb.FinderException,
                                         java.io.IOException,
                                         java.rmi.RemoteException
Throws:
javax.ejb.FinderException
java.io.IOException
java.rmi.RemoteException

getImage

SerialByteInputStream getImage(java.lang.Integer docVerId)
                               throws javax.ejb.FinderException,
                                      java.io.IOException,
                                      java.rmi.RemoteException
Throws:
javax.ejb.FinderException
java.io.IOException
java.rmi.RemoteException

getView

SerialByteInputStream getView(java.lang.Integer docVerId)
                              throws javax.ejb.FinderException,
                                     java.io.IOException,
                                     java.rmi.RemoteException
Throws:
javax.ejb.FinderException
java.io.IOException
java.rmi.RemoteException

removeDoc

void removeDoc(java.lang.Integer id)
               throws javax.ejb.FinderException,
                      javax.ejb.RemoveException,
                      java.rmi.RemoteException
Throws:
javax.ejb.FinderException
javax.ejb.RemoveException
java.rmi.RemoteException

findByExtensions

java.util.Collection findByExtensions(java.lang.String extension)
                                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

findClassifyByName

java.util.Collection findClassifyByName(java.lang.String name)
                                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

saveClassify

ClassifyDto saveClassify(java.lang.String name)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setAsCurrent

void setAsCurrent(java.lang.Integer docVerId)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

findByName

java.util.Collection findByName(java.util.Collection classify,
                                java.lang.String docName)
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException


Copyright © 2009. All Rights Reserved.