Package com.saperion.connector.rmi
Class AbstractRMIClientCommand
java.lang.Object
com.saperion.connector.rmi.AbstractRMIClientCommand
- All Implemented Interfaces:
SaRMIClientCommand
- Direct Known Subclasses:
AbstractFolderRMIClientCommand
Class representing the base class for all client wrappers for the backend
operations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final int
protected SaRMIServerCommand
protected com.lexmark.saperion.remote.common.authentication.Credentials
Credentials which were used to logonprotected static final Logger
protected Properties
protected com.saperion.connector.authentication.Session
Session which is representing the actual logged in userprotected com.saperion.connector.authentication.SessionInfo
The session information like user agent, remote address etc.protected SaRMISystemConnector
protected int
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.saperion.connector.rmi.SaRMIClientCommand
addComment, addHistory, addToFolder, cacheDocument, changePassword, checkoutDocument, checkoutDocument, checkSapUrl, clearContent, closeDocument, closeSession, copyFolder, createDocument, createExternalStorageFolderMapping, createFolder, createLink, deleteDocument, deleteExternalStorageFolderMapping, deleteFolder, deleteSetting, discardDocument, dsicardCheckout, executeCommand, finishSQLTransaction, finishTransaction, getACLNames, getACLRights, getAcls, getAllACLs, getAnnotations, getArchivedSize, getAuthorizedUsers, getBoxCount, getBoxDefinitions, getCommandInfos, getCommandInfos, getCommentInfos, getCommitMode, getCompleteHistoryInfos, getCurrentUserRole, getDDC, getDeleteMode, getDocumentFolderCount, getDocumentFolders, getEventsEnabled, getExternalStorageFoldersForUpload, getExternalStorageFoldersForUpload, getExternalStorageMapping, getFeatures, getFieldDescriptions, getFieldDescriptions, getFolderChildren, getFolderClass, getFolderFromPath, getFolderInfo, getFolderParent, getFolderRights, getFolderUpdateInfo, getFulltext, getFullTextFields, getHDocForSysRowId, getHistoryInfos, getIdsFromQuery, getInvolvedUsers, getLicenseCount, getLockInfo, getLocks, getLocks, getMandant, getMember, getMembers, getNodeAccessData, getOutOfOffice, getParentTask, getRealDBName, getRMIVersion, getServerInfos, getSession, getSetting, getStringQueryResult, getSubstitute, getSystemConnector, getSystemFiles, getSystemInfo, getSystemSetting, getTask, getTaskAuditList, getTaskList, getThumbnail, getToken, getUserIdsForQuery, getUsers, getUserSetting, getVersionList, getWorkflowDefinitions, invoke, isAlive, isRevisionEnabled, listActiveSessions, loadDDCNames, loadFolderDDCNames, loadSettings, loadSystemFile, loadWorkflowDDCName, lockNode, logClientEvent, logoff, logon, logon, logon, moveFolder, moveToFolder, newInvoke, readDocumentFirst, readDocumentFirst, readDocumentMetadata, readDocumentNext, readVersionMetadata, readVersionMetadata, releaseDocument, removeElement, removeElement, removeFromFolder, resolveLatestHdoc, restoreVersion, saveDocument, saveDocument, searchFolderClass, searchFolderDocuments, searchSettings, sendBarcode, setACLName, setAnnotations, setElementMark, setEventsEnabled, setFolderAcl, setLocale, setOutOfOffice, setSetting, setSubstitute, setUsedLicense, setUserSetting, setVariables, startSQLTransaction, startTransaction, storeDocument, storeDocument, storeSystemFile, unlockNode, updateExternalStorageUploadStatus, updateFolder, writeContent, writeContent, writeContent, writeContent
-
Field Details
-
appl
-
LOGGER
-
sysConnector
-
session
protected com.saperion.connector.authentication.Session sessionSession which is representing the actual logged in user -
credentials
protected com.lexmark.saperion.remote.common.authentication.Credentials credentialsCredentials which were used to logon -
sessionInfo
protected com.saperion.connector.authentication.SessionInfo sessionInfoThe session information like user agent, remote address etc. -
APPEND_CONTENT
protected static final int APPEND_CONTENT- See Also:
-
props
-
writeBufferSize
protected int writeBufferSize
-
-
Constructor Details
-
AbstractRMIClientCommand
public AbstractRMIClientCommand()
-
-
Method Details
-
reLogon
- Throws:
SaSystemException
- System exception
-
reLogonAfterConnectionFailure
If the cause of the exception is a connection failure, this methods performs a relogon.- Parameters:
e
- the exception caught after first attempting to call a remote-method- Returns:
- true if relogon was performed or false if the cause of the exception was no connection failure
- Throws:
SaSystemException
- if the relogon failed
-
init
- Throws:
NotBoundException
- Not boundRemoteException
- Remote exception
-
getRemoteCommand
-