Class NotificationService
java.lang.Object
oracle.bpel.services.notification.NotificationService
- Since:
- release specific (what release of product did this appear in)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ElementgetChildElement(Element parent, String childElementName) DescribegetChildElementmethod here.static ServiceStatusgets notification statusstatic IArrayOfResponseTypesendEmailNotification(String caller, String taskId, IEmailPayloadType payload) Sends Email Notificationstatic IArrayOfResponseTypesendEmailNotification(IEmailPayloadType payload) Sends Email Notificationstatic IArrayOfResponseTypesendFaxNotification(String caller, String taskId, IFaxPayloadType payload) Sends Fax Notificationstatic IArrayOfResponseTypesendFaxNotification(IFaxPayloadType payload) Sends Fax Notificationstatic IArrayOfResponseTypesendIMNotification(String caller, String taskId, IIMPayloadType payload) Sends IM Notificationstatic IArrayOfResponseTypesendIMNotification(IIMPayloadType payload) Sends IM Notificationstatic IArrayOfResponseTypesendNotifications(String[] userIds, String[] groupIds, String caller, String taskId, IGenericPayloadType genericPayload) static IArrayOfResponseTypesendNotificationToGroup(String caller, String taskId, IGroupNotificationPayloadType payload) Sends notification to a Groupstatic IArrayOfResponseTypeSends notification to a Groupstatic IArrayOfResponseTypesendNotificationToUser(String caller, String taskId, IUserNotificationPayloadType payload) Sends notification to a userstatic IArrayOfResponseTypeSends notification to a userstatic IArrayOfResponseTypesendPagerNotification(String caller, String taskId, IPagerPayloadType payload) Sends pager Notificationstatic IArrayOfResponseTypesendPagerNotification(IPagerPayloadType payload) Sends pager Notificationstatic IArrayOfResponseTypesendSMSNotification(String caller, String taskId, ISMSPayloadType payload) Sends SMS Notificationstatic IArrayOfResponseTypesendSMSNotification(ISMSPayloadType payload) Sends SMS Notificationstatic IArrayOfResponseTypesendURINotification(String caller, String taskId, IURIPayloadType payload) Sends URI Notificationstatic IArrayOfResponseTypesendURINotification(IURIPayloadType payload) Sends URI Notificationstatic IArrayOfResponseTypesendVoiceNotification(String caller, String taskId, IVoicePayloadType payload) Sends Voice Notificationstatic IArrayOfResponseTypesendVoiceNotification(IVoicePayloadType payload) Sends Voice Notificationstatic voidshutdown()Stops Notification Servicestatic voidstartup()Starts the timer agent, to schedule error notification retry.
-
Constructor Details
-
NotificationService
public NotificationService()
-
-
Method Details
-
startup
public static void startup()Starts the timer agent, to schedule error notification retry. -
shutdown
public static void shutdown()Stops Notification Service -
getStatus
gets notification status -
sendIMNotification
public static IArrayOfResponseType sendIMNotification(IIMPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends IM Notification- Parameters:
payload- details of the fax message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendIMNotification
public static IArrayOfResponseType sendIMNotification(String caller, String taskId, IIMPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends IM Notification- Parameters:
payload- details of the fax message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendFaxNotification
public static IArrayOfResponseType sendFaxNotification(IFaxPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends Fax Notification- Parameters:
payload- details of the fax message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendFaxNotification
public static IArrayOfResponseType sendFaxNotification(String caller, String taskId, IFaxPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends Fax Notification- Parameters:
payload- details of the fax message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendVoiceNotification
public static IArrayOfResponseType sendVoiceNotification(IVoicePayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends Voice Notification- Parameters:
payload- details of the voice message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendVoiceNotification
public static IArrayOfResponseType sendVoiceNotification(String caller, String taskId, IVoicePayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends Voice Notification- Parameters:
payload- details of the voice message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendSMSNotification
public static IArrayOfResponseType sendSMSNotification(ISMSPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends SMS Notification- Parameters:
payload- details of the sms message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendSMSNotification
public static IArrayOfResponseType sendSMSNotification(String caller, String taskId, ISMSPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends SMS Notification- Parameters:
payload- details of the sms message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendPagerNotification
public static IArrayOfResponseType sendPagerNotification(IPagerPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends pager Notification- Parameters:
payload- details of the pager message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendPagerNotification
public static IArrayOfResponseType sendPagerNotification(String caller, String taskId, IPagerPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends pager Notification- Parameters:
payload- details of the pager message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendURINotification
public static IArrayOfResponseType sendURINotification(IURIPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends URI Notification- Parameters:
payload- details of the URI message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendURINotification
public static IArrayOfResponseType sendURINotification(String caller, String taskId, IURIPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends URI Notification- Parameters:
payload- details of the URI message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendNotificationToUser
public static IArrayOfResponseType sendNotificationToUser(IUserNotificationPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends notification to a user- Parameters:
payload- details of the user message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendNotificationToUser
public static IArrayOfResponseType sendNotificationToUser(String caller, String taskId, IUserNotificationPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends notification to a user- Parameters:
payload- details of the user message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendNotificationToGroup
public static IArrayOfResponseType sendNotificationToGroup(IGroupNotificationPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends notification to a Group- Parameters:
payload- details of the group message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendNotificationToGroup
public static IArrayOfResponseType sendNotificationToGroup(String caller, String taskId, IGroupNotificationPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends notification to a Group- Parameters:
payload- details of the group message- Returns:
- Array of IResponse objects which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendNotifications
public static IArrayOfResponseType sendNotifications(String[] userIds, String[] groupIds, String caller, String taskId, IGenericPayloadType genericPayload) throws oracle.bpel.services.notification.NotificationServiceException - Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendEmailNotification
public static IArrayOfResponseType sendEmailNotification(IEmailPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends Email Notification- Parameters:
payload- details of the e-mail message- Returns:
- IResponse object which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
sendEmailNotification
public static IArrayOfResponseType sendEmailNotification(String caller, String taskId, IEmailPayloadType payload) throws oracle.bpel.services.notification.NotificationServiceException Sends Email Notification- Parameters:
payload- details of the e-mail message- Returns:
- IResponse object which can be used to track the status of the notification
- Throws:
oracle.bpel.services.notification.NotificationServiceException
-
getChildElement
DescribegetChildElementmethod here.- Parameters:
parent- anElementvaluechildElementName- aStringvalue- Returns:
- an
Elementvalue - Throws:
Exception- if an error occurs
-