Class PubChooserProviderManager
- java.lang.Object
-
- com.jalios.jcms.handler.pubchooser.provider.PubChooserProviderManager
-
- All Implemented Interfaces:
JPropertiesListener
public class PubChooserProviderManager extends java.lang.Object implements JPropertiesListener
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PubChooserProvider
getExternalProvider(java.lang.String providerKey, PubChooserContext pubChooserContext)
PubChooserProvider
getExternalProvider(java.lang.String providerKey, PubChooserDisplayMode displayMode, PubChooserMode pubChooserMode, Member loggedMember, Workspace workspace, JcmsJspContext jcmsContext)
java.util.List<PubChooserProvider>
getExternalProviders(PubChooserDisplayMode displayMode, PubChooserMode pubChooserMode, Member loggedMember, Workspace workspace, JcmsJspContext jcmsContext)
static PubChooserProviderManager
getInstance()
PubChooserProvider
getSubExternalProvider(java.lang.String providerKey, PubChooserDisplayMode displayMode, PubChooserMode pubChooserMode, Member loggedMember, Workspace workspace, JcmsJspContext jcmsContext)
void
propertiesChange(JProperties properties)
Invoked after properties have been modified in JCMS and save on disk.
-
-
-
Method Detail
-
getInstance
public static PubChooserProviderManager getInstance()
-
propertiesChange
public void propertiesChange(JProperties properties)
Description copied from interface:JPropertiesListener
Invoked after properties have been modified in JCMS and save on disk.You cannot alter the value received in parameters.
Note that properties parameter may be null, a limited set of site properties, or all site properties.
To check that a property has been modified, reload the "current" property instead using
channel.getProperties
orchannel.getProperty
.- Specified by:
propertiesChange
in interfaceJPropertiesListener
- Parameters:
properties
- the properties which have been submitted to change
-
getExternalProviders
public java.util.List<PubChooserProvider> getExternalProviders(PubChooserDisplayMode displayMode, PubChooserMode pubChooserMode, Member loggedMember, Workspace workspace, JcmsJspContext jcmsContext)
-
getExternalProvider
public PubChooserProvider getExternalProvider(java.lang.String providerKey, PubChooserContext pubChooserContext)
-
getExternalProvider
public PubChooserProvider getExternalProvider(java.lang.String providerKey, PubChooserDisplayMode displayMode, PubChooserMode pubChooserMode, Member loggedMember, Workspace workspace, JcmsJspContext jcmsContext)
-
getSubExternalProvider
public PubChooserProvider getSubExternalProvider(java.lang.String providerKey, PubChooserDisplayMode displayMode, PubChooserMode pubChooserMode, Member loggedMember, Workspace workspace, JcmsJspContext jcmsContext)
-
-