public class ArchiveServicesImpl extends Object implements IArchiveServices
| Modifier and Type | Field and Description |
|---|---|
static int |
CONST_INT_WS_AUTHORIZATION_ERROR |
static int |
CONST_INT_WS_IP_ERROR |
static int |
CONST_INT_WS_LOGIN_ERROR |
static int |
CONST_INT_WS_NO_DOCUMENT_ERROR |
static int |
CONST_INT_WS_OK |
static int |
CONST_INT_WS_REMOVE_DOCUMENT_ERROR |
static int |
CONST_INT_WS_UNKNOWN_ERROR |
static org.apache.log4j.Logger |
log |
| Constructor and Description |
|---|
ArchiveServicesImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
DeleteFile(String userName,
String password,
String fileId) |
int |
DeleteFileWithDomain(String userName,
String password,
String domain,
String fileId) |
String |
DoesDocumentExistInDocClass(String userName,
String password,
String sClassName,
String[] indexes) |
String |
DoesDocumentExistInDocClassWithDomain(String userName,
String password,
String domain,
String sClassName,
String[] indexes) |
String |
FindDocuments(String userName,
String password,
String sClassName,
String sFrom,
String sTo,
String[] indexes) |
String |
FindDocumentsWithDomain(String userName,
String password,
String domain,
String sClassName,
String sFrom,
String sTo,
String[] indexes) |
DocumentVersions |
GetAllDocumentVersions(String userName,
String password,
String fileId) |
DocumentVersions |
GetAllDocumentVersionsWithDomain(String userName,
String password,
String domain,
String fileId) |
String |
GetArchiveDocClasses(String userName,
String password) |
String |
GetArchiveDocClassesWithDomain(String userName,
String password,
String domain) |
String |
GetArchiveDocClassIndecies(String userName,
String password,
String docClassId) |
String |
GetArchiveDocClassIndeciesWithDomain(String userName,
String password,
String domain,
String docClassId) |
PlusWorkflowDocument |
GetDocument(String userName,
String password,
String fileId) |
PlusWorkflowDocument |
GetDocumentWithDomain(String userName,
String password,
String domain,
String fileId) |
String |
GetVersionForFile(String userName,
String password,
String fileId) |
String |
GetVersionForFileWithDomain(String userName,
String password,
String domain,
String fileId) |
void |
InitializeShark() |
boolean |
MoveDocumentBetweenDocClasses(String userName,
String password,
String fileId,
String destDocClassName,
String copyIndexes) |
boolean |
MoveDocumentBetweenDocClassesWithDomain(String userName,
String password,
String domain,
String fileId,
String destDocClassName,
String copyIndexes) |
int |
SaveAsNewVersion(String userName,
String password,
String sFileId,
String sFileName,
String sPageCount,
String sDescription,
String sOCRContent,
byte[] bytes) |
int |
SaveAsNewVersionWithDomain(String userName,
String password,
String domain,
String sFileId,
String sFileName,
String sPageCount,
String sDescription,
String sOCRContent,
byte[] bytes) |
int |
SaveDocumentInArchive(String userName,
String password,
String docClassId,
String sFilePath,
String sSize,
String sPageCount,
String sDescription,
String sOCRContent,
byte[] abFile) |
int |
SaveDocumentInArchiveWithDomain(String userName,
String password,
String domain,
String docClassId,
String sFilePath,
String sSize,
String sPageCount,
String sDescription,
String sOCRContent,
byte[] abFile) |
int |
SaveIndeciesInArchive(String userName,
String password,
String docClassId,
String fileId,
String[] asIndicies,
String newVersion) |
int |
SaveIndeciesInArchiveWithDomain(String userName,
String password,
String domain,
String docClassId,
String fileId,
String[] asIndicies,
String newVersion) |
boolean |
UpdateDocumentContent(String userName,
String password,
String fileId,
byte[] bytes) |
boolean |
UpdateDocumentContentWithDomain(String userName,
String password,
String domain,
String fileId,
byte[] bytes) |
boolean |
ValidateLogin(String userName,
String password) |
boolean |
ValidateLoginWithDomain(String userName,
String password,
String domain) |
public static org.apache.log4j.Logger log
public static int CONST_INT_WS_OK
public static int CONST_INT_WS_IP_ERROR
public static int CONST_INT_WS_LOGIN_ERROR
public static int CONST_INT_WS_AUTHORIZATION_ERROR
public static int CONST_INT_WS_UNKNOWN_ERROR
public static int CONST_INT_WS_REMOVE_DOCUMENT_ERROR
public static int CONST_INT_WS_NO_DOCUMENT_ERROR
public boolean ValidateLogin(String userName, String password)
ValidateLogin in interface IArchiveServicespublic boolean ValidateLoginWithDomain(String userName, String password, String domain)
ValidateLoginWithDomain in interface IArchiveServicespublic void InitializeShark()
public int SaveIndeciesInArchive(String userName, String password, String docClassId, String fileId, String[] asIndicies, String newVersion)
SaveIndeciesInArchive in interface IArchiveServicespublic int SaveIndeciesInArchiveWithDomain(String userName, String password, String domain, String docClassId, String fileId, String[] asIndicies, String newVersion)
SaveIndeciesInArchiveWithDomain in interface IArchiveServicespublic int SaveDocumentInArchive(String userName, String password, String docClassId, String sFilePath, String sSize, String sPageCount, String sDescription, String sOCRContent, byte[] abFile)
SaveDocumentInArchive in interface IArchiveServicespublic int SaveDocumentInArchiveWithDomain(String userName, String password, String domain, String docClassId, String sFilePath, String sSize, String sPageCount, String sDescription, String sOCRContent, byte[] abFile)
SaveDocumentInArchiveWithDomain in interface IArchiveServicespublic String GetArchiveDocClasses(String userName, String password)
GetArchiveDocClasses in interface IArchiveServicespublic String GetArchiveDocClassesWithDomain(String userName, String password, String domain)
GetArchiveDocClassesWithDomain in interface IArchiveServicespublic String GetArchiveDocClassIndecies(String userName, String password, String docClassId)
GetArchiveDocClassIndecies in interface IArchiveServicespublic String GetArchiveDocClassIndeciesWithDomain(String userName, String password, String domain, String docClassId)
GetArchiveDocClassIndeciesWithDomain in interface IArchiveServicespublic int DeleteFile(String userName, String password, String fileId)
DeleteFile in interface IArchiveServicespublic int DeleteFileWithDomain(String userName, String password, String domain, String fileId)
DeleteFileWithDomain in interface IArchiveServicespublic String DoesDocumentExistInDocClass(String userName, String password, String sClassName, String[] indexes)
DoesDocumentExistInDocClass in interface IArchiveServicespublic String DoesDocumentExistInDocClassWithDomain(String userName, String password, String domain, String sClassName, String[] indexes)
DoesDocumentExistInDocClassWithDomain in interface IArchiveServicespublic String GetVersionForFile(String userName, String password, String fileId)
GetVersionForFile in interface IArchiveServicespublic String GetVersionForFileWithDomain(String userName, String password, String domain, String fileId)
GetVersionForFileWithDomain in interface IArchiveServicespublic String FindDocuments(String userName, String password, String sClassName, String sFrom, String sTo, String[] indexes)
FindDocuments in interface IArchiveServicespublic String FindDocumentsWithDomain(String userName, String password, String domain, String sClassName, String sFrom, String sTo, String[] indexes)
FindDocumentsWithDomain in interface IArchiveServicespublic boolean MoveDocumentBetweenDocClasses(String userName, String password, String fileId, String destDocClassName, String copyIndexes)
MoveDocumentBetweenDocClasses in interface IArchiveServicespublic boolean MoveDocumentBetweenDocClassesWithDomain(String userName, String password, String domain, String fileId, String destDocClassName, String copyIndexes)
MoveDocumentBetweenDocClassesWithDomain in interface IArchiveServicespublic PlusWorkflowDocument GetDocument(String userName, String password, String fileId)
GetDocument in interface IArchiveServicespublic PlusWorkflowDocument GetDocumentWithDomain(String userName, String password, String domain, String fileId)
GetDocumentWithDomain in interface IArchiveServicespublic DocumentVersions GetAllDocumentVersions(String userName, String password, String fileId)
GetAllDocumentVersions in interface IArchiveServicespublic DocumentVersions GetAllDocumentVersionsWithDomain(String userName, String password, String domain, String fileId)
GetAllDocumentVersionsWithDomain in interface IArchiveServicespublic boolean UpdateDocumentContent(String userName, String password, String fileId, byte[] bytes)
UpdateDocumentContent in interface IArchiveServicespublic boolean UpdateDocumentContentWithDomain(String userName, String password, String domain, String fileId, byte[] bytes)
UpdateDocumentContentWithDomain in interface IArchiveServicespublic int SaveAsNewVersion(String userName, String password, String sFileId, String sFileName, String sPageCount, String sDescription, String sOCRContent, byte[] bytes)
SaveAsNewVersion in interface IArchiveServicespublic int SaveAsNewVersionWithDomain(String userName, String password, String domain, String sFileId, String sFileName, String sPageCount, String sDescription, String sOCRContent, byte[] bytes)
SaveAsNewVersionWithDomain in interface IArchiveServicesCopyright © 2017 Suncode. All rights reserved.