public abstract class AbstractWfRMIClientCommand extends AbstractQueryRMIClientCommand
APPEND_CONTENT, appl, credentials, LOGGER, props, session, sessionInfo, sysConnector, writeBufferSize
Constructor and Description |
---|
AbstractWfRMIClientCommand() |
Modifier and Type | Method and Description |
---|---|
void |
addComment(String comment,
String taskUID,
int level) |
void |
addHistory(String description,
String taskUID) |
String |
executeCommand(ContextInfo contextInfo)
Performs the given command.
|
BoxCount |
getBoxCount(int boxId,
BoxCountType type,
Map<String,Object> parameters)
Returns the number of all elements and of all unread elements of the inbox identified by the given id.
|
List<BoxDefinition> |
getBoxDefinitions()
Reads the box definitions.
|
Collection<CommandInfo> |
getCommandInfos(String taskUID)
Reads all possible transitions for this task.
|
Collection<CommandInfo> |
getCommandInfos(String taskUID,
boolean transitionsOnly)
Reads all possible transitions and optional other possible commands for this task.
|
List<CommentInfo> |
getCommentInfos(String taskUID)
Reads the comments for the given task.
|
List<List<HistoryInfo>> |
getCompleteHistoryInfos(String docUID)
Reads the history for the given task.
|
List<HistoryInfo> |
getHistoryInfos(String taskUID)
Reads the history for the given task.
|
boolean |
getOutOfOffice()
Get the out of office status for the logged on user.
|
TaskInfo |
getParentTask(String taskID)
Reads the parent task info for the given ID.
|
String |
getSubstitute()
Get the substitute for the logged on user.
|
TaskInfo |
getTask(String taskID)
Reads the task info for the given ID.
|
List<TaskAuditInfo> |
getTaskAuditList(int[] ids,
String filter,
Map<String,Object> parameter)
Reads the task audit for this user.
|
List<TaskInfo> |
getTaskList(int[] ids,
String filter,
Map<String,Object> parameter)
Reads the task for this user.
|
List<String> |
getUsers(String filter)
Reads a list of filtered users.
|
List<String> |
getWorkflowDefinitions()
Reads all available workflow definitions.
|
void |
setOutOfOffice(boolean isOutOfOffice)
Set the out of office status for the logged on user.
|
void |
setSubstitute(String substituteName)
Set the substitute for the logged on user.
|
finishSQLTransaction, getFulltext, getHDocForSysRowId, getIdsFromQuery, getStringQueryResult, getVersionList, readDocumentMetadata, startSQLTransaction
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, readDocumentFirst, readDocumentNext, readVersionMetadata, readVersionMetadata, releaseDocument, removeElement, removeElement, restoreVersion, saveDocument, saveDocument, setACLName, setAnnotations, setElementMark, setVariables, startTransaction, storeDocument, storeDocument, unlockNode, writeContent, writeContent, writeContent, writeContent
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
changePassword, closeSession, deleteSetting, getArchivedSize, getAuthorizedUsers, getCommitMode, getDDC, getDeleteMode, getEventsEnabled, getFeatures, getFieldDescriptions, getFieldDescriptions, getFullTextFields, getLicenseCount, getMandant, getMember, getMembers, getRealDBName, getRMIVersion, getServerInfos, getSession, getSetting, getSystemConnector, getSystemFiles, getSystemInfo, getSystemSetting, getToken, getUserIdsForQuery, getUserSetting, invoke, isAlive, isRevisionEnabled, listActiveSessions, loadDDCNames, loadFolderDDCNames, loadSettings, loadSystemFile, loadWorkflowDDCName, logoff, logon, logon, logon, newInvoke, resolveLatestHdoc, searchSettings, sendBarcode, setEventsEnabled, setLocale, setSetting, setUsedLicense, setUserSetting, storeSystemFile
public List<TaskInfo> getTaskList(int[] ids, String filter, Map<String,Object> parameter) throws SaAuthenticationException, SaSystemException
ids
- Array of ID'sfilter
- HQL filterparameter
- Filter parameterSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaRMIClientCommand.getTaskList(int[], String, java.util.Map)
public List<TaskAuditInfo> getTaskAuditList(int[] ids, String filter, Map<String,Object> parameter) throws SaAuthenticationException, SaSystemException
ids
- Array of ID'sfilter
- HQL filterparameter
- Filter parameterTaskAuditInfo
objectsSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaRMIClientCommand.getTaskAuditList(int[], String, java.util.Map)
public TaskInfo getTask(String taskID) throws SaAuthenticationException, SaSystemException
taskID
- Task SysRowIdSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaRMIClientCommand.getTask(String)
public TaskInfo getParentTask(String taskID) throws SaAuthenticationException, SaSystemException
taskID
- Task SysRowIdSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaRMIClientCommand.getParentTask(String)
public Collection<CommandInfo> getCommandInfos(String taskUID) throws SaAuthenticationException, SaSystemException
taskUID
- Task UIDSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaRMIClientCommand.getCommandInfos(String)
public Collection<CommandInfo> getCommandInfos(String taskUID, boolean transitionsOnly) throws SaAuthenticationException, SaSystemException
taskUID
- Task UIDtransitionsOnly
- if true, only transition commands will be returnedSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaRMIClientCommand.getCommandInfos(String, boolean)
public List<BoxDefinition> getBoxDefinitions() throws SaAuthenticationException, SaSystemException
SaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaRMIClientCommand.getBoxDefinitions()
public BoxCount getBoxCount(int boxId, BoxCountType type, Map<String,Object> parameters) throws SaAuthenticationException, SaSystemException
boxId
- the workflow box idtype
- type of tasks to search forparameters
- parameters needed for searchingSaAuthenticationException
- if an error occurs.SaSystemException
- if an error occurs.SaRMIClientCommand.getBoxCount(int, com.saperion.wf.BoxCountType, java.util.Map)
public String executeCommand(ContextInfo contextInfo) throws SaAuthenticationException, SaSystemException, SaWorkflowException
contextInfo
- Context infoSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaWorkflowException
- Workflow exceptionSaRMIClientCommand.executeCommand(com.saperion.intf.wf.ContextInfo)
public void addComment(String comment, String taskUID, int level) throws SaAuthenticationException, SaSystemException, SaWorkflowException
comment
- CommenttaskUID
- Task UIDlevel
- LevelSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaWorkflowException
- Workflow exceptionSaRMIClientCommand.addComment(java.lang.String,
java.lang.String, int)
public void addHistory(String description, String taskUID) throws SaAuthenticationException, SaSystemException, SaWorkflowException
description
- CommenttaskUID
- Task UIDSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaWorkflowException
- Workflow exceptionSaRMIClientCommand.addHistory(java.lang.String,
java.lang.String)
public List<CommentInfo> getCommentInfos(String taskUID) throws SaAuthenticationException, SaSystemException, SaWorkflowException
taskUID
- Task UIDSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaWorkflowException
- Workflow exceptionSaRMIClientCommand.getCommentInfos(java.lang.String)
public List<HistoryInfo> getHistoryInfos(String taskUID) throws SaAuthenticationException, SaSystemException, SaWorkflowException
taskUID
- Task UIDSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaWorkflowException
- Workflow exceptionSaRMIClientCommand.getHistoryInfos(java.lang.String)
public List<List<HistoryInfo>> getCompleteHistoryInfos(String docUID) throws SaAuthenticationException, SaSystemException, SaWorkflowException
docUID
- Document UIDSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaWorkflowException
- Workflow exceptionSaRMIClientCommand.getCompleteHistoryInfos(java.lang.String)
public List<String> getWorkflowDefinitions() throws SaAuthenticationException, SaSystemException, SaWorkflowException
SaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaWorkflowException
- Workflow exceptionSaRMIClientCommand.getWorkflowDefinitions()
public boolean getOutOfOffice() throws SaAuthenticationException, SaSystemException
SaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaRMIClientCommand.getOutOfOffice()
public String getSubstitute() throws SaAuthenticationException, SaSystemException
SaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaRMIClientCommand.getSubstitute()
public void setOutOfOffice(boolean isOutOfOffice) throws SaAuthenticationException, SaSystemException
isOutOfOffice
- True, if is OutOfOfficeSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaRMIClientCommand.setOutOfOffice(boolean)
public void setSubstitute(String substituteName) throws SaAuthenticationException, SaSystemException
substituteName
- Substitute nameSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaRMIClientCommand.setSubstitute(java.lang.String)
public List<String> getUsers(String filter) throws SaAuthenticationException, SaSystemException
filter
- FilterSaAuthenticationException
- SaAuthenticationExceptionSaSystemException
- SaSystemExceptionSaRMIClientCommand.getUsers(java.lang.String)
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.