com.sap.portal.feeds.providers

Interface IProviderManager


public interface IProviderManager

Enables registration of custom entry providers (see: IChannelEntryProvider).


Field Summary
static String KEY
           
 
Method Summary
 void registerChannelEntryProvider(String type, IChannelEntryProvider provider)
          Registers the specified entry provider using the specified type, overriding any previous registration using the same type (type must be unique).
 void unregisterChannelEntryProvider(String type)
          Unregisters the entry provider that is registered for the specified type.
 

Field Detail

KEY

static final String KEY
See Also:
Constant Field Values
Method Detail

registerChannelEntryProvider

void registerChannelEntryProvider(String type,
                                  IChannelEntryProvider provider)
                                  throws ProviderRegistrationException
Registers the specified entry provider using the specified type, overriding any previous registration using the same type (type must be unique). A registered provider is triggered for retrieving the entries of channels of its type.

Parameters:
type - the type
provider - the provider implementation
Throws:
ProviderRegistrationException - if provider is null or the type is null or empty

unregisterChannelEntryProvider

void unregisterChannelEntryProvider(String type)
Unregisters the entry provider that is registered for the specified type. If no such provider is registered, does nothing.

Parameters:
type - the type of the provider to unregister


Copyright 2013 SAP AG Complete Copyright Notice