Interface SubscriptionBeanService
-
- All Known Implementing Classes:
AbstractSubscriptionBeanService
,CalendarSubscriptionBeanService
,DefaultSubscriptionBeanService
,PublicationSubscriptionBeanService
public interface SubscriptionBeanService
This interface defines some services for which it exists one default implementations and potentially one perSubscriptionResourceType
instances.- Author:
- silveryocha
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getSubscriptionTypeListLabel(SubscriptionResourceType type, String language)
Gets the label of a list of the givenSubscriptionResourceType
instance.List<AbstractSubscriptionBean>
toSubscriptionBean(Collection<Subscription> subscriptions, String language)
Gets the list of subscription of a user.
-
-
-
Method Detail
-
getSubscriptionTypeListLabel
String getSubscriptionTypeListLabel(SubscriptionResourceType type, String language)
Gets the label of a list of the givenSubscriptionResourceType
instance.- Parameters:
type
- a type of subscription.language
- the aimed language.- Returns:
- the label
-
toSubscriptionBean
List<AbstractSubscriptionBean> toSubscriptionBean(Collection<Subscription> subscriptions, String language)
Gets the list of subscription of a user.- Parameters:
subscriptions
- the subscriptions to convert.language
- the aimed language.- Returns:
- a list of
AbstractSubscriptionBean
.
-
-