public class UnifiedMessagingService
extends java.lang.Object
| Constructor and Description |
|---|
UnifiedMessagingService()
Instantiates a new unified messaging service.
|
UnifiedMessagingService(java.lang.String url)
Instantiates a new unified messaging service.
|
UnifiedMessagingService(java.lang.String url,
java.lang.String username,
java.lang.String password)
Instantiates a new unified messaging service.
|
UnifiedMessagingService(java.lang.String url,
java.lang.String username,
java.lang.String password,
java.lang.String domain)
Instantiates a new unified messaging service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect(java.lang.String callId)
Disconnect.
|
CallInfo |
getCallInfo(java.lang.String callId)
Gets the call info.
|
org.apache.http.conn.HttpClientConnectionManager |
getClientConnectionManager()
Gets connection manager.
|
int |
getConnectTimeout()
Returns setting for connect timeout.
|
java.lang.String |
getDomain()
Gets user's domain.
|
Identity |
getExchangeImpersonation()
Gets the ID of the user that Exchange Web Services (EWS) should impersonate.
|
java.net.Proxy |
getHttpURLConnectionProxy()
Gets HttpURLConnection proxy server.
|
java.lang.String |
getMailboxCulture()
Gets the mailbox culture that is used when opening a mailbox.
|
java.lang.String |
getPassword()
Gets user's password.
|
org.apache.http.HttpHost |
getProxy()
Gets HttpClient proxy.
|
org.apache.http.auth.Credentials |
getProxyCredentials()
Gets proxy credentials.
|
int |
getReadTimeout()
Returns setting for read timeout.
|
org.apache.http.client.config.RequestConfig |
getRequestConfig()
Gets request configuration.
|
RequestServerVersion |
getRequestServerVersion()
Gets the versioning information that identifies the schema version to target for a request.
|
UnifiedMessagingProperties |
getUnifiedMessagingProperties()
Gets the unified messaging properties.
|
java.lang.String |
getUrl()
Gets URL of Exchange Web Services.
|
java.lang.String |
getUsername()
Gets username.
|
boolean |
isUnifiedMessagingEnabled()
Checks if is unified messaging enabled.
|
java.lang.String |
playOnPhone(java.lang.String entryId,
java.lang.String dialString)
Play on phone.
|
java.lang.String |
playOnPhoneGreeting(GreetingType greetingType,
java.lang.String dialString)
Play on phone greeting.
|
void |
resetPin()
Reset pin.
|
void |
setClientConnectionManager(org.apache.http.conn.HttpClientConnectionManager connectionManager)
Sets connection manager.
|
void |
setConnectTimeout(int connectTimeout)
Sets the specified timeout value, in milliseconds, to be used when opening a communications link to the resource referenced by the HttpURLConnection.
|
void |
setDomain(java.lang.String domain)
Sets user's domain.
|
void |
setExchangeImpersonation(Identity identity)
Sets the ID of the user that Exchange Web Services (EWS) should impersonate.
|
void |
setHttpURLConnection(boolean useHttpURLConnection)
Sets the http url connection.
|
void |
setHttpURLConnectionProxy(java.net.Proxy httpURLConnectionProxy)
Sets HttpURLConnection proxy server.
|
void |
setMailboxCulture(java.lang.String mailboxCulture)
Sets the mailbox culture that is used when opening a mailbox.
|
void |
setMissedCallNotification(boolean enable)
Sets the missed call notification.
|
void |
setOutOfOffice(boolean enable)
Sets the out of office.
|
void |
setPassword(java.lang.String password)
Sets user's password.
|
void |
setPlayOnPhoneDialString(java.lang.String dialString)
Sets the play on phone dial string.
|
void |
setProxy(org.apache.http.HttpHost proxy)
Sets HttpClient proxy.
|
void |
setProxyCredentials(org.apache.http.auth.Credentials proxyCredentials)
Sets proxy credentials.
|
void |
setReadTimeout(int readTimeout)
Sets the read timeout to the specified timeout, in milliseconds.
|
void |
setRequestConfig(org.apache.http.client.config.RequestConfig requestConfig)
Sets request configuration.
|
void |
setRequestServerVersion(RequestServerVersion requestServerVersion)
Sets the versioning information that identifies the schema version to target for a request.
|
void |
setTelephoneAccessFolderEmail(java.lang.String folderId)
Sets the telephone access folder email.
|
void |
setUrl(java.lang.String url)
Sets URL of Exchange Web Services.
|
void |
setUsername(java.lang.String username)
Sets username.
|
public UnifiedMessagingService()
public UnifiedMessagingService(java.lang.String url)
url - the urlpublic UnifiedMessagingService(java.lang.String url,
java.lang.String username,
java.lang.String password)
url - the urlusername - the usernamepassword - the passwordpublic UnifiedMessagingService(java.lang.String url,
java.lang.String username,
java.lang.String password,
java.lang.String domain)
url - the urlusername - the usernamepassword - the passworddomain - the domainpublic UnifiedMessagingProperties getUnifiedMessagingProperties() throws ServiceException
ServiceException - the service exceptionpublic java.lang.String playOnPhone(java.lang.String entryId,
java.lang.String dialString)
throws ServiceException
entryId - the entry iddialString - the dial stringServiceException - the service exceptionpublic java.lang.String playOnPhoneGreeting(GreetingType greetingType, java.lang.String dialString) throws ServiceException
greetingType - the greeting typedialString - the dial stringServiceException - the service exceptionpublic void setPlayOnPhoneDialString(java.lang.String dialString)
throws ServiceException
dialString - the new play on phone dial stringServiceException - the service exceptionpublic void setTelephoneAccessFolderEmail(java.lang.String folderId)
throws ServiceException
folderId - the new telephone access folder emailServiceException - the service exceptionpublic void disconnect(java.lang.String callId)
throws ServiceException
callId - the call idServiceException - the service exceptionpublic CallInfo getCallInfo(java.lang.String callId) throws ServiceException
callId - the call idServiceException - the service exceptionpublic void setOutOfOffice(boolean enable)
throws ServiceException
enable - the new out of officeServiceException - the service exceptionpublic void setMissedCallNotification(boolean enable)
throws ServiceException
enable - the new missed call notificationServiceException - the service exceptionpublic boolean isUnifiedMessagingEnabled()
throws ServiceException
ServiceException - the service exceptionpublic void resetPin()
throws ServiceException
ServiceException - the service exceptionpublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url - the new urlpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username - the new usernamepublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - the new passwordpublic java.lang.String getDomain()
public void setDomain(java.lang.String domain)
domain - the new domainpublic java.lang.String getMailboxCulture()
public void setMailboxCulture(java.lang.String mailboxCulture)
mailboxCulture - the new mailbox culturepublic Identity getExchangeImpersonation()
public void setExchangeImpersonation(Identity identity)
identity - the new exchange impersonationpublic RequestServerVersion getRequestServerVersion()
public void setRequestServerVersion(RequestServerVersion requestServerVersion)
requestServerVersion - the new request server versionpublic java.net.Proxy getHttpURLConnectionProxy()
public void setHttpURLConnectionProxy(java.net.Proxy httpURLConnectionProxy)
httpURLConnectionProxy - the new http url connection proxypublic org.apache.http.HttpHost getProxy()
public void setProxy(org.apache.http.HttpHost proxy)
proxy - the new proxypublic org.apache.http.auth.Credentials getProxyCredentials()
public void setProxyCredentials(org.apache.http.auth.Credentials proxyCredentials)
proxyCredentials - the new proxy credentialspublic org.apache.http.conn.HttpClientConnectionManager getClientConnectionManager()
public void setClientConnectionManager(org.apache.http.conn.HttpClientConnectionManager connectionManager)
connectionManager - the new client connection managerpublic org.apache.http.client.config.RequestConfig getRequestConfig()
public void setRequestConfig(org.apache.http.client.config.RequestConfig requestConfig)
requestConfig - the request configurationpublic void setHttpURLConnection(boolean useHttpURLConnection)
useHttpURLConnection - the new http url connectionpublic void setConnectTimeout(int connectTimeout)
connectTimeout - the new connect timeoutpublic int getConnectTimeout()
public void setReadTimeout(int readTimeout)
readTimeout - the new read timeoutpublic int getReadTimeout()