|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PhysicalDocumentAccessService
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 |
---|
String forceInitUploadNewPhysicalDocument(String userID, String documentKey, String extension, String originalFileName) throws RemoteException
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)
.
userID
- documentKey
- extension
- originalFileName
-
RemoteException
String initUploadNewPhysicalDocument(String userID, String documentKey, String extension, String originalFileName) throws RemoteException
userID
- documentKey
- extension
- originalFileName
-
RemoteException
DMSResult initUploadPhysicalDocument(String userID, String physicalDocumentKey) throws RemoteException
RemoteException
String initUploadPasoFile(String userID, String originalFileName) throws RemoteException
extension
- originalFileName
-
RemoteException
DMSResult commitUploadPasoFileBlock(String userID, String pasoID, DMSTransBlock transBlock) throws RemoteException
RemoteException
boolean addPasoPdfInfo(PasoPdfInfo item) throws RemoteException
RemoteException
DMSTransBlock downloadPasoPdf(String userID, String pasoID) throws RemoteException
RemoteException
DMSResult initDownloadPhysicalDocument(String userID, String physicalDocumentKey) throws RemoteException, IOException, Exception
RemoteException
IOException
Exception
DMSResult initDownloadPhysicalDocument(String userID, String physicalDocumentKey, boolean ignoreLock) throws RemoteException, IOException, Exception
RemoteException
IOException
Exception
DMSResult initDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType) throws RemoteException, IOException, Exception
RemoteException
IOException
Exception
DMSResult initRemovePhysicalDocument(String userID, String physicalDocumentKey) throws RemoteException
RemoteException
DMSResult checkDownloadPhysicalDocument(String userID, String physicalDocumentKey) throws RemoteException
userID
- StringphysicalDocumentKey
- String
RemoteException
DMSResult checkDownloadPhysicalDocument(String userID, String physicalDocumentKey, boolean ignoreLock) throws RemoteException
RemoteException
DMSResult checkDownloadPhysicalDocument(DMSUser user, String physicalDocumentKey, boolean ignoreLock, String mainDocKey) throws RemoteException
RemoteException
DMSResult checkDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType) throws RemoteException
RemoteException
DMSResult checkDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType, String ignoreLock) throws RemoteException
RemoteException
DMSResult checkDownloadPhysicalDocument(DMSUser user, String physicalDocumentKey, boolean ignoreLock) throws RemoteException
RemoteException
DMSResult checkDownloadPhysicalDocument(DMSUser user, String physicalDocumentKey) throws RemoteException
RemoteException
DMSResult commitUploadPhysicalDocumentBlock(String userID, String physicalDocumentKey, DMSTransBlock transBlock) throws RemoteException
PhysicalDocumentTransferTool.uploadNewPhysicalDocument(String, String, String, String, java.io.InputStream)
.
RemoteException
void cancelDownloadPhysicalDocumentBlock(String userID, String physicalDocumentKey) throws RemoteException
userID
- StringphysicalDocumentKey
- String
RemoteException
DMSTransBlock commitDownloadPhysicalDocumentBlock(String userID, String physicalDocumentKey) throws RemoteException
RemoteException
DMSTransBlock commitDownloadPhysicalDocumentBlock(String userID, String physicalDocumentKey, String downloadType) throws RemoteException
RemoteException
boolean commitRemovePhysicalDocument(String userID, String physicalDocumentKey) throws RemoteException
RemoteException
DMSResult commitUpdatePhysicalDocumentInfo(String userID, String physicalDocumentKey, PhysicalDocumentItem item) throws RemoteException
RemoteException
Vector PhysicalDocumentInfo(String key) throws RemoteException
QueryService.getPhysicalDocumentItemList(String)
instead.
RemoteException
Vector getDocKeyByPDKey(String PDKey) throws RemoteException
RemoteException
boolean isAlive() throws RemoteException
RemoteException
DMSResult checkDownloadAuth(String userID, String documentKey) throws RemoteException
RemoteException
DMSResult checkDownloadAuth(String userID, String documentKey, boolean ignoreLock) throws RemoteException
RemoteException
void addInfoLog(String msg) throws RemoteException
RemoteException
DMSResult checkPhysicalFileExistent(String physicalDocumentKey) throws RemoteException
RemoteException
Vector getAllPhysicalDocumentKey() throws RemoteException
RemoteException
Vector getInvalidPhysicalFileDocList() throws RemoteException
RemoteException
String getDownloadFileName(String userID, String pdocKey, String downloadType, String EFORMMode) throws RemoteException
RemoteException
String getDownloadFileName(String userID, String pdocKey, String downloadType, String EFORMMode, String mainDocKey) throws RemoteException
RemoteException
boolean initUploadNewPhysicalDocument(String userID, String documentKey) throws RemoteException
isUserPermittedToUploadFile(String, String)
instead.
userID
- StringdocumentKey
- String
RemoteException
DMSResult checkExtDownloadPhysicalDocument(String userID, String physicalDocumentKey, String shortcutID) throws RemoteException
RemoteException
DMSResult initExtDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType, String ignoreLock, String shortcutID) throws RemoteException, IOException, Exception
RemoteException
IOException
Exception
DMSResult checkExtDownloadAuth(String userID, String documentKey, String shortcutID) throws RemoteException
RemoteException
DMSResult initEFormDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType, String ignoreLock) throws RemoteException, IOException, Exception
RemoteException
IOException
Exception
DMSResult initEFormDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType) throws RemoteException, IOException, Exception
RemoteException
IOException
Exception
DMSResult initEFormDownloadPhysicalDocument(String userID, String physicalDocumentKey, boolean ignoreLock) throws RemoteException, IOException, Exception
RemoteException
IOException
Exception
DMSResult initEFormDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType, String ignoreLock, String mainDocKey) throws RemoteException, IOException, Exception
RemoteException
IOException
Exception
DMSResult checkEFormDownloadPhysicalDocument(String userID, String physicalDocumentKey, String downloadType) throws RemoteException
RemoteException
DMSResult checkEFormDownloadPhysicalDocument(String userID, String physicalDocumentKey) throws RemoteException
RemoteException
DMSResult checkEFormDownloadPhysicalDocument(DMSUser user, String physicalDocumentKey) throws RemoteException
RemoteException
boolean updatePhysicalDocumentItem(PhysicalDocumentItem item) throws RemoteException
item
-
RemoteException
boolean isUserPermittedToUploadFile(String userID, String documentKey) throws RemoteException
userID
- documentKey
-
RemoteException
String validateOnlineReadFrd(AfdlOpLogs opLogs) throws RemoteException
opLogs
-
RemoteException
void saveAfdlRecord(AfdlRecord record) throws RemoteException
record
-
RemoteException
void initPDvalueToReadyConv(String attTypeID, boolean isDeleteFile) throws RemoteException
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.
RemoteException
void resetPDEncodeEncryptState(String pdocKey) throws RemoteException
[NOTE] This is enable while the optional Neevia/TrustView solution is bought.
pdocKey
- String[] PhysicalDocumentItem.getPhysicalDocumentKey()
s
RemoteException
void resetPDEncodeEncryptState(String[] pdocKeys) throws RemoteException
[NOTE] This is enable while the optional Neevia/TrustView solution is bought.
pdocKeys
- String[] PhysicalDocumentItem.getPhysicalDocumentKey()
s
RemoteException
DMSTransBlock generateWatermarkOnSample(String templateID, String typeName) throws RemoteException, IOException
templateID
- = watermark template id
RemoteException
IOException
int getPDCountNumByAttid(String attTypeID) throws RemoteException
attTypeID
-
RemoteException
DMSResult requestDownloadFileFromDistSite(DMSUser user, String downloadType, String docKey, String pDocKey) throws RemoteException
user
- downloadType
- docKey
- pDocKey
-
RemoteException
String requestUploadNewPhysicalDocumentFromDistSite(String userID, String documentKey, String extension, String originalFileName, String distSiteID) throws RemoteException
userID
- documentKey
- extension
- originalFileName
- distSiteID
- distribution site's unique id.
RemoteException
PDFTemplateItem getWatermark(String userID, String dockey) throws RemoteException
userID
- dockey
-
RemoteException
boolean isZipFile(String filePath) throws Exception, RemoteException
Exception
RemoteException
boolean isZipFile(File file) throws Exception, RemoteException
Exception
RemoteException
void zipFile(String filePath) throws Exception, RemoteException
Exception
RemoteException
void zipFile(PhysicalDocumentItem pdItem) throws Exception, RemoteException
Exception
RemoteException
void zipFile(File file) throws Exception, RemoteException
Exception
RemoteException
void unZipFile(String filePath) throws Exception, IOException, DataFormatException, RemoteException
Exception
IOException
DataFormatException
RemoteException
void unZipFile(File file) throws Exception, IOException, DataFormatException, RemoteException
Exception
IOException
DataFormatException
RemoteException
List getFilePathByPDListTable() throws Exception, RemoteException
Exception
RemoteException
void getDesPDList(Vector v, String path) throws Exception, IOException
Exception
IOException
Vector getPDFileMonitorList(Vector fileList) throws Exception, IOException
Exception
IOException
boolean checkFileChecksumCode(File file) throws Exception, IOException
Exception
IOException
String setCheckSumCodeIntoFileName(File file, String filePath) throws Exception, IOException
Exception
IOException
String setDesStatusValue(String desStatusValue, String type) throws Exception
Exception
boolean copyPhysicalDocumentToDocument(PhysicalDocumentItem sourcePdItem, String destDocKey) throws Exception
sourcePdItem
- PhysicalDocumentItemdestDocKey
- String
Exception
boolean copyPhysicalDocumentToDocument(PhysicalDocumentItem sourcePdItem, VirtualDocumentInfo destVdInfo) throws Exception
sourcePdItem
- PhysicalDocumentItemdestVdInfo
- VirtualDocumentInfo
Exception
File getFileFromBytes(byte[] b, String outputFile) throws Exception
Exception
DMSTransBlock downloadPasoPdfTest(String userID, String pasoID) throws RemoteException
RemoteException
DMSResult initDownloadPasoPdf(String userID, String pasoKey) throws RemoteException, IOException, Exception
RemoteException
IOException
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |