public interface ISubscriptionProviderService
| Modifier and Type | Method and Description |
|---|---|
String |
getProviderName()
Get the name of the subscription provider.
|
String |
getSubscriptionHtmlDescription(fr.paris.lutece.portal.service.security.LuteceUser user,
String strSubscriptionKey,
String strIdSubscribedResource,
Locale locale)
Get the description of a subscription by its action key and the resource
id associated with it
|
String |
getSubscriptionHtmlDescriptionBis(fr.paris.lutece.portal.service.security.LuteceUser user,
String strSubscriptionKey,
String strIdSubscribedResource,
Locale locale,
String userSub) |
String |
getUrlModifySubscription(fr.paris.lutece.portal.service.security.LuteceUser user,
String strSubscriptionKey,
String strIdSubscribedResource)
Get the URL to modify the subscription
|
boolean |
isSubscriptionRemovable(fr.paris.lutece.portal.service.security.LuteceUser user,
String strSubscriptionKey,
String strIdSubscribedResource)
Check if a subscription can be automatically removed.
|
void |
notifySubscriptionRemoval(Subscription subscription)
Notify the provider that a subscription associated with it has been
removed
|
String getProviderName()
String getSubscriptionHtmlDescription(fr.paris.lutece.portal.service.security.LuteceUser user, String strSubscriptionKey, String strIdSubscribedResource, Locale locale)
user - The userstrSubscriptionKey - The key of the subscriptionstrIdSubscribedResource - The id of the subscribed resourcelocale - The locale to display the generated HTML inString getSubscriptionHtmlDescriptionBis(fr.paris.lutece.portal.service.security.LuteceUser user, String strSubscriptionKey, String strIdSubscribedResource, Locale locale, String userSub)
boolean isSubscriptionRemovable(fr.paris.lutece.portal.service.security.LuteceUser user,
String strSubscriptionKey,
String strIdSubscribedResource)
notifySubscriptionRemoval(Subscription)
of the provider of the subscription will be calleduser - The userstrSubscriptionKey - The subscription keystrIdSubscribedResource - The id of the subscribed resourceString getUrlModifySubscription(fr.paris.lutece.portal.service.security.LuteceUser user, String strSubscriptionKey, String strIdSubscribedResource)
user - The userstrSubscriptionKey - The key of the subscriptionstrIdSubscribedResource - The id of the subscribed resourcevoid notifySubscriptionRemoval(Subscription subscription)
subscription - The removed subscriptionCopyright © 2019 City of Paris. All rights reserved.