|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISubscriptionProviderService
Interface of services that provide subscriptions to resources
| Method Summary | |
|---|---|
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 |
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 |
| Method Detail |
|---|
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 in
boolean isSubscriptionRemovable(fr.paris.lutece.portal.service.security.LuteceUser user,
String strSubscriptionKey,
String strIdSubscribedResource)
notifySubscriptionRemoval(Subscription)
of the provider of the subscription will be called
user - The userstrSubscriptionKey - The subscription keystrIdSubscribedResource - The id of the subscribed resource
String 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 resource
void notifySubscriptionRemoval(Subscription subscription)
subscription - The removed subscription
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||