public class TimesTenHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TimesTenHelper.BroadWorksAuthenticationInformation
A POJO to store BroadWorksAuthenticatonInformation for a User.
|
class |
TimesTenHelper.VoicePortalPasscodeDetails |
| Constructor and Description |
|---|
TimesTenHelper(co.ecg.alpaca.toolkit.model.BroadWorksServer bws) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAnnouncementURL(co.ecg.alpaca.toolkit.generated.User user,
String announcementName)
Method to get the URL for for a User Announcement file.
|
String |
getBroadWorksPasswordForUser(co.ecg.alpaca.toolkit.generated.User user)
Method to retrieve the BroadWorks Password for the given
User. |
Credentials |
getDeviceCredentials(co.ecg.alpaca.toolkit.generated.AccessDevice accessDevice)
Method to retrieve the
Credentials for the given
AccessDevice |
Credentials |
getDeviceTypeCredentials(co.ecg.alpaca.toolkit.generated.AccessDevice accessDevice)
Method to retrieve the
Credentials for the given
AccessDevice device type. |
List<SavedMessageRow> |
getSavedVoicemails(co.ecg.alpaca.toolkit.generated.User user)
Method to retrieve the Voice Messaging saved messages for the given
User. |
HashMap<String,String> |
getUserAuthenticationInformation(co.ecg.alpaca.toolkit.generated.User user)
Method to retrieve the service information rows related to the
Authentication service for a
User |
Credentials |
getVoiceMessagingGroupMailServerCredentialsForUser(co.ecg.alpaca.toolkit.generated.User user)
Retrieves the VoiceMessaging Group MailServer credentials for a given
User
|
Credentials |
getVoiceMessagingPersonalMailServerCredentialsForUser(co.ecg.alpaca.toolkit.generated.User user)
Retrieves the VoiceMessaging Personal MailServer credentials for a given
User
|
String |
getVoicePortalPasscodeForUser(co.ecg.alpaca.toolkit.generated.User user)
Method to retrieve the Voice Portal Passcode for the given
User. |
TimesTenHelper.VoicePortalPasscodeDetails |
getVoicePortalPasswordDetails(co.ecg.alpaca.toolkit.generated.User user)
Method to retrieve the Voice Portal Passcode for the given
User. |
void |
setAutoLoginFlags(co.ecg.alpaca.toolkit.generated.User user)
Method to toggle the Voice Portal and Web Portal to login without
requesting a password change.
|
void |
setDeviceProfileCredentials(co.ecg.alpaca.toolkit.generated.AccessDevice accessDevice,
Credentials accessDeviceCredentials)
Method to set the
AccessDevice profile credentials |
void |
setHashedBroadWorksPasswordForUser(co.ecg.alpaca.toolkit.generated.User user,
String hashedPassword)
Method to set the
User Broadworks password. |
void |
setUserAuthenticationInformation(co.ecg.alpaca.toolkit.generated.User user,
HashMap<String,String> authenticationRows)
Method to update existing user Authentication rows with a previously
retrieved map of authentication rows
|
void |
setVoicePortalPasscodeForUser(co.ecg.alpaca.toolkit.generated.User user,
String voicePortalPasscode)
Method to set the
User voice portal passcode. |
public TimesTenHelper(co.ecg.alpaca.toolkit.model.BroadWorksServer bws)
throws HelperException
HelperExceptionpublic String getAnnouncementURL(co.ecg.alpaca.toolkit.generated.User user, String announcementName) throws HelperException
user - The User that the announcement belongsannouncementName - The name of the announcement fileHelperExceptionUserpublic String getBroadWorksPasswordForUser(co.ecg.alpaca.toolkit.generated.User user) throws HelperException
User.user - The User to retrieve the BroadWorks passwordHelperExceptionUserpublic Credentials getDeviceCredentials(co.ecg.alpaca.toolkit.generated.AccessDevice accessDevice) throws HelperException
Credentials for the given
AccessDeviceaccessDevice - The AccessDevice to retrieveHelperExceptionAccessDevicepublic Credentials getDeviceTypeCredentials(co.ecg.alpaca.toolkit.generated.AccessDevice accessDevice) throws HelperException
Credentials for the given
AccessDevice device type. This does not retrieve the credentials
for the device profile.accessDevice - The AccessDevice to retrieveHelperExceptionAccessDevicepublic List<SavedMessageRow> getSavedVoicemails(co.ecg.alpaca.toolkit.generated.User user) throws HelperException
User.user - The User to retrieve the saved VoicemailsHelperExceptionUserpublic HashMap<String,String> getUserAuthenticationInformation(co.ecg.alpaca.toolkit.generated.User user) throws HelperException
Useruser - The User to retrieveHelperExceptionpublic Credentials getVoiceMessagingGroupMailServerCredentialsForUser(co.ecg.alpaca.toolkit.generated.User user) throws HelperException
user - The user to retrieveHelperExceptionpublic Credentials getVoiceMessagingPersonalMailServerCredentialsForUser(co.ecg.alpaca.toolkit.generated.User user) throws HelperException
user - The user to retrieveHelperExceptionpublic String getVoicePortalPasscodeForUser(co.ecg.alpaca.toolkit.generated.User user) throws HelperException
User.user - The User to retrieve the voice portal passcodeHelperExceptionUserpublic void setAutoLoginFlags(co.ecg.alpaca.toolkit.generated.User user)
throws HelperException
user - The User to modifyHelperExceptionUserpublic void setDeviceProfileCredentials(co.ecg.alpaca.toolkit.generated.AccessDevice accessDevice,
Credentials accessDeviceCredentials)
throws HelperException
AccessDevice profile credentialsaccessDevice - The AccessDevice to modifyaccessDeviceCredentials - The credentials to setHelperExceptionUserpublic void setHashedBroadWorksPasswordForUser(co.ecg.alpaca.toolkit.generated.User user,
String hashedPassword)
throws HelperException
User Broadworks password. This password must be
already hashed.user - The User to modifyhashedPassword - The hashed password to setHelperExceptionUserpublic void setUserAuthenticationInformation(co.ecg.alpaca.toolkit.generated.User user,
HashMap<String,String> authenticationRows)
throws HelperException
user - The user to modifyauthenticationRows - The map of authentication row informationHelperExceptionpublic void setVoicePortalPasscodeForUser(co.ecg.alpaca.toolkit.generated.User user,
String voicePortalPasscode)
throws HelperException
User voice portal passcode.user - The User to modifyvoicePortalPasscode - The passcode to setHelperExceptionUserpublic TimesTenHelper.VoicePortalPasscodeDetails getVoicePortalPasswordDetails(co.ecg.alpaca.toolkit.generated.User user) throws HelperException
User.user - The User to retrieve the voice portal passcodeHelperExceptionUserCopyright © 2016. All rights reserved.