Package com.soffid.iam.doc.service.ejb
Interface DocumentService
-
public interface DocumentService
EJB DocumentService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSign(es.caib.signatura.api.Signature firma)
void
closeDocument()
void
createDocument(String mimeType, String externalName, String application)
void
deleteDocument(DocumentReference reference)
void
endDownloadTransfer()
void
endUploadTransfer()
void
exportDocuments(OutputStream out)
String
getExternalName()
String
getFsPath()
String
getMimeType()
DocumentReference
getReference()
List<es.caib.signatura.api.Signature>
getSigns()
void
importDocuments(InputStream out)
byte[]
nextDownloadPackage(int length)
void
nextUploadPackage(byte[] filePackage, int length)
void
openDocument(DocumentReference reference)
void
openDownloadTransfer()
void
openUploadTransfer()
-
-
-
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:
InternalErrorException
NASException
-
addSign
void addSign(es.caib.signatura.api.Signature firma) throws InternalErrorException, NASException
- Throws:
InternalErrorException
NASException
-
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
-
-