public class

JanrainEngageClientImpl

extends JanrainClientImpl
implements JanrainEngageClient
java.lang.Object
   ↳ org.mule.modules.janrain.client.JanrainClientImpl
     ↳ org.mule.modules.janrain.client.JanrainEngageClientImpl

Summary

Constants
String API_ENGAGE_URL
[Expand]
Inherited Fields
From class org.mule.modules.janrain.client.JanrainClientImpl
Public Constructors
JanrainEngageClientImpl(String appName, String appId, String apiKey, Client jerseyClient, Gson gson)
Public Methods
boolean activity(String activity, String identifier, String deviceToken, Boolean truncate, Boolean prependName, String urlShortening, String source)
boolean addDomainPatterns(String domains)
boolean addOrUpdateAccessToken(String token, String identifier)
String allMappings()
Map<String, String> analyticsAccess(String start, String end)
UserInfo authInfo(String token, Boolean extended, String tokenURL)
AuthInfos authInfos(String tokens, Boolean extended)
Broadcast broadcast(String identifier, String deviceToken, String title, String url, String source, String message, String description, String image, String media, String actionLink, String objectId)
Direct direct(String identifier, String deviceToken, String title, String url, String recipients, String source, String message, String description, String image, String media, String actionLink, String recipientUrls)
Map<String, String> getAppSettings()
AvailableProviders getAvailableProviders()
Backplane getBackplaneProperties()
Contacts getContacts(String identifier, String contactType, Boolean existingUser)
DomainPatterns getDomainPatterns()
String getShareCount(String url, String callback)
ShareProviders getShareProviders()
UserInfo getUserData(String identifier, Boolean extended)
Plugin lookupRp(String pluginName, String pluginVersion)
boolean map(String identifier, String primaryKey, Boolean overwrite)
Identifiers mappings(String primaryKey)
WidgetProviders providers()
boolean setAppSettings(String privacyPolicy, String favicon, String domainRedirect, Boolean postToTokenUrl, Boolean oneTimeUseTokens, Boolean googleProfileUrl)
boolean setAuthProviders(String providers, String deviceType)
boolean setBackplaneProperties(String server, String bus, String version, Boolean remove, String username, String password)
boolean setDomainPatterns(String domains)
boolean setShareProviders(String share, String email)
boolean setStatus(String identifier, String status, String location, Boolean truncate, String source)
boolean unmap(String identifier, Boolean allIdentifiers, String primaryKey, Boolean unlink)
[Expand]
Inherited Methods
From class org.mule.modules.janrain.client.JanrainClientImpl
From class java.lang.Object
From interface org.mule.modules.janrain.client.JanrainEngageClient

Constants

private static final String API_ENGAGE_URL

Constant Value: ".rpxnow.com/api/v2/"

Public Constructors

public JanrainEngageClientImpl (String appName, String appId, String apiKey, Client jerseyClient, Gson gson)

Parameters
appName
appId
apiKey
jerseyClient
gson

Public Methods

public boolean activity (String activity, String identifier, String deviceToken, Boolean truncate, Boolean prependName, String urlShortening, String source)

Parameters
activity
identifier
deviceToken
truncate
prependName
urlShortening
source

public boolean addDomainPatterns (String domains)

Parameters
domains

public boolean addOrUpdateAccessToken (String token, String identifier)

Parameters
token
identifier

public String allMappings ()

public Map<String, String> analyticsAccess (String start, String end)

Parameters
start
end

public UserInfo authInfo (String token, Boolean extended, String tokenURL)

Parameters
token
extended
tokenURL

public AuthInfos authInfos (String tokens, Boolean extended)

Parameters
tokens
extended

public Broadcast broadcast (String identifier, String deviceToken, String title, String url, String source, String message, String description, String image, String media, String actionLink, String objectId)

Parameters
identifier
deviceToken
title
url
source
message
description
image
media
actionLink
objectId

public Direct direct (String identifier, String deviceToken, String title, String url, String recipients, String source, String message, String description, String image, String media, String actionLink, String recipientUrls)

Parameters
identifier
deviceToken
title
url
recipients
source
message
description
image
media
actionLink
recipientUrls

public Map<String, String> getAppSettings ()

public AvailableProviders getAvailableProviders ()

public Backplane getBackplaneProperties ()

public Contacts getContacts (String identifier, String contactType, Boolean existingUser)

Parameters
identifier
contactType
existingUser

public DomainPatterns getDomainPatterns ()

public String getShareCount (String url, String callback)

Parameters
url
callback

public ShareProviders getShareProviders ()

public UserInfo getUserData (String identifier, Boolean extended)

Parameters
identifier
extended

public Plugin lookupRp (String pluginName, String pluginVersion)

Parameters
pluginName
pluginVersion

public boolean map (String identifier, String primaryKey, Boolean overwrite)

Parameters
identifier
primaryKey
overwrite

public Identifiers mappings (String primaryKey)

Parameters
primaryKey

public WidgetProviders providers ()

public boolean setAppSettings (String privacyPolicy, String favicon, String domainRedirect, Boolean postToTokenUrl, Boolean oneTimeUseTokens, Boolean googleProfileUrl)

Parameters
privacyPolicy
favicon
domainRedirect
postToTokenUrl
oneTimeUseTokens
googleProfileUrl

public boolean setAuthProviders (String providers, String deviceType)

Parameters
providers
deviceType

public boolean setBackplaneProperties (String server, String bus, String version, Boolean remove, String username, String password)

Parameters
server
bus
version
remove
username
password

public boolean setDomainPatterns (String domains)

Parameters
domains

public boolean setShareProviders (String share, String email)

Parameters
share
email

public boolean setStatus (String identifier, String status, String location, Boolean truncate, String source)

Parameters
identifier
status
location
truncate
source

public boolean unmap (String identifier, Boolean allIdentifiers, String primaryKey, Boolean unlink)

Parameters
identifier
allIdentifiers
primaryKey
unlink