public class UserServiceImpl
extends java.lang.Object
implements com.nortel.soa.oi.cct.userservice.UserService
This service models a User in the system
It provides methods to read attributes of the user such as Address(s), Terminal(s) etc. & also for logging on/off CCT .
Prerequisites to usage: This represents the minimal data artifacts required to successfully invoke this web service.
SsoToken
(Represents a valid CCT user session)
Operations: View WSDL
Constructor and Description |
---|
UserServiceImpl() |
public AddressResponse getAddress(GetAddressRequest parameters) throws SessionNotCreatedException, GetAddressException
getAddress
in interface com.nortel.soa.oi.cct.userservice.UserService
SessionNotCreatedException
GetAddressException
public AddressList getAddresses(GetAddressesRequest parameters) throws SessionNotCreatedException, GetAddressesException
getAddresses
in interface com.nortel.soa.oi.cct.userservice.UserService
SessionNotCreatedException
GetAddressesException
public GetAgentsResponse getAgents(SsoRequest parameters) throws SessionNotCreatedException, GetAgentsException
getAgents
in interface com.nortel.soa.oi.cct.userservice.UserService
SessionNotCreatedException
GetAgentsException
public TerminalResponse getTerminal(GetTerminalRequest parameters) throws GetTerminalException, SessionNotCreatedException
getTerminal
in interface com.nortel.soa.oi.cct.userservice.UserService
GetTerminalException
SessionNotCreatedException
public TerminalList getTerminals(GetTerminalsRequest parameters) throws SessionNotCreatedException, GetTerminalsException
getTerminals
in interface com.nortel.soa.oi.cct.userservice.UserService
SessionNotCreatedException
GetTerminalsException
public LogInToCCTServerResponse logInToCCTServer(LogInToCCTServerRequest parameters) throws LogInToCCTServerException
Operation Summary:
Logs in a CCT User and returns their session token
Sample Usage:
SOAP Request:
Sample Request
Sample Response
logInToCCTServer
in interface com.nortel.soa.oi.cct.userservice.UserService
parameters
- the LogInToCCTServerRequest
containing the credentials of the userLogInToCCTServerResponse
the SsoRequest
representing the Users new sessionLogInToCCTServerException
public void logOffFromCCTServer(LogOffFromCCTServerRequest parameters) throws SessionNotCreatedException, LogOffFromCCTServerException
Operation Summary:
Logs off a CCT Server User and invalidates their session token
Sample Usage:
SOAP Request/Response:
Sample Request
Sample Response
logOffFromCCTServer
in interface com.nortel.soa.oi.cct.userservice.UserService
parameters
- the LogOffFromCCTServerRequest
containing the SsoToken
to invalidate and hence user to LogoffSessionNotCreatedException
LogOffFromCCTServerException
public java.lang.String subscribe(java.lang.String consumerEndpoint, SsoToken ssoToken) throws com.nortel.soa.oi.cct.userservice.SubscribeFailedFault, SessionNotCreatedException
subscribe
in interface com.nortel.soa.oi.cct.userservice.UserService
com.nortel.soa.oi.cct.userservice.SubscribeFailedFault
SessionNotCreatedException
public boolean unsubscribe(java.lang.String subscriptionRef, SsoToken ssoToken) throws com.nortel.soa.oi.cct.userservice.UnsubscribeFailedFault, SessionNotCreatedException
unsubscribe
in interface com.nortel.soa.oi.cct.userservice.UserService
com.nortel.soa.oi.cct.userservice.UnsubscribeFailedFault
SessionNotCreatedException
public GetVersionResponse getVersion(GetVersionRequest parameters) throws SessionNotCreatedException, GetVersionException
getVersion
in interface com.nortel.soa.oi.cct.userservice.UserService
SessionNotCreatedException
GetVersionException
public java.lang.String getVersion() throws SessionNotCreatedException, GetVersionException
public SessionHeartbeatAndHACheckResponse sessionHeartbeatAndHACheck(SessionHeartbeatAndHACheckRequest parameters) throws SessionNotCreatedException, com.nortel.soa.oi.cct.userservice.SessionHeartbeatAndHACheckFault
sessionHeartbeatAndHACheck
in interface com.nortel.soa.oi.cct.userservice.UserService
SessionNotCreatedException
com.nortel.soa.oi.cct.userservice.SessionHeartbeatAndHACheckFault
public StartHASwitchEventListenerResponse startHASwitchEventListener(StartHASwitchEventListenerRequest parameters) throws SessionNotCreatedException, com.nortel.soa.oi.cct.userservice.StartHASwitchEventListenerFault
startHASwitchEventListener
in interface com.nortel.soa.oi.cct.userservice.UserService
SessionNotCreatedException
com.nortel.soa.oi.cct.userservice.StartHASwitchEventListenerFault
public StopHASwitchEventListenerResponse stopHASwitchEventListener(StopHASwitchEventListenerRequest parameters) throws SessionNotCreatedException, com.nortel.soa.oi.cct.userservice.StopHASwitchEventListenerFault
stopHASwitchEventListener
in interface com.nortel.soa.oi.cct.userservice.UserService
SessionNotCreatedException
com.nortel.soa.oi.cct.userservice.StopHASwitchEventListenerFault
Copyright © 2010 All Rights Reserved.