Package com.soffid.iam.doc.service
Interface DocumentService
-
public interface DocumentService
Service DocumentService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSign(es.caib.signatura.api.Signature firma)
Operation addSignvoid
closeDocument()
Operation closeDocumentvoid
createDocument(String mimeType, String externalName, String application)
Operation createDocumentvoid
deleteDocument(DocumentReference reference)
Operation deleteDocumentvoid
endDownloadTransfer()
Operation endDownloadTransfervoid
endUploadTransfer()
Operation endUploadTransfervoid
exportDocuments(OutputStream out)
Operation exportDocumentsString
getExternalName()
Operation getExternalNameString
getFsPath()
Operation getFsPathString
getMimeType()
Operation getMimeTypeDocumentReference
getReference()
Operation getReferenceList<es.caib.signatura.api.Signature>
getSigns()
Operation getSignsvoid
importDocuments(InputStream out)
Operation importDocumentsbyte[]
nextDownloadPackage(int length)
Operation nextDownloadPackagevoid
nextUploadPackage(byte[] filePackage, int length)
Operation nextUploadPackagevoid
openDocument(DocumentReference reference)
Operation openDocumentvoid
openDownloadTransfer()
Operation openDownloadTransfervoid
openUploadTransfer()
Operation openUploadTransfer
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
nextDownloadPackage
byte[] nextDownloadPackage(int length) throws InternalErrorException, DocumentBeanException
Operation nextDownloadPackage- Parameters:
length
-- Returns:
- Throws:
InternalErrorException
DocumentBeanException
-
getReference
DocumentReference getReference() throws InternalErrorException
Operation getReference- Returns:
- Throws:
InternalErrorException
-
getExternalName
String getExternalName() throws InternalErrorException
Operation getExternalName- Returns:
- Throws:
InternalErrorException
-
getFsPath
String getFsPath() throws InternalErrorException
Operation getFsPath- Returns:
- Throws:
InternalErrorException
-
getMimeType
String getMimeType() throws InternalErrorException
Operation getMimeType- Returns:
- Throws:
InternalErrorException
-
getSigns
List<es.caib.signatura.api.Signature> getSigns() throws InternalErrorException, NASException
Operation getSigns- Returns:
- Throws:
InternalErrorException
NASException
-
addSign
void addSign(es.caib.signatura.api.Signature firma) throws InternalErrorException, NASException
Operation addSign- Parameters:
firma
-- Throws:
InternalErrorException
NASException
-
closeDocument
void closeDocument() throws InternalErrorException
Operation closeDocument- Throws:
InternalErrorException
-
createDocument
void createDocument(String mimeType, String externalName, String application) throws InternalErrorException
Operation createDocument- Parameters:
mimeType
-externalName
-application
-- Throws:
InternalErrorException
-
deleteDocument
void deleteDocument(DocumentReference reference) throws InternalErrorException
Operation deleteDocument- Parameters:
reference
-- Throws:
InternalErrorException
-
endDownloadTransfer
void endDownloadTransfer() throws InternalErrorException, DocumentBeanException
Operation endDownloadTransfer
-
endUploadTransfer
void endUploadTransfer() throws InternalErrorException, DocumentBeanException
Operation endUploadTransfer
-
exportDocuments
void exportDocuments(OutputStream out) throws InternalErrorException
Operation exportDocuments- Parameters:
out
-- Throws:
InternalErrorException
-
importDocuments
void importDocuments(InputStream out) throws InternalErrorException
Operation importDocuments- Parameters:
out
-- Throws:
InternalErrorException
-
nextUploadPackage
void nextUploadPackage(byte[] filePackage, int length) throws InternalErrorException, DocumentBeanException
Operation nextUploadPackage- Parameters:
filePackage
-length
-- Throws:
InternalErrorException
DocumentBeanException
-
openDocument
void openDocument(DocumentReference reference) throws InternalErrorException
Operation openDocument- Parameters:
reference
-- Throws:
InternalErrorException
-
openDownloadTransfer
void openDownloadTransfer() throws InternalErrorException, DocumentBeanException
Operation openDownloadTransfer
-
openUploadTransfer
void openUploadTransfer() throws InternalErrorException, DocumentBeanException
Operation openUploadTransfer
-
-