public interface IProvider
This interface represents a provider for a specific type of resource. A provider consists of providing certain data from the resource. These actual data of
the resource are needed when the Notification is send.
A Notification is linked to a Demand. A Demand can have several notifications.
| Modifier and Type | Method and Description |
|---|---|
String |
provideCustomerConnectionId()
Provides the connection id of the customer.
|
String |
provideCustomerEmail()
Provides the customer email.
|
String |
provideCustomerId()
Provides the id of the customer.
|
String |
provideCustomerMobilePhone()
Provides the mobile phone number of the customer.
|
String |
provideDemandId()
Provides the id of the demand containing the notification to send.
|
String |
provideDemandReference()
Provides the demand reference.
|
String |
provideDemandSubtypeId()
Provides the subtype id of the demand containing the notification to send.
|
String |
provideDemandTypeId()
Provides the type id of the demand containing the notification to send.
|
Collection<NotifyGruMarker> |
provideMarkerValues()
Provides the values of the markers.
|
String |
provideSmsSender()
Provides the sender of the SMS
|
String provideDemandId()
Provides the id of the demand containing the notification to send.
This id usually corresponds the id of the resource.
This id is part of the primary key of the demand. Mandatory.
String provideDemandTypeId()
Provides the type id of the demand containing the notification to send.
This id is unique for each teleservice. It is defined by the GRU administrator.
This id is part of the primary key of the demand. Mandatory.
String provideDemandSubtypeId()
Provides the subtype id of the demand containing the notification to send.
This id can be used to distinct demand type into a teleservice
Can be null
String provideDemandReference()
Provides the demand reference.
The demand reference is the reference sent to the customer in order to follow the treatment of the demand. Mandatory.
String provideCustomerConnectionId()
Provides the connection id of the customer.
This id usually corresponds to the GUID provided by OpenAM.
To show the notification in MyDashboard space of the customer, either the connection id or the customer id must be provided.
String provideCustomerId()
Provides the id of the customer.
This id corresponds to the internal id of the GRU. DO NOT provide the customer connection id in this method.
To show the notification in MyDashboard space of the customer, either the connection id or the customer id must be provided. If provided, this id prevails over the customer connection id.
String provideCustomerEmail()
Provides the customer email.
This email address is used to send a notification by email. DO NOT provide an email which does not correspond to the customer email. Mandatory
String provideCustomerMobilePhone()
Provides the mobile phone number of the customer.
This phone number is used to send a notification by SMS. DO NOT provide a phone number which does not correspond to the customer phone number.
Only used if a SMS notification has been configured in the Notify GRU task.
String provideSmsSender()
Provides the sender of the SMS
This sender is used to send a notification by SMS.
Only used if a SMS notification has been configured in the Notify GRU task.
Collection<NotifyGruMarker> provideMarkerValues()
Provides the values of the markers.
This method is used to replace the markers by the actual values of the resource when the notification id send.
Copyright © 2018 City of Paris. All rights reserved.