public abstract class AbstractDocRMIClientCommand extends AbstractFolderRMIClientCommand
APPEND_CONTENT, appl, credentials, LOGGER, props, session, sessionInfo, sysConnector, writeBufferSize
Constructor and Description |
---|
AbstractDocRMIClientCommand() |
Modifier and Type | Method and Description |
---|---|
SaSaveInfo |
cacheDocument(boolean isNew,
int commitMode,
String versionComment,
String xhDoc,
String dbName,
String acls)
Stores the actual document to the backend.
|
void |
checkoutDocument(String hDoc)
Checkout the given document.
|
SapDocInfo |
checkSapUrl(String url)
Checks the given SAP URL on the R/Link server and returns, if successfull, the HDOC and the
DDC.
|
void |
clearContent()
Clears all content of the opened document.
|
void |
closeDocument(com.saperion.jni.SaJNIDocHandle handle)
Manually closing of a open document.
|
SaSaveInfo |
createDocument(String dbName,
List<SaPropertyValue> values)
Creates a new document with the given parameters.
|
SaSaveInfo |
createLink(LinkInfo link)
Creates a SAPERION Link into one Archive for an existing Document.
|
SaSaveInfo |
deleteDocument(int mode,
String hDoc)
Delete a document.
|
void |
discardDocument()
Discards the document identified by the tokens handle.
|
void |
dsicardCheckout(String hDoc)
Discards the checkout of the given document.
|
void |
finishTransaction(boolean commit)
Finish the transaction in the backend system.
|
String |
getACLNames(String hDoc)
Reads the ACL's for the given document.
|
SaACLRights |
getACLRights(String[] acls)
Reads the rights for the given acl's.
|
List<SaAcl> |
getAcls()
Reads all existing ACLs.
|
List<String> |
getAllACLs()
Deprecated.
|
String |
getAnnotations(String hDoc,
int indexOfContentElement,
boolean currentRevision)
Reads the annotations from the given document.
|
List<String> |
getInvolvedUsers(String hDoc)
Reads all users involved in the set of ACL's.
|
SaLockInfo |
getLockInfo(String sysRowId)
Gets the lock info for a given node.
|
List<String> |
getLocks(String ddcName)
Reads all locks from the given DDC.
|
List<String> |
getLocks(String ddcName,
String mandant)
Reads all locks from the given DDC.
|
com.saperion.jni.SaJNIDocAccessData |
getNodeAccessData(String hDoc)
Opens the document identified by hdoc and returns an object containing all access right data
information for the session user.
|
byte[] |
getThumbnail(String hDoc,
int widthX,
int widthY,
boolean color)
Reads the thumbnail of the given document.
|
boolean |
lockNode(String sysRowId,
String ddcName,
int lockType,
boolean sessionScoped)
Locks a node.
|
void |
logClientEvent(String hdoc,
SaConstants.ProtoEvents event,
String remark)
Adds an audit log event.
|
com.saperion.jni.SaJNIReadBuffer |
readDocumentFirst(String hdoc,
boolean currentRevision,
int element)
Opens an existing document with the given hdoc and returns a document handle for the
specified element (= sub-document) as well as the buffer containing the content data of the
element.
|
com.saperion.jni.SaJNIReadBuffer |
readDocumentFirst(String hdoc,
boolean currentRevision,
int element,
boolean withAnnotations)
Opens an existing document with the given hdoc and returns a document handle for the
specified element (= sub-document) as well as the buffer containing the content data of the
element.
|
com.saperion.jni.SaJNIReadBuffer |
readDocumentNext(com.saperion.jni.SaJNIDocHandle handle)
Reads the next bytes from the open document, described in the handle.
|
SaVersionData |
readVersionMetadata(String versionID)
Reads the version meta data of the document with the given ID.
|
SaVersionData |
readVersionMetadata(String versionID,
boolean resolveLinks)
Reads the version meta data of the document with the given ID.
|
void |
releaseDocument(String hDoc,
String comment)
Release the given document.
|
void |
removeElement(int element)
Removes a existing content element.
|
void |
removeElement(Integer[] elements)
Removes a series of existing content elements.
|
SaSaveInfo |
restoreVersion(String versionID)
Restores the given version to the actual version.
|
SaSaveInfo |
saveDocument(String hexUID,
String dbName,
List<SaPropertyValue> metadata)
Saves the document paramaters to the document.
|
SaSaveInfo |
saveDocument(String hexUID,
String dbName,
List<SaPropertyValue> metadata,
boolean resolveLinks)
Saves the document paramaters to the document.
|
SaSaveInfo |
setACLName(String ddcname,
String hDoc,
String acl,
int commitMode,
String versionComment)
Sets the given ACL to the node.
|
void |
setAnnotations(String hDoc,
int indexOfContentElement,
String annotations)
Sets the given annotations to the document.
|
void |
setElementMark(int element)
Mark the content element.
|
void |
setVariables(int element,
Map<String,String> variables)
Method to set the Variables for an Content-Object or the Structure itself.
|
void |
startTransaction()
Starts a transaction in the backend system.
|
SaSaveInfo |
storeDocument(boolean isNew,
int commitMode,
String versionComment,
String dbName,
String acls)
Stores the actual document to the backend.
|
SaSaveInfo |
storeDocument(boolean isNew,
int commitMode,
String versionComment,
String dbName,
String acls,
boolean checkout)
Stores the actual document to the backend.
|
boolean |
unlockNode(String sysRowId,
String ddcName)
Unlocks a node.
|
long |
writeContent(ContentStream content)
Writes the content of the document.
|
long |
writeContent(InputStream stream)
Writes the content of the document.
|
long |
writeContent(InputStream stream,
String fileName,
int element) |
long |
writeContent(InputStream stream,
String fileName,
int element,
boolean doStreaming)
Writes the content of the document.
If the document size is less than SaConstants.JNI_BUFFER_SIZE than the default buffer size will be reduced and only one JNI call is initiated. |
addToFolder, copyFolder, createFolder, deleteFolder, getDocumentFolderCount, getDocumentFolders, getFolderChildren, getFolderClass, getFolderFromPath, getFolderInfo, getFolderParent, getFolderRights, getFolderUpdateInfo, moveFolder, moveToFolder, removeFromFolder, searchFolderClass, searchFolderDocuments, setFolderAcl, updateFolder
getRemoteCommand, init, reLogon, reLogonAfterConnectionFailure
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addComment, addHistory, changePassword, closeSession, deleteSetting, executeCommand, finishSQLTransaction, getArchivedSize, getAuthorizedUsers, getBoxCount, getBoxDefinitions, getCommandInfos, getCommandInfos, getCommentInfos, getCommitMode, getCompleteHistoryInfos, getDDC, getDeleteMode, getEventsEnabled, getFeatures, getFieldDescriptions, getFieldDescriptions, getFulltext, getFullTextFields, getHDocForSysRowId, getHistoryInfos, getIdsFromQuery, getLicenseCount, getMandant, getMember, getMembers, getOutOfOffice, getParentTask, getRealDBName, getRMIVersion, getServerInfos, getSession, getSetting, getStringQueryResult, getSubstitute, getSystemConnector, getSystemFiles, getSystemInfo, getSystemSetting, getTask, getTaskAuditList, getTaskList, getToken, getUserIdsForQuery, getUsers, getUserSetting, getVersionList, getWorkflowDefinitions, invoke, isAlive, isRevisionEnabled, listActiveSessions, loadDDCNames, loadFolderDDCNames, loadSettings, loadSystemFile, loadWorkflowDDCName, logoff, logon, logon, logon, newInvoke, readDocumentMetadata, resolveLatestHdoc, searchSettings, sendBarcode, setEventsEnabled, setLocale, setOutOfOffice, setSetting, setSubstitute, setUsedLicense, setUserSetting, startSQLTransaction, storeSystemFile
public void discardDocument() throws SaSystemException
SaRMIClientCommand
SaSystemException
public void setVariables(int element, Map<String,String> variables) throws SaAuthenticationException, SaSystemException
SaRMIClientCommand
element
- Element Number where the Variables should be set to. (0 = Structure)variables
- Map of Key-Value Pairs for setting VariablesSaAuthenticationException
- error on the authentification / insufficient rightsSaSystemException
- general errorpublic final long writeContent(InputStream stream, String fileName, int element) throws SaSystemException, SaAuthenticationException, SaConnectException
public final long writeContent(InputStream stream, String fileName, int element, boolean doStreaming) throws SaSystemException, SaAuthenticationException, SaConnectException
stream
- content streamfileName
- the file nameelement
- doStreaming
- set to true, if streaming option for the inputstream content should be activated.SaSystemException
- SaSystemExceptionSaAuthenticationException
- SaAuthenticationExceptionSaConnectException
- SaConnectExceptionSaRMIClientCommand.writeContent(java.io.InputStream, String, int, boolean)
public long writeContent(InputStream stream) throws SaSystemException, SaAuthenticationException, SaConnectException
SaRMIClientCommand
stream
- content streamSaSystemException
- SaSystemExceptionSaAuthenticationException
- SaAuthenticationExceptionSaConnectException
- SaConnectExceptionpublic long writeContent(ContentStream content) throws SaSystemException, SaAuthenticationException, SaConnectException, StreamVerificationException, UploadLimitExceededException
content
- content streamSaSystemException
- SaSystemExceptionSaAuthenticationException
- SaAuthenticationExceptionSaConnectException
- SaConnectExceptionStreamVerificationException
- if the content stream validation is enabled and the validation failed.UploadLimitExceededException
SaRMIClientCommand.writeContent(com.saperion.bean.ContentStream)
public final void closeDocument(com.saperion.jni.SaJNIDocHandle handle) throws SaSystemException, SaAuthenticationException, SaGetNodeException
handle
- Document handle for a document, opend by readDocumentFirstSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaGetNodeException
- SaGetNodeExceptionpublic SaSaveInfo deleteDocument(int mode, String hDoc) throws SaSystemException, SaAuthenticationException, SaGetNodeException, SaDDCException
mode
- Delete mode may be set to the following values:
hDoc
- Document HDOCSaSystemException
- Error on the saperion systemSaAuthenticationException
- SaAuthenticationExceptionSaGetNodeException
- SaGetNodeExceptionSaDDCException
- SaDDCExceptionSaRMIClientCommand.deleteDocument(int, String)
public com.saperion.jni.SaJNIReadBuffer readDocumentFirst(String hdoc, boolean currentRevision, int element) throws SaSystemException, SaAuthenticationException, SaGetNodeException
hdoc
- Document HDOCcurrentRevision
- flag indicating that the current revision of the document should be retrieved by
resolving hdocelement
- Element number, starting with 1SaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaGetNodeException
- SaGetNodeExceptionSaRMIClientCommand.readDocumentFirst(String, boolean, int)
public com.saperion.jni.SaJNIReadBuffer readDocumentFirst(String hdoc, boolean currentRevision, int element, boolean withAnnotations) throws SaSystemException, SaAuthenticationException, SaGetNodeException
hdoc
- Document HDOCcurrentRevision
- flag indicating that the current revision of the document should be retrieved by
resolving hdocelement
- Element number, starting with 1withAnnotations
- if true, the annotations will be saved on the documentSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaGetNodeException
- SaGetNodeExceptionSaRMIClientCommand.readDocumentFirst(String, boolean, int, boolean)
public com.saperion.jni.SaJNIReadBuffer readDocumentNext(com.saperion.jni.SaJNIDocHandle handle) throws SaSystemException, SaAuthenticationException, SaSetNodeException, SaGetNodeException, SaConnectException
handle
- Document handle for a document, opend by readDocumentFirstSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaSetNodeException
- SaSetNodeExceptionSaGetNodeException
- SaGetNodeExceptionSaConnectException
- SaConnectExceptionSaRMIClientCommand.readDocumentNext(com.saperion.jni.SaJNIDocHandle)
public byte[] getThumbnail(String hDoc, int widthX, int widthY, boolean color) throws SaSystemException, SaAuthenticationException
hDoc
- HDoc for the document.widthX
- Width XwidthY
- Width Ycolor
- True for coloredSaSystemException
- System exceptionSaAuthenticationException
- SaAuthenticationExceptionSaRMIClientCommand.getThumbnail(java.lang.String, int, int,
boolean)
public SaVersionData readVersionMetadata(String versionID) throws SaSystemException, SaAuthenticationException, SaDDCException, SaGetNodeException
versionID
- Version HDOCSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaDDCException
- SaDDCExceptionSaGetNodeException
- SaGetNodeExceptionSaRMIClientCommand.readVersionMetadata(String)
public SaVersionData readVersionMetadata(String versionID, boolean resolveLinks) throws SaSystemException, SaAuthenticationException, SaDDCException, SaGetNodeException
SaRMIClientCommand
versionID
- Version HDOCresolveLinks
- If false will not resolve the link and show the metadata associated with the link itself.SaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaDDCException
- SaDDCExceptionSaGetNodeException
- SaGetNodeExceptionpublic SaSaveInfo createDocument(String dbName, List<SaPropertyValue> values) throws SaSystemException, SaAuthenticationException, SaDDCException, SaGetNodeException
dbName
- Node database table namevalues
- List of all valuesSaSystemException
- Error on the saperion systemSaAuthenticationException
- Error on the saperion systemSaDDCException
- Error on the saperion systemSaGetNodeException
- SaGetNodeExceptionSaRMIClientCommand.createDocument(String, java.util.List)
public SaSaveInfo cacheDocument(boolean isNew, int commitMode, String versionComment, String xhDoc, String dbName, String acls) throws SaSystemException, SaAuthenticationException, SaGetNodeException, SaSetNodeException, SaDDCException
isNew
- Is a new documentcommitMode
- Commit modeversionComment
- Version comment stringxhDoc
- the xh docdbName
- DDC nameacls
- ACL name stringSaSystemException
- the system error exceptionSaAuthenticationException
- the authentication error exceptionSaGetNodeException
- the get node error exceptionSaSetNodeException
- the set node error exceptionSaDDCException
- the ddc error exceptionSaRMIClientCommand.storeDocument(boolean, int,
java.lang.String, java.lang.String, java.lang.String, boolean)
public SaSaveInfo createLink(LinkInfo link) throws SaSystemException, SaAuthenticationException, SaDDCException, SaGetNodeException
SaRMIClientCommand
link
- Link for the existing DocumentSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaDDCException
- SaDDCExceptionSaGetNodeException
- SaGetNodeExceptionpublic SaSaveInfo saveDocument(String hexUID, String dbName, List<SaPropertyValue> metadata) throws SaSystemException, SaAuthenticationException, SaGetNodeException, SaDDCException
hexUID
- Node HDOCdbName
- Database table namemetadata
- List of all valuesSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaGetNodeException
- SaGetNodeExceptionSaDDCException
- SaDDCExceptionSaRMIClientCommand.saveDocument(String, String, java.util.List)
public SaSaveInfo saveDocument(String hexUID, String dbName, List<SaPropertyValue> metadata, boolean resolveLinks) throws SaSystemException, SaAuthenticationException, SaGetNodeException, SaDDCException
hexUID
- Node HDOCdbName
- Database table namemetadata
- List of all valuesresolveLinks
- Resolve linksSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaGetNodeException
- SaGetNodeExceptionSaDDCException
- SaDDCExceptionSaRMIClientCommand.saveDocument(String, String, java.util.List, boolean)
public SaSaveInfo storeDocument(boolean isNew, int commitMode, String versionComment, String dbName, String acls) throws SaSystemException, SaAuthenticationException, SaGetNodeException, SaSetNodeException, SaDDCException
isNew
- Is a new documentcommitMode
- Commit modeversionComment
- Version comment stringdbName
- DDC nameacls
- ACL name stringSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaGetNodeException
- SaGetNodeExceptionSaSetNodeException
- SaSetNodeExceptionSaDDCException
- SaDDCExceptionSaRMIClientCommand.storeDocument(boolean, int, String, String, String)
public SaSaveInfo storeDocument(boolean isNew, int commitMode, String versionComment, String dbName, String acls, boolean checkout) throws SaSystemException, SaAuthenticationException, SaGetNodeException, SaSetNodeException, SaDDCException
isNew
- Is a new documentcommitMode
- Commit modeversionComment
- Version comment stringdbName
- DDC nameacls
- ACL name string (semicolon separated)checkout
- Checkin documentSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaGetNodeException
- SaGetNodeExceptionSaSetNodeException
- SaSetNodeExceptionSaDDCException
- SaDDCExceptionSaRMIClientCommand.storeDocument(boolean, int,
java.lang.String, java.lang.String, java.lang.String, boolean)
public void checkoutDocument(String hDoc) throws SaSystemException, SaAuthenticationException, SaGetNodeException
hDoc
- Document HDOCSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaGetNodeException
- SaGetNodeExceptionSaRMIClientCommand.checkoutDocument(java.lang.String)
public void dsicardCheckout(String hDoc) throws SaSystemException, SaAuthenticationException, SaGetNodeException
hDoc
- Document HDOCSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaGetNodeException
- SaGetNodeExceptionSaRMIClientCommand.dsicardCheckout(java.lang.String)
public void releaseDocument(String hDoc, String comment) throws SaSystemException, SaAuthenticationException, SaGetNodeException
hDoc
- Document HDOCcomment
- the revision commentSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaGetNodeException
- SaGetNodeExceptionSaRMIClientCommand.releaseDocument(java.lang.String,
java.lang.String)
public SaSaveInfo restoreVersion(String versionID) throws SaSystemException, SaAuthenticationException, SaDDCException, SaGetNodeException
versionID
- Version HDOCSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaDDCException
- SaDDCExceptionSaGetNodeException
- SaGetNodeExceptionSaRMIClientCommand.restoreVersion(String)
public void clearContent() throws SaSystemException, SaAuthenticationException, SaGetNodeException, SaSetContentException, SaConnectException
SaSystemException
- Error on the saperion systemSaAuthenticationException
- SaAuthenticationExceptionSaGetNodeException
- SaGetNodeExceptionSaSetContentException
- SaSetContentExceptionSaConnectException
- SaConnectExceptionSaRMIClientCommand.clearContent()
public void setElementMark(int element) throws SaSystemException, SaAuthenticationException, SaConnectException
element
- Element number to markSaSystemException
- Error on the saperion systemSaAuthenticationException
- SaAuthenticationExceptionSaConnectException
- SaConnectExceptionSaRMIClientCommand.setElementMark(int)
public void removeElement(int element) throws SaSystemException, SaAuthenticationException, SaGetNodeException, SaSetContentException, SaConnectException
element
- Element numberSaSystemException
- Error on the saperion systemSaAuthenticationException
- SaAuthenticationExceptionSaGetNodeException
- SaGetNodeExceptionSaSetContentException
- SaSetContentExceptionSaConnectException
- SaConnectExceptionSaRMIClientCommand.removeElement(int)
public void removeElement(Integer[] elements) throws SaSystemException, SaAuthenticationException, SaGetNodeException, SaSetContentException, SaConnectException
elements
- Array of element numberSaSystemException
- Error on the saperion systemSaAuthenticationException
- SaAuthenticationExceptionSaGetNodeException
- SaGetNodeExceptionSaSetContentException
- SaSetContentExceptionSaConnectException
- SaConnectExceptionSaRMIClientCommand.removeElement(int)
public SaLockInfo getLockInfo(String sysRowId) throws SaSystemException, SaAuthenticationException, SaLockException, SaGetNodeException
sysRowId
- SysRowIdSaSystemException
- Error on the saperion systemSaAuthenticationException
- Error on the saperion systemSaLockException
- Error on the saperion systemSaGetNodeException
- SaGetNodeExceptionSaRMIClientCommand.getLockInfo(String)
public boolean lockNode(String sysRowId, String ddcName, int lockType, boolean sessionScoped) throws SaSystemException, SaAuthenticationException, SaLockException, SaGetNodeException, SaPropertyException
sysRowId
- SysRowIdddcName
- DDC namelockType
- locking mode can be one of the following constants: sessionScoped
- True, if session scopedSaSystemException
- Error on the saperion systemSaAuthenticationException
- Error on the saperion systemSaLockException
- Error on the saperion systemSaGetNodeException
- SaGetNodeExceptionSaPropertyException
- SaPropertyExceptionSaRMIClientCommand.lockNode(String, String, int, boolean)
public boolean unlockNode(String sysRowId, String ddcName) throws SaSystemException, SaAuthenticationException, SaLockException, SaGetNodeException
sysRowId
- SysRowIdddcName
- DDC nameSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaLockException
- SaLockExceptionSaGetNodeException
- SaGetNodeExceptionSaRMIClientCommand.unlockNode(String, String)
public com.saperion.jni.SaJNIDocAccessData getNodeAccessData(String hDoc) throws SaSystemException, SaAuthenticationException, SaGetNodeException
hDoc
- Document HDOCSaSystemException
- Error on the saperion systemSaAuthenticationException
- Error on the saperion systemSaGetNodeException
- SaGetNodeExceptionSaRMIClientCommand.getNodeAccessData(java.lang.String)
public void finishTransaction(boolean commit) throws SaSystemException
commit
- True, if commit this transaction, false to rollbackSaSystemException
- Error on the saperion systemSaRMIClientCommand.finishTransaction(boolean)
public void startTransaction() throws SaSystemException
SaSystemException
- SaRMICommandExceptionSaRMIClientCommand.startTransaction()
public final String getAnnotations(String hDoc, int indexOfContentElement, boolean currentRevision) throws SaAuthenticationException, SaSystemException
hDoc
- Document HDOCindexOfContentElement
- the index of the chosen context elementcurrentRevision
- true to get current revisionSaAuthenticationException
- Authentication errorSaSystemException
- Remote exceptionpublic final void setAnnotations(String hDoc, int indexOfContentElement, String annotations) throws SaAuthenticationException, SaSystemException
hDoc
- Document HDOCindexOfContentElement
- the index of the chosen context elementannotations
- Annotation stringSaAuthenticationException
- Authentication errorSaSystemException
- Remote exceptionpublic final List<String> getLocks(String ddcName) throws SaSystemException
ddcName
- DDC nameSaSystemException
- Remote exceptionpublic List<String> getLocks(String ddcName, String mandant) throws SaSystemException
ddcName
- DDC namemandant
- internal saperion name of the current mandantSaSystemException
- Remote exceptionSaRMIClientCommand.getLocks(java.lang.String,
java.lang.String)
public String getACLNames(String hDoc) throws SaSystemException, SaAuthenticationException, SaDDCException, SaGetNodeException
hDoc
- Document HDOCSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaDDCException
- SaDDCExceptionSaGetNodeException
- SaGetNodeExceptionSaRMIClientCommand.getACLNames(String)
public List<String> getInvolvedUsers(String hDoc) throws SaSystemException, SaAuthenticationException, SaDDCException, SaGetNodeException
hDoc
- Document HDOCSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaDDCException
- SaDDCExceptionSaGetNodeException
- SaGetNodeExceptionSaRMIClientCommand.getInvolvedUsers(String)
public SaSaveInfo setACLName(String ddcname, String hDoc, String acl, int commitMode, String versionComment) throws SaSystemException, SaAuthenticationException, SaDDCException, SaGetNodeException, SaSetNodeException, SaSetACLException
ddcname
- implemented ddc in saperionhDoc
- Document HDOCacl
- ACL name stringcommitMode
- Commit modeversionComment
- Version comment stringSaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaDDCException
- SaDDCExceptionSaGetNodeException
- SaGetNodeExceptionSaSetNodeException
- SaSetNodeExceptionSaSetACLException
- SaSetACLExceptionSaRMIClientCommand.setACLName(String, String, String, int, String)
public List<SaAcl> getAcls() throws SaSystemException, SaAuthenticationException
SaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionSaRMIClientCommand.getAcls()
public SaACLRights getACLRights(String[] acls) throws SaSystemException, SaAuthenticationException
acls
- ACL'sSaSystemException
- System exceptionSaAuthenticationException
- Authentication exceptionSaRMIClientCommand.getACLRights(java.lang.String[])
@Deprecated public List<String> getAllACLs() throws SaSystemException, SaAuthenticationException
SaSystemException
- SaRMICommandExceptionSaAuthenticationException
- SaAuthenticationExceptionpublic void logClientEvent(String hdoc, SaConstants.ProtoEvents event, String remark) throws SaSystemException, SaAuthenticationException
hdoc
- Document HDOCevent
- Event typeremark
- RemarkSaSystemException
- general errorSaAuthenticationException
- error on the authentification / insufficient rightsSaRMIClientCommand.logClientEvent(java.lang.String,
com.saperion.constants.SaConstants.ProtoEvents, java.lang.String)
public SapDocInfo checkSapUrl(String url) throws SaSystemException, SaSapUrlException, SaAuthenticationException
url
- SAP URLSaSystemException
- when a system error occuredSaSapUrlException
- when checking the sap url failed in the RLINK serverSaAuthenticationException
- when the user is not logged in or has insufficient rightsSaRMIClientCommand.checkSapUrl(java.lang.String)
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.