public class

NotificationModule

extends AbstractWorkdayModule
java.lang.Object
   ↳ org.mule.modules.workday.AbstractWorkdayModule
     ↳ org.mule.modules.workday.notification.NotificationModule
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

The Notification Web Service provides an operation that informs external systems of business events that occur within Workday. The WSDL for this service provides the structure that needs to be implemented by an external system to receive notifications for their subscribed Workday business events. Subscriptions and Notification details (i.e. Endpoint and security information) are defined within the Workday application.

Summary

Fields
private NotificationPort client The client, mainly for mocking purposes.
private String username The Workday account's username
Public Constructors
NotificationModule()
Public Methods
void connect(String notificationUser, String notificationPassword, String notificationEndpoint, String notificationWsdlLocation)
Connects to Workday
void disconnect()
Disconnects
NotificationPort getClient()
String getConnectionIdentifier()
Connection identifier
String getUsername()
NotificationDataRootType receiveNotification(NotificationDataRootType notificationData)
Receives notification from Workday
void setClient(NotificationPort client)
void setClient(Object client)
void setUsername(String username)
boolean validateConnection()
Validate connection
[Expand]
Inherited Methods
From class org.mule.modules.workday.AbstractWorkdayModule
From class java.lang.Object

Fields

private NotificationPort client

The client, mainly for mocking purposes. *

private String username

The Workday account's username

Public Constructors

public NotificationModule ()

Public Methods

public void connect (String notificationUser, String notificationPassword, String notificationEndpoint, String notificationWsdlLocation)

Connects to Workday

Parameters
notificationUser Workday user
notificationPassword Workday password
notificationEndpoint Workday endpoint
notificationWsdlLocation Workday WSDL location
Throws
ConnectionException

public void disconnect ()

Disconnects

public NotificationPort getClient ()

public String getConnectionIdentifier ()

Connection identifier

Returns
  • connection identifier

public String getUsername ()

public NotificationDataRootType receiveNotification (NotificationDataRootType notificationData)

Receives notification from Workday

Parameters
notificationData Request element
Returns
  • notificationData request
Throws
WorkdayException If an error during the operation occurs this exception is thrown

public void setClient (NotificationPort client)

Parameters
client

public void setClient (Object client)

Parameters
client

public void setUsername (String username)

Parameters
username

public boolean validateConnection ()

Validate connection

Returns
  • true if the connector is connected