ogre.dms.service
Interface PhysicalDocumentAccessService

All Superinterfaces:
Remote

public interface PhysicalDocumentAccessService
extends Remote

Version:
$Id: PhysicalDocumentAccessService.java,v 1.3.2.10.2.30 2011/04/18 10:53:32 yaoming Exp $
Author:
Docpedia team.

Method Summary
 void addInfoLog(String msg)
           
 boolean addPasoPdfInfo(PasoPdfInfo item)
          Do insert data into DB PasoPdfConversion
 void cancelDownloadPhysicalDocumentBlock(String userID, String physicalDocumentKey)
          cancel Download PhysicalDocument ,Release Resource
 DMSResult checkDownloadAuth(String userID, String documentKey)
           
 DMSResult checkDownloadAuth(String userID, String documentKey, boolean ignoreLock)
           
 DMSResult checkDownloadPhysicalDocument(DMSUser user, String physicalDocumentKey)
           
 DMSResult checkDownloadPhysicalDocument(DMSUser user, String physicalDocumentKey, boolean ignoreLock)
           
 DMSResult checkDownloadPhysicalDocument(DMSUser user, String physicalDocumentKey, boolean ignoreLock, String mainDocKey)
           
 DMSResult checkDownloadPhysicalDocument(String userID, String physicalDocumentKey)
          check downalod Permission only for do check
 DMSResult checkDownloadPhysicalDocument(String userID, String physicalDocumentKey, boolean ignoreLock)
           
 DMSResult checkDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType)
           
 DMSResult checkDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType, String ignoreLock)
           
 DMSResult checkEFormDownloadPhysicalDocument(DMSUser user, String physicalDocumentKey)
           
 DMSResult checkEFormDownloadPhysicalDocument(String userID, String physicalDocumentKey)
           
 DMSResult checkEFormDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType)
           
 DMSResult checkExtDownloadAuth(String userID, String documentKey, String shortcutID)
           
 DMSResult checkExtDownloadPhysicalDocument(String userID, String physicalDocumentKey, String shortcutID)
           
 boolean checkFileChecksumCode(File file)
           
 DMSResult checkPhysicalFileExistent(String physicalDocumentKey)
           
 DMSTransBlock commitDownloadPhysicalDocumentBlock(String userID, String physicalDocumentKey)
          commit to download an existent PhysicalDocument from server
 DMSTransBlock commitDownloadPhysicalDocumentBlock(String userID, String physicalDocumentKey, String downloadType)
          commit to download an existent PhysicalDocument by downloadtype from server
 boolean commitRemovePhysicalDocument(String userID, String physicalDocumentKey)
          remove a physical document
 DMSResult commitUpdatePhysicalDocumentInfo(String userID, String physicalDocumentKey, PhysicalDocumentItem item)
          Update physical document information of a physical document with permission check.
 DMSResult commitUploadPasoFileBlock(String userID, String pasoID, DMSTransBlock transBlock)
          Do upload paso file to convert to pdf
 DMSResult commitUploadPhysicalDocumentBlock(String userID, String physicalDocumentKey, DMSTransBlock transBlock)
          Do upload physical document.
 boolean copyPhysicalDocumentToDocument(PhysicalDocumentItem sourcePdItem, String destDocKey)
          Duplicate PhysicalDocumentItem
 boolean copyPhysicalDocumentToDocument(PhysicalDocumentItem sourcePdItem, VirtualDocumentInfo destVdInfo)
          duplicate PhysicalDocumentItem
 DMSTransBlock downloadPasoPdf(String userID, String pasoID)
          Do download paso pdf action
 DMSTransBlock downloadPasoPdfTest(String userID, String pasoID)
           
 String forceInitUploadNewPhysicalDocument(String userID, String documentKey, String extension, String originalFileName)
          Upload a file to the document (without permission check).
 DMSTransBlock generateWatermarkOnSample(String templateID, String typeName)
          Preview watermark in Portrait or Landscape way
 Vector getAllPhysicalDocumentKey()
           
 void getDesPDList(Vector v, String path)
           
 Vector getDocKeyByPDKey(String PDKey)
           
 String getDownloadFileName(String userID, String pdocKey, String downloadType, String EFORMMode)
           
 String getDownloadFileName(String userID, String pdocKey, String downloadType, String EFORMMode, String mainDocKey)
           
 File getFileFromBytes(byte[] b, String outputFile)
           
 List getFilePathByPDListTable()
           
 Vector getInvalidPhysicalFileDocList()
           
 int getPDCountNumByAttid(String attTypeID)
          Retrieve the nums of PhysicalDocumentItem whose VirtualDocumentInfo is associated with the given AttributeType (attTypeID).
 Vector getPDFileMonitorList(Vector fileList)
           
 PDFTemplateItem getWatermark(String userID, String dockey)
          Get the watermark template for the given document according to the document's status.
 DMSResult initDownloadPasoPdf(String userID, String pasoKey)
           
 DMSResult initDownloadPhysicalDocument(String userID, String physicalDocumentKey)
          initialize to download an existent PhysicalDocument from server
 DMSResult initDownloadPhysicalDocument(String userID, String physicalDocumentKey, boolean ignoreLock)
           
 DMSResult initDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType)
           
 DMSResult initEFormDownloadPhysicalDocument(String userID, String physicalDocumentKey, boolean ignoreLock)
           
 DMSResult initEFormDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType)
           
 DMSResult initEFormDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType, String ignoreLock)
           
 DMSResult initEFormDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType, String ignoreLock, String mainDocKey)
           
 DMSResult initExtDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType, String ignoreLock, String shortcutID)
           
 void initPDvalueToReadyConv(String attTypeID, boolean isDeleteFile)
          This is used for TrustView & Neevia & PDF SecuVue Solution.
 DMSResult initRemovePhysicalDocument(String userID, String physicalDocumentKey)
           
 boolean initUploadNewPhysicalDocument(String userID, String documentKey)
          Deprecated. V2.1 use isUserPermittedToUploadFile(String, String) instead.
 String initUploadNewPhysicalDocument(String userID, String documentKey, String extension, String originalFileName)
          Upload a physical document with permission check.
 String initUploadPasoFile(String userID, String originalFileName)
           
 DMSResult initUploadPhysicalDocument(String userID, String physicalDocumentKey)
          initialize to upload a PhysicalDocument which has existed on server to server
 boolean isAlive()
           
 boolean isUserPermittedToUploadFile(String userID, String documentKey)
          Check the given user can upload file or not.
 boolean isZipFile(File file)
           
 boolean isZipFile(String filePath)
           
 Vector PhysicalDocumentInfo(String key)
          Deprecated. use QueryService.getPhysicalDocumentItemList(String) instead.
 DMSResult requestDownloadFileFromDistSite(DMSUser user, String downloadType, String docKey, String pDocKey)
          Request download file from distribution site.
 String requestUploadNewPhysicalDocumentFromDistSite(String userID, String documentKey, String extension, String originalFileName, String distSiteID)
          Upload a physical document with permission check.
 void resetPDEncodeEncryptState(String pdocKey)
          Reset the encoding/encryption state to the initial value.
 void resetPDEncodeEncryptState(String[] pdocKeys)
          Reset the encoding/encryption state to the initial value.
 void saveAfdlRecord(AfdlRecord record)
          No comments.
 String setCheckSumCodeIntoFileName(File file, String filePath)
           
 String setDesStatusValue(String desStatusValue, String type)
           
 void unZipFile(File file)
           
 void unZipFile(String filePath)
           
 boolean updatePhysicalDocumentItem(PhysicalDocumentItem item)
          Update PhysicalDocumentItem.
 String validateOnlineReadFrd(AfdlOpLogs opLogs)
          No comments.
 void zipFile(File file)
           
 void zipFile(PhysicalDocumentItem pdItem)
           
 void zipFile(String filePath)
           
 

Method Detail

forceInitUploadNewPhysicalDocument

String forceInitUploadNewPhysicalDocument(String userID,
                                          String documentKey,
                                          String extension,
                                          String originalFileName)
                                          throws RemoteException
Upload a file to the document (without permission check). initUploadNewPhysicalDocument(String, String, String, String) Usually we don't recommend you to call this method, instead you can use PhysicalDocumentTransferTool.uploadNewPhysicalDocument(String, String, String, String, java.io.InputStream).

Parameters:
userID -
documentKey -
extension -
originalFileName -
Returns:
- the PhysicalDocumentKey of the uploading new PhysicalDocument, or null if failed.
Throws:
RemoteException

initUploadNewPhysicalDocument

String initUploadNewPhysicalDocument(String userID,
                                     String documentKey,
                                     String extension,
                                     String originalFileName)
                                     throws RemoteException
Upload a physical document with permission check.

Parameters:
userID -
documentKey -
extension -
originalFileName -
Returns:
- if success, a PhysicalDocumentKey of the uploading new PhysicalDocument is return, else null.
Throws:
RemoteException

initUploadPhysicalDocument

DMSResult initUploadPhysicalDocument(String userID,
                                     String physicalDocumentKey)
                                     throws RemoteException
initialize to upload a PhysicalDocument which has existed on server to server

Throws:
RemoteException

initUploadPasoFile

String initUploadPasoFile(String userID,
                          String originalFileName)
                          throws RemoteException
Parameters:
extension -
originalFileName -
Returns:
- boolean - if the initial uploading succeed
Throws:
RemoteException

commitUploadPasoFileBlock

DMSResult commitUploadPasoFileBlock(String userID,
                                    String pasoID,
                                    DMSTransBlock transBlock)
                                    throws RemoteException
Do upload paso file to convert to pdf

Throws:
RemoteException

addPasoPdfInfo

boolean addPasoPdfInfo(PasoPdfInfo item)
                       throws RemoteException
Do insert data into DB PasoPdfConversion

Throws:
RemoteException

downloadPasoPdf

DMSTransBlock downloadPasoPdf(String userID,
                              String pasoID)
                              throws RemoteException
Do download paso pdf action

Throws:
RemoteException

initDownloadPhysicalDocument

DMSResult initDownloadPhysicalDocument(String userID,
                                       String physicalDocumentKey)
                                       throws RemoteException,
                                              IOException,
                                              Exception
initialize to download an existent PhysicalDocument from server

Throws:
RemoteException
IOException
Exception

initDownloadPhysicalDocument

DMSResult initDownloadPhysicalDocument(String userID,
                                       String physicalDocumentKey,
                                       boolean ignoreLock)
                                       throws RemoteException,
                                              IOException,
                                              Exception
Throws:
RemoteException
IOException
Exception

initDownloadPhysicalDocument

DMSResult initDownloadPhysicalDocument(String userID,
                                       String physicalDocumentKey,
                                       String downloadType)
                                       throws RemoteException,
                                              IOException,
                                              Exception
Throws:
RemoteException
IOException
Exception

initRemovePhysicalDocument

DMSResult initRemovePhysicalDocument(String userID,
                                     String physicalDocumentKey)
                                     throws RemoteException
Throws:
RemoteException

checkDownloadPhysicalDocument

DMSResult checkDownloadPhysicalDocument(String userID,
                                        String physicalDocumentKey)
                                        throws RemoteException
check downalod Permission only for do check

Parameters:
userID - String
physicalDocumentKey - String
Returns:
DMSResult
Throws:
RemoteException

checkDownloadPhysicalDocument

DMSResult checkDownloadPhysicalDocument(String userID,
                                        String physicalDocumentKey,
                                        boolean ignoreLock)
                                        throws RemoteException
Throws:
RemoteException

checkDownloadPhysicalDocument

DMSResult checkDownloadPhysicalDocument(DMSUser user,
                                        String physicalDocumentKey,
                                        boolean ignoreLock,
                                        String mainDocKey)
                                        throws RemoteException
Throws:
RemoteException

checkDownloadPhysicalDocument

DMSResult checkDownloadPhysicalDocument(String userID,
                                        String physicalDocumentKey,
                                        String downloadType)
                                        throws RemoteException
Throws:
RemoteException

checkDownloadPhysicalDocument

DMSResult checkDownloadPhysicalDocument(String userID,
                                        String physicalDocumentKey,
                                        String downloadType,
                                        String ignoreLock)
                                        throws RemoteException
Throws:
RemoteException

checkDownloadPhysicalDocument

DMSResult checkDownloadPhysicalDocument(DMSUser user,
                                        String physicalDocumentKey,
                                        boolean ignoreLock)
                                        throws RemoteException
Throws:
RemoteException

checkDownloadPhysicalDocument

DMSResult checkDownloadPhysicalDocument(DMSUser user,
                                        String physicalDocumentKey)
                                        throws RemoteException
Throws:
RemoteException

commitUploadPhysicalDocumentBlock

DMSResult commitUploadPhysicalDocumentBlock(String userID,
                                            String physicalDocumentKey,
                                            DMSTransBlock transBlock)
                                            throws RemoteException
Do upload physical document. We DO NOT RECOMMEND you to call this method directly. instead you can use PhysicalDocumentTransferTool.uploadNewPhysicalDocument(String, String, String, String, java.io.InputStream).

Throws:
RemoteException

cancelDownloadPhysicalDocumentBlock

void cancelDownloadPhysicalDocumentBlock(String userID,
                                         String physicalDocumentKey)
                                         throws RemoteException
cancel Download PhysicalDocument ,Release Resource

Parameters:
userID - String
physicalDocumentKey - String
Throws:
RemoteException

commitDownloadPhysicalDocumentBlock

DMSTransBlock commitDownloadPhysicalDocumentBlock(String userID,
                                                  String physicalDocumentKey)
                                                  throws RemoteException
commit to download an existent PhysicalDocument from server

Throws:
RemoteException

commitDownloadPhysicalDocumentBlock

DMSTransBlock commitDownloadPhysicalDocumentBlock(String userID,
                                                  String physicalDocumentKey,
                                                  String downloadType)
                                                  throws RemoteException
commit to download an existent PhysicalDocument by downloadtype from server

Throws:
RemoteException

commitRemovePhysicalDocument

boolean commitRemovePhysicalDocument(String userID,
                                     String physicalDocumentKey)
                                     throws RemoteException
remove a physical document

Throws:
RemoteException

commitUpdatePhysicalDocumentInfo

DMSResult commitUpdatePhysicalDocumentInfo(String userID,
                                           String physicalDocumentKey,
                                           PhysicalDocumentItem item)
                                           throws RemoteException
Update physical document information of a physical document with permission check.

Throws:
RemoteException

PhysicalDocumentInfo

Vector PhysicalDocumentInfo(String key)
                            throws RemoteException
Deprecated. use QueryService.getPhysicalDocumentItemList(String) instead.

Throws:
RemoteException

getDocKeyByPDKey

Vector getDocKeyByPDKey(String PDKey)
                        throws RemoteException
Throws:
RemoteException

isAlive

boolean isAlive()
                throws RemoteException
Throws:
RemoteException

checkDownloadAuth

DMSResult checkDownloadAuth(String userID,
                            String documentKey)
                            throws RemoteException
Throws:
RemoteException

checkDownloadAuth

DMSResult checkDownloadAuth(String userID,
                            String documentKey,
                            boolean ignoreLock)
                            throws RemoteException
Throws:
RemoteException

addInfoLog

void addInfoLog(String msg)
                throws RemoteException
Throws:
RemoteException

checkPhysicalFileExistent

DMSResult checkPhysicalFileExistent(String physicalDocumentKey)
                                    throws RemoteException
Throws:
RemoteException

getAllPhysicalDocumentKey

Vector getAllPhysicalDocumentKey()
                                 throws RemoteException
Throws:
RemoteException

getInvalidPhysicalFileDocList

Vector getInvalidPhysicalFileDocList()
                                     throws RemoteException
Throws:
RemoteException

getDownloadFileName

String getDownloadFileName(String userID,
                           String pdocKey,
                           String downloadType,
                           String EFORMMode)
                           throws RemoteException
Throws:
RemoteException

getDownloadFileName

String getDownloadFileName(String userID,
                           String pdocKey,
                           String downloadType,
                           String EFORMMode,
                           String mainDocKey)
                           throws RemoteException
Throws:
RemoteException

initUploadNewPhysicalDocument

boolean initUploadNewPhysicalDocument(String userID,
                                      String documentKey)
                                      throws RemoteException
Deprecated. V2.1 use isUserPermittedToUploadFile(String, String) instead.

Check the given user has permission to upload file or not.

Parameters:
userID - String
documentKey - String
Returns:
boolean true/false
Throws:
RemoteException

checkExtDownloadPhysicalDocument

DMSResult checkExtDownloadPhysicalDocument(String userID,
                                           String physicalDocumentKey,
                                           String shortcutID)
                                           throws RemoteException
Throws:
RemoteException

initExtDownloadPhysicalDocument

DMSResult initExtDownloadPhysicalDocument(String userID,
                                          String physicalDocumentKey,
                                          String downloadType,
                                          String ignoreLock,
                                          String shortcutID)
                                          throws RemoteException,
                                                 IOException,
                                                 Exception
Throws:
RemoteException
IOException
Exception

checkExtDownloadAuth

DMSResult checkExtDownloadAuth(String userID,
                               String documentKey,
                               String shortcutID)
                               throws RemoteException
Throws:
RemoteException

initEFormDownloadPhysicalDocument

DMSResult initEFormDownloadPhysicalDocument(String userID,
                                            String physicalDocumentKey,
                                            String downloadType,
                                            String ignoreLock)
                                            throws RemoteException,
                                                   IOException,
                                                   Exception
Throws:
RemoteException
IOException
Exception

initEFormDownloadPhysicalDocument

DMSResult initEFormDownloadPhysicalDocument(String userID,
                                            String physicalDocumentKey,
                                            String downloadType)
                                            throws RemoteException,
                                                   IOException,
                                                   Exception
Throws:
RemoteException
IOException
Exception

initEFormDownloadPhysicalDocument

DMSResult initEFormDownloadPhysicalDocument(String userID,
                                            String physicalDocumentKey,
                                            boolean ignoreLock)
                                            throws RemoteException,
                                                   IOException,
                                                   Exception
Throws:
RemoteException
IOException
Exception

initEFormDownloadPhysicalDocument

DMSResult initEFormDownloadPhysicalDocument(String userID,
                                            String physicalDocumentKey,
                                            String downloadType,
                                            String ignoreLock,
                                            String mainDocKey)
                                            throws RemoteException,
                                                   IOException,
                                                   Exception
Throws:
RemoteException
IOException
Exception
Since:
V3.0 HotFix_04

checkEFormDownloadPhysicalDocument

DMSResult checkEFormDownloadPhysicalDocument(String userID,
                                             String physicalDocumentKey,
                                             String downloadType)
                                             throws RemoteException
Throws:
RemoteException

checkEFormDownloadPhysicalDocument

DMSResult checkEFormDownloadPhysicalDocument(String userID,
                                             String physicalDocumentKey)
                                             throws RemoteException
Throws:
RemoteException

checkEFormDownloadPhysicalDocument

DMSResult checkEFormDownloadPhysicalDocument(DMSUser user,
                                             String physicalDocumentKey)
                                             throws RemoteException
Throws:
RemoteException

updatePhysicalDocumentItem

boolean updatePhysicalDocumentItem(PhysicalDocumentItem item)
                                   throws RemoteException
Update PhysicalDocumentItem.

Parameters:
item -
Returns:
true/false
Throws:
RemoteException
Since:
V2.1

isUserPermittedToUploadFile

boolean isUserPermittedToUploadFile(String userID,
                                    String documentKey)
                                    throws RemoteException
Check the given user can upload file or not. If the user is uploading a file in the approval process (except Obsolete process), then this operation is granted.

Parameters:
userID -
documentKey -
Returns:
true/false.
Throws:
RemoteException
Since:
V2.1

validateOnlineReadFrd

String validateOnlineReadFrd(AfdlOpLogs opLogs)
                             throws RemoteException
No comments. Used by system.

Parameters:
opLogs -
Returns:
Throws:
RemoteException
Since:
V2.1

saveAfdlRecord

void saveAfdlRecord(AfdlRecord record)
                    throws RemoteException
No comments. Used by system.

Parameters:
record -
Throws:
RemoteException
Since:
V2.2

initPDvalueToReadyConv

void initPDvalueToReadyConv(String attTypeID,
                            boolean isDeleteFile)
                            throws RemoteException
This is used for TrustView & Neevia & PDF SecuVue Solution. While switching TrustView encrypted solution to Neevia/PDF SecuVue Solution, the encrypted files must be removed and reset the raw to the initial status for Neevia/PDF SecuVue Solution to take effect. Vice versa.

Parameters:
attTypeID -
isDeleteFile - reset the status for Document Security Solution to take effect, and set to true to delete the previous encrypted/encoded file or not.
Throws:
RemoteException
Since:
V2.1

resetPDEncodeEncryptState

void resetPDEncodeEncryptState(String pdocKey)
                               throws RemoteException
Reset the encoding/encryption state to the initial value. Then let the jobs to re-do.

[NOTE] This is enable while the optional Neevia/TrustView solution is bought.

Parameters:
pdocKey - String[] PhysicalDocumentItem.getPhysicalDocumentKey()s
Throws:
RemoteException
Since:
V3.0

resetPDEncodeEncryptState

void resetPDEncodeEncryptState(String[] pdocKeys)
                               throws RemoteException
Reset the encoding/encryption state to the initial value. Then let the jobs to re-do.

[NOTE] This is enable while the optional Neevia/TrustView solution is bought.

Parameters:
pdocKeys - String[] PhysicalDocumentItem.getPhysicalDocumentKey()s
Throws:
RemoteException
Since:
V3.0

generateWatermarkOnSample

DMSTransBlock generateWatermarkOnSample(String templateID,
                                        String typeName)
                                        throws RemoteException,
                                               IOException
Preview watermark in Portrait or Landscape way

Parameters:
templateID - = watermark template id
Throws:
RemoteException
IOException
Since:
V3.0

getPDCountNumByAttid

int getPDCountNumByAttid(String attTypeID)
                         throws RemoteException
Retrieve the nums of PhysicalDocumentItem whose VirtualDocumentInfo is associated with the given AttributeType (attTypeID).

Parameters:
attTypeID -
Returns:
counts of PhysicalDocumentItem
Throws:
RemoteException
Since:
V2.1

requestDownloadFileFromDistSite

DMSResult requestDownloadFileFromDistSite(DMSUser user,
                                          String downloadType,
                                          String docKey,
                                          String pDocKey)
                                          throws RemoteException
Request download file from distribution site.

Parameters:
user -
downloadType -
docKey -
pDocKey -
Returns:
DMSResult
Throws:
RemoteException
Since:
V2.2

requestUploadNewPhysicalDocumentFromDistSite

String requestUploadNewPhysicalDocumentFromDistSite(String userID,
                                                    String documentKey,
                                                    String extension,
                                                    String originalFileName,
                                                    String distSiteID)
                                                    throws RemoteException
Upload a physical document with permission check. This only make a new row to the database record. PhysicalDocument has not been uploaded yet.

Parameters:
userID -
documentKey -
extension -
originalFileName -
distSiteID - distribution site's unique id.
Returns:
- if success, a PhysicalDocumentKey of the uploading new PhysicalDocument is return, else null.
Throws:
RemoteException

getWatermark

PDFTemplateItem getWatermark(String userID,
                             String dockey)
                             throws RemoteException
Get the watermark template for the given document according to the document's status.

Parameters:
userID -
dockey -
Returns:
PDFTemplateItem
Throws:
RemoteException
Since:
V2.2 HotFix_96

isZipFile

boolean isZipFile(String filePath)
                  throws Exception,
                         RemoteException
Throws:
Exception
RemoteException

isZipFile

boolean isZipFile(File file)
                  throws Exception,
                         RemoteException
Throws:
Exception
RemoteException

zipFile

void zipFile(String filePath)
             throws Exception,
                    RemoteException
Throws:
Exception
RemoteException

zipFile

void zipFile(PhysicalDocumentItem pdItem)
             throws Exception,
                    RemoteException
Throws:
Exception
RemoteException

zipFile

void zipFile(File file)
             throws Exception,
                    RemoteException
Throws:
Exception
RemoteException

unZipFile

void unZipFile(String filePath)
               throws Exception,
                      IOException,
                      DataFormatException,
                      RemoteException
Throws:
Exception
IOException
DataFormatException
RemoteException

unZipFile

void unZipFile(File file)
               throws Exception,
                      IOException,
                      DataFormatException,
                      RemoteException
Throws:
Exception
IOException
DataFormatException
RemoteException

getFilePathByPDListTable

List getFilePathByPDListTable()
                              throws Exception,
                                     RemoteException
Throws:
Exception
RemoteException

getDesPDList

void getDesPDList(Vector v,
                  String path)
                  throws Exception,
                         IOException
Throws:
Exception
IOException

getPDFileMonitorList

Vector getPDFileMonitorList(Vector fileList)
                            throws Exception,
                                   IOException
Throws:
Exception
IOException

checkFileChecksumCode

boolean checkFileChecksumCode(File file)
                              throws Exception,
                                     IOException
Throws:
Exception
IOException

setCheckSumCodeIntoFileName

String setCheckSumCodeIntoFileName(File file,
                                   String filePath)
                                   throws Exception,
                                          IOException
Throws:
Exception
IOException

setDesStatusValue

String setDesStatusValue(String desStatusValue,
                         String type)
                         throws Exception
Throws:
Exception

copyPhysicalDocumentToDocument

boolean copyPhysicalDocumentToDocument(PhysicalDocumentItem sourcePdItem,
                                       String destDocKey)
                                       throws Exception
Duplicate PhysicalDocumentItem

Parameters:
sourcePdItem - PhysicalDocumentItem
destDocKey - String
Returns:
boolean
Throws:
Exception
Since:
V2.2 HotFix_122 && V3.0 HotFix_12

copyPhysicalDocumentToDocument

boolean copyPhysicalDocumentToDocument(PhysicalDocumentItem sourcePdItem,
                                       VirtualDocumentInfo destVdInfo)
                                       throws Exception
duplicate PhysicalDocumentItem

Parameters:
sourcePdItem - PhysicalDocumentItem
destVdInfo - VirtualDocumentInfo
Returns:
boolean
Throws:
Exception
Since:
V2.2 HotFix_122 && V3.0 HotFix_12

getFileFromBytes

File getFileFromBytes(byte[] b,
                      String outputFile)
                      throws Exception
Throws:
Exception

downloadPasoPdfTest

DMSTransBlock downloadPasoPdfTest(String userID,
                                  String pasoID)
                                  throws RemoteException
Throws:
RemoteException

initDownloadPasoPdf

DMSResult initDownloadPasoPdf(String userID,
                              String pasoKey)
                              throws RemoteException,
                                     IOException,
                                     Exception
Throws:
RemoteException
IOException
Exception


Copyright(c) 2005-2012 by Flowring Technology Corp., 12 F., No 120, Sec 2, Gongdao 5th Rd., Hsin-Chu City 300, Taiwan(R.O.C.) All rights reserved.