public interface WFMSessionService700Soap
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
void |
cancelRequest(java.lang.String requestID)
Allows you to cancel asynchronous request.
|
void |
closeRequest(java.lang.String requestID)
Session service provides only a common method to close already opened asynchronous request.
|
void |
closeSession()
Closes the previously opened session.
|
void |
closeSnapshot(java.lang.String snapshotID)
Session service provides only a common method to close already opened snapshot.
|
int |
getRequestProgress(java.lang.String requestID)
Returns progress of asynchronous request expressed in percentage (0 - 100%)
|
boolean |
getRequestResult(java.lang.String requestID)
Session service provides only a common method to check for result of completion of asynchronous request.
|
RequestStatus |
getRequestStatus(java.lang.String requestID)
Returns status of asynchronous request.
|
SessionInfo |
openSession(java.lang.String appName,
int userID)
The method opens session on server (WFM Main Server, WFM DA, WFM Builder or WFM Reporting) for calling client.
|
SessionInfo |
openSessionLogin(java.lang.String appName,
java.lang.String userName,
java.lang.String userPassword)
The difference between 'OpenSession' and 'OpenSessionLogin' is that client is not required to know DBID of its CME application to open the session.
|
void |
pingSession()
Sends "keep alive" signal for the specified session as the session is going to be closed by the server, when there is no client activity with the session for a pre-set amount of time.
|
SessionInfo openSession(java.lang.String appName, int userID) throws java.rmi.RemoteException
appName
- The unique name of client's CME application object.userID
- DBID of Person object in CME. It could be either suoervisor's or agent's ID. Note, that WFM security subsystem applies only to supervisors. If userID = 0, then user will not be associated with this session and data security will not be applied.
Hint: userID can be passed as a negative value indicating that its absolute value designates an agent and not a supervisor, which eliminates need to check supervisor/agent dependency and speeds up the login.java.rmi.RemoteException
SessionInfo openSessionLogin(java.lang.String appName, java.lang.String userName, java.lang.String userPassword) throws java.rmi.RemoteException
appName
- The unique name of client's CME application object.userName
- there should be a Person object in CME with this username. If user is synchronized with WFM DB security subsystem, security rights will be applied. Otherwise, session will be established without applying security rightsuserPassword
- it should match the password of Person in CME, which is identified by 'userName' parameter.openSession
.java.rmi.RemoteException
void closeSession() throws java.rmi.RemoteException
java.rmi.RemoteException
void pingSession() throws java.rmi.RemoteException
java.rmi.RemoteException
void closeSnapshot(java.lang.String snapshotID) throws java.rmi.RemoteException
snapshotID
- Snapshot IDjava.rmi.RemoteException
void closeRequest(java.lang.String requestID) throws java.rmi.RemoteException
requestID
- Request IDjava.rmi.RemoteException
boolean getRequestResult(java.lang.String requestID) throws java.rmi.RemoteException
requestID
- Request IDjava.rmi.RemoteException
int getRequestProgress(java.lang.String requestID) throws java.rmi.RemoteException
requestID
- Request IDjava.rmi.RemoteException
RequestStatus getRequestStatus(java.lang.String requestID) throws java.rmi.RemoteException
requestID
- Request IDjava.rmi.RemoteException
void cancelRequest(java.lang.String requestID) throws java.rmi.RemoteException
requestID
- Request IDjava.rmi.RemoteException
Copyright © 2005-2016 Genesys Telecommunications Labs, Inc. All Rights Reserved.