public abstract class AbstractQueryRMIClientCommand extends AbstractDocRMIClientCommand
APPEND_CONTENT, appl, credentials, LOGGER, props, session, sysConnector, writeBufferSize| Constructor and Description |
|---|
AbstractQueryRMIClientCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
createLookupEntry(String ddc,
Properties props)
Deprecated.
|
void |
deleteLookupEntry(String ddc,
String id)
Deprecated.
|
void |
finishSQLTransaction(boolean commit,
String ddcName)
Finish SQL transaction.
|
String |
getFulltext(String ddcName,
String sysRowId,
String hdoc,
String fieldName,
long length)
Reads the fulltext information for the given document with the given SYSROWID in the given
DDC.
|
String |
getHDocForSysRowId(String sysRowId,
String ddcName)
Searchs the HDOC for the given SysRowId.
|
List<String> |
getIdsFromQuery(String query)
Executes a HQL query and returns the results as a string list.
|
List<SaDocumentInfo> |
getStringQueryResult(SaQueryInfo hqlQuery)
Executes a given HQL string and returns the results as list.
|
List<String> |
getVersionList(String ddcName,
String sysrowID)
Reads the versionlist for the given document.
|
SaPropertyValue[] |
readDocumentMetadata(String sysRowId,
String ddcName,
String[] fields)
Reads the meta data of the document with the given ID.
|
void |
startSQLTransaction(String ddcName)
Start SQL transaction.
|
void |
updateLookupEntry(String ddc,
String id,
Properties props)
Deprecated.
|
cacheDocument, checkoutDocument, checkSapUrl, clearContent, closeDocument, createDocument, createLink, deleteDocument, discardDocument, dsicardCheckout, finishTransaction, getACLNames, getACLRights, getAcls, getAllACLs, getAnnotations, getInvolvedUsers, getLockInfo, getLocks, getLocks, getNodeAccessData, getThumbnail, lockNode, logClientEvent, readDocumentFirst, readDocumentNext, readVersionMetadata, readVersionMetadata, releaseDocument, removeElement, removeElement, restoreVersion, saveDocument, saveDocument, setACLName, setAnnotations, setElementMark, setVariables, startTransaction, storeDocument, storeDocument, unlockNode, writeContent, writeContent, writeContent, writeContentaddToFolder, copyFolder, createFolder, deleteFolder, getDocumentFolderCount, getDocumentFolders, getFolderChildren, getFolderClass, getFolderFromPath, getFolderInfo, getFolderParent, getFolderRights, getFolderUpdateInfo, moveFolder, moveToFolder, removeFromFolder, searchFolderClass, searchFolderDocuments, setFolderAcl, updateFoldergetRemoteCommand, init, reLogon, reLogonAfterConnectionFailureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddComment, addHistory, changePassword, deleteSetting, executeCommand, getArchivedSize, getAuthorizedUsers, getBoxCount, getBoxDefinitions, getCommandInfos, getCommandInfos, getCommentInfos, getCommitMode, getCompleteHistoryInfos, getDDC, getDeleteMode, getEventsEnabled, getFeatures, getFieldDescriptions, getFieldDescriptions, getFullTextFields, getHistoryInfos, getLicenseCount, getMandant, getMember, getMembers, getOutOfOffice, getParentTask, getRealDBName, getRMIVersion, getServerInfos, getSession, getSetting, getSubstitute, getSystemConnector, getSystemFiles, getSystemInfo, getSystemSetting, getTask, getTaskAuditList, getTaskList, getToken, getUserIdsForQuery, getUsers, getUserSetting, getWorkflowDefinitions, invoke, isAlive, isRevisionEnabled, loadDDCNames, loadFolderDDCNames, loadSettings, loadSystemFile, loadWorkflowDDCName, logoff, logon, resolveLatestHdoc, searchSettings, sendBarcode, setEventsEnabled, setLocale, setOutOfOffice, setSetting, setSubstitute, setUsedLicense, setUserSetting, storeBpmn, storeSystemFilepublic List<String> getIdsFromQuery(String query) throws SaSystemException, SaAuthenticationException
query - HQL querySaSystemException - Error on the saperion systemSaAuthenticationException - SaAuthenticationExceptionSaRMIClientCommand.getIdsFromQuery(java.lang.String)public List<SaDocumentInfo> getStringQueryResult(SaQueryInfo hqlQuery) throws SaSystemException, SaAuthenticationException, SaDBException
hqlQuery - HQL query infoSaSystemException - Error on the saperion systemSaAuthenticationException - SaAuthenticationExceptionSaDBException - query execution exceptionSaRMIClientCommand.getStringQueryResult(com.saperion.rmi.SaQueryInfo)public SaPropertyValue[] readDocumentMetadata(String sysRowId, String ddcName, String[] fields) throws SaSystemException, SaAuthenticationException, SaGetNodeException
sysRowId - The ID of the document (SYSROWID)ddcName - The name of the database definitionfields - Field names to be read. If empty or null, all fields will be read.SaPropertyValue
instances.SaSystemException - SaRMICommandExceptionSaAuthenticationException - SaAuthenticationExceptionSaGetNodeException - SaGetNodeExceptionSaRMIClientCommand.readDocumentMetadata(
java.lang.String, java.lang.String, java.lang.String[])public String getFulltext(String ddcName, String sysRowId, String hdoc, String fieldName, long length) throws SaSystemException, SaAuthenticationException
ddcName - DDC name of the documentsysRowId - SYSROWID of the document. Can be null if hdoc is set. If both hdoc and sysRowId are set,
hdoc will be used.hdoc - HDOC of the document. Can be null if sysRowId is set. If both hdoc and sysRowId are set,
hdoc will be used.fieldName - name of the fulltext field to retrieve content from. If not set,
the first fulltext field of the DDC will be usedlength - maximum length of content to retrieve. If -1, the complete content will
be returned.SaSystemException - SaSystemExceptionSaAuthenticationException - SaAuthenticationExceptionSaRMIClientCommand.getFulltext(String, String, String, String, long)public List<String> getVersionList(String ddcName, String sysrowID) throws SaSystemException, SaAuthenticationException
ddcName - DDC namesysrowID - SYSROWIDSaSystemException - SaRMICommandExceptionSaAuthenticationException - SaAuthenticationExceptionSaRMIClientCommand.getVersionList(java.lang.String,
java.lang.String)public String getHDocForSysRowId(String sysRowId, String ddcName) throws SaSystemException, SaAuthenticationException, SaDDCException
sysRowId - SysRowIdddcName - DDC nameSaSystemException - SaRMICommandExceptionSaAuthenticationException - SaAuthenticationExceptionSaDDCException - SaDDCExceptionSaRMIClientCommand.getHDocForSysRowId(java.lang.String,
java.lang.String)public void startSQLTransaction(String ddcName) throws SaSystemException
ddcName - the name of the ddcSaSystemException - Error on the saperion systemSaRMIClientCommand.startSQLTransaction(java.lang.String)public void finishSQLTransaction(boolean commit,
String ddcName)
throws SaSystemException
commit - True, if commit, else rollbackddcName - the name of the ddcSaSystemException - Error on the saperion systemSaRMIClientCommand.finishSQLTransaction(boolean, java.lang.String)@Deprecated public String createLookupEntry(String ddc, Properties props) throws SaSystemException, SaAuthenticationException, SaDDCException
ddc - Lookup DDC nameprops - Properties for the new entrySaSystemException - Remote exceptionSaAuthenticationException - Authentication errorSaDDCException - Database exceptionSaRMIClientCommand.createLookupEntry(java.lang.String,
java.util.Properties)@Deprecated public void deleteLookupEntry(String ddc, String id) throws SaSystemException, SaAuthenticationException, SaDDCException
ddc - Lookup DDC nameid - SYSROWID of the existing entrySaSystemException - Remote exceptionSaAuthenticationException - Authentication errorSaDDCException - Database exceptionSaRMIClientCommand.deleteLookupEntry(java.lang.String,
java.lang.String)@Deprecated public void updateLookupEntry(String ddc, String id, Properties props) throws SaSystemException, SaAuthenticationException, SaDDCException
ddc - Lookup DDC nameid - SYSROWID of the existing entryprops - Properties for the entrySaSystemException - Remote exceptionSaAuthenticationException - Authentication errorSaDDCException - Database exceptionSaRMIClientCommand.updateLookupEntry(java.lang.String,
java.lang.String, java.util.Properties)Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.