Class MemberContactChannelsManager
java.lang.Object
com.jalios.jcms.uicomponent.contactchannel.MemberContactChannelsManager
A manager to load Member contact channels from properties.
- Since:
- jcms-10.0.5 / JCMS-8481
- Author:
- Sylvain Devaux
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionLoads contact channels declared in properties.getContactChannels(String propPrefix) Loads some contact channels declared with given propPrefix in properties.static MemberContactChannelsManagerGet the manager.Loads main contact channels declared in properties.
-
Field Details
-
PROP_PREFIX
Property to declare channels for v10 and ESNPlugin member profile and core member ttCard.- Since:
- jcms-10.0.5 / JCMS-8481
- See Also:
-
MAIN_PROP_PREFIX
Property to declare channels for v11+ and new Member full display.- Since:
- jcms-11 / JCMS-11659
- See Also:
-
-
Method Details
-
getInstance
Get the manager.- Returns:
- MemberContactChannelsManager the singleton instance
- Since:
- jcms-10.0.5 / JCMS-8481
-
getContactChannels
Loads contact channels declared in properties.Used for v10 MemberProfile fullDisplay provided by ESNPlugin.
- Returns:
- a set of
MemberContactChannel, empty set if ESNPlugin is not active. - Since:
- jcms-10.0.5 / JCMS-8481
- See Also:
-
getMainContactChannels
Loads main contact channels declared in properties.Used for v11 Member fullDisplay provided by JPlatform.
- Returns:
- a set of
MemberContactChannel - Since:
- jcms-11 / JCMS-11659
- See Also:
-
getContactChannels
Loads some contact channels declared with given propPrefix in properties.- Parameters:
propPrefix- property prefix- Returns:
- a set of
MemberContactChannel - Since:
- jcms-11 / JCMS-11659
-