Class BroadcastChannelHelper
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.pagesubscription.BroadcastChannelHelper
- All Implemented Interfaces:
 LogEnabled,Component,Serviceable
Helper for broadcast channel
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe broadcast channel of the subscription - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static CurrentUserProviderThe current user providerprotected static UserManagerThe user manager - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic I18nizableTextgetLabel(BroadcastChannelHelper.BroadcastChannel broadcastChannel) Get the label of the broadcast channelstatic I18nizableTextgetSmartLabel(BroadcastChannelHelper.BroadcastChannel broadcastChannel) Get the smart label of the broadcast channelvoidservice(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger 
- 
Field Details
- 
_currentUserProvider
The current user provider - 
_userManager
The user manager 
 - 
 - 
Constructor Details
- 
BroadcastChannelHelper
public BroadcastChannelHelper() 
 - 
 - 
Method Details
- 
service
- Specified by:
 servicein interfaceServiceable- Throws:
 ServiceException
 - 
getLabel
Get the label of the broadcast channel- Parameters:
 broadcastChannel- the broadcast channel- Returns:
 - the broadcast channel label
 
 - 
getSmartLabel
public static I18nizableText getSmartLabel(BroadcastChannelHelper.BroadcastChannel broadcastChannel) Get the smart label of the broadcast channel- Parameters:
 broadcastChannel- the broadcast channel- Returns:
 - the broadcast channel smart label
 
 
 -