Package com.soffid.iam.doc.service.ejb
Interface DocumentService
-
public interface DocumentServiceEJB DocumentService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSign(es.caib.signatura.api.Signature firma)voidcloseDocument()voidcreateDocument(String mimeType, String externalName, String application)voiddeleteDocument(DocumentReference reference)voidendDownloadTransfer()voidendUploadTransfer()voidexportDocuments(OutputStream out)StringgetExternalName()StringgetFsPath()StringgetMimeType()DocumentReferencegetReference()List<es.caib.signatura.api.Signature>getSigns()voidimportDocuments(InputStream out)byte[]nextDownloadPackage(int length)voidnextUploadPackage(byte[] filePackage, int length)voidopenDocument(DocumentReference reference)voidopenDownloadTransfer()voidopenUploadTransfer()
-
-
-
Method Detail
-
nextDownloadPackage
byte[] nextDownloadPackage(int length) throws InternalErrorException, DocumentBeanException
-
getReference
DocumentReference getReference() throws InternalErrorException
- Throws:
InternalErrorException
-
getExternalName
String getExternalName() throws InternalErrorException
- Throws:
InternalErrorException
-
getFsPath
String getFsPath() throws InternalErrorException
- Throws:
InternalErrorException
-
getMimeType
String getMimeType() throws InternalErrorException
- Throws:
InternalErrorException
-
getSigns
List<es.caib.signatura.api.Signature> getSigns() throws InternalErrorException, NASException
- Throws:
InternalErrorExceptionNASException
-
addSign
void addSign(es.caib.signatura.api.Signature firma) throws InternalErrorException, NASException- Throws:
InternalErrorExceptionNASException
-
closeDocument
void closeDocument() throws InternalErrorException- Throws:
InternalErrorException
-
createDocument
void createDocument(String mimeType, String externalName, String application) throws InternalErrorException
- Throws:
InternalErrorException
-
deleteDocument
void deleteDocument(DocumentReference reference) throws InternalErrorException
- Throws:
InternalErrorException
-
endDownloadTransfer
void endDownloadTransfer() throws InternalErrorException, DocumentBeanException
-
endUploadTransfer
void endUploadTransfer() throws InternalErrorException, DocumentBeanException
-
exportDocuments
void exportDocuments(OutputStream out) throws InternalErrorException
- Throws:
InternalErrorException
-
importDocuments
void importDocuments(InputStream out) throws InternalErrorException
- Throws:
InternalErrorException
-
nextUploadPackage
void nextUploadPackage(byte[] filePackage, int length) throws InternalErrorException, DocumentBeanException
-
openDocument
void openDocument(DocumentReference reference) throws InternalErrorException
- Throws:
InternalErrorException
-
openDownloadTransfer
void openDownloadTransfer() throws InternalErrorException, DocumentBeanException
-
openUploadTransfer
void openUploadTransfer() throws InternalErrorException, DocumentBeanException
-
-