Package com.saperion.connector.rmi
Class AbstractRMIClientCommand
- java.lang.Object
- 
- com.saperion.connector.rmi.AbstractRMIClientCommand
 
- 
- All Implemented Interfaces:
- SaRMIClientCommand
 - Direct Known Subclasses:
- AbstractFolderRMIClientCommand
 
 public abstract class AbstractRMIClientCommand extends java.lang.Object implements SaRMIClientCommand Class representing the base class for all client wrappers for the backend operations.
- 
- 
Field SummaryFields Modifier and Type Field Description protected static intAPPEND_CONTENTprotected SaRMIServerCommandapplprotected com.lexmark.saperion.remote.common.authentication.CredentialscredentialsCredentials which were used to logonprotected static LoggerLOGGERprotected java.util.Propertiespropsprotected com.saperion.connector.authentication.SessionsessionSession which is representing the actual logged in userprotected com.saperion.connector.authentication.SessionInfosessionInfoThe session information like user agent, remote address etc.protected SaRMISystemConnectorsysConnectorprotected intwriteBufferSize
 - 
Constructor SummaryConstructors Constructor Description AbstractRMIClientCommand()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SaRMIServerCommandgetRemoteCommand()protected voidinit()protected voidreLogon()protected booleanreLogonAfterConnectionFailure(java.lang.Exception e)If the cause of the exception is a connection failure, this methods performs a relogon.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.saperion.connector.rmi.SaRMIClientCommandaddComment, 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 Detail- 
applprotected SaRMIServerCommand appl 
 - 
LOGGERprotected static final Logger LOGGER 
 - 
sysConnectorprotected SaRMISystemConnector sysConnector 
 - 
sessionprotected com.saperion.connector.authentication.Session session Session which is representing the actual logged in user
 - 
credentialsprotected com.lexmark.saperion.remote.common.authentication.Credentials credentials Credentials which were used to logon
 - 
sessionInfoprotected com.saperion.connector.authentication.SessionInfo sessionInfo The session information like user agent, remote address etc.
 - 
APPEND_CONTENTprotected static final int APPEND_CONTENT - See Also:
- Constant Field Values
 
 - 
propsprotected java.util.Properties props 
 - 
writeBufferSizeprotected int writeBufferSize 
 
- 
 - 
Method Detail- 
reLogonprotected void reLogon() throws SaSystemException- Throws:
- SaSystemException- System exception
 
 - 
reLogonAfterConnectionFailureprotected boolean reLogonAfterConnectionFailure(java.lang.Exception e) throws SaSystemExceptionIf 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
 
 - 
initprotected void init() throws java.rmi.NotBoundException, java.rmi.RemoteException- Throws:
- java.rmi.NotBoundException- Not bound
- java.rmi.RemoteException- Remote exception
 
 - 
getRemoteCommandpublic SaRMIServerCommand getRemoteCommand() 
 
- 
 
-