Dekoh platform API

dekoh.portal.syndication.aggregator.managed
Class AggregationConfig

java.lang.Object
  extended by dekoh.portal.syndication.aggregator.managed.AggregationConfig

public class AggregationConfig
extends Object

AggregationConfig is a configuration object which is used by AggregatorInitializer to load applications aggregators on user's login

Since:
Nov 15, 2007

Constructor Summary
AggregationConfig(DesktopUser desktopUser, long aggregationfrequency, String subscriptionListId, PasswordStore passwordStore, PortalApplicationContext portalApplicationContext, AggregatedItemTransformer[] transformers)
           
AggregationConfig(DesktopUser desktopUser, long aggregationfrequency, String subscriptionListId, PortalApplicationContext portalApplicationContext, AggregatedItemTransformer[] transformers)
           
AggregationConfig(long aggregationfrequency, SubscriptionList subscriptionList, AggregatedItemTransformer[] transformers)
           
 
Method Summary
 void setRescheduleOnAdd(boolean rescheduleOnAdd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregationConfig

public AggregationConfig(long aggregationfrequency,
                         SubscriptionList subscriptionList,
                         AggregatedItemTransformer[] transformers)
Parameters:
aggregationfrequency - frequency at which the aggregator will be scheduled
subscriptionList - The SubscriptionList which will be aggregated
transformers - AggregatedItemTransformer if any to transform the aggregated Item

AggregationConfig

public AggregationConfig(DesktopUser desktopUser,
                         long aggregationfrequency,
                         String subscriptionListId,
                         PortalApplicationContext portalApplicationContext,
                         AggregatedItemTransformer[] transformers)
                  throws NoSuchSubscriptionListException,
                         InvalidKeyException
Parameters:
desktopUser - User which is requesting starting of aggregator
aggregationfrequency - frequency at which the aggregator will be scheduled
subscriptionListId - this list will be loaded and aggregated
portalApplicationContext - Portal Application context of the calling application* @throws NoSuchSubscriptionListException
transformers - AggregatedItemTransformer if any to transform the aggregated Item
Throws:
InvalidKeyException - thrown when PasswordStore supplied fails to retrive password for the SubscriptionItem in the SubscriptionList
NoSuchSubscriptionListException - thrown when no Subscriptionlist with the specified id exist in the persistentStore

AggregationConfig

public AggregationConfig(DesktopUser desktopUser,
                         long aggregationfrequency,
                         String subscriptionListId,
                         PasswordStore passwordStore,
                         PortalApplicationContext portalApplicationContext,
                         AggregatedItemTransformer[] transformers)
                  throws NoSuchSubscriptionListException,
                         InvalidKeyException
Parameters:
desktopUser - dekoh user whose aggregator will be started using this config
aggregationfrequency - frequency at which the aggregator will be scheduled
subscriptionListId - id of the persistent Subscriptionlist, which list will be loaded and aggregated
passwordStore - PasswordStore of the application
portalApplicationContext - PortalApplicationContext of the calling application
transformers - AggregatedItemTransformer if any to transform the aggregated Item
Throws:
NoSuchSubscriptionListException - thrown when no Subscriptionlist with the specified id exist in the persistentStore
InvalidKeyException - thrown when PasswordStore supplied fails to retrive password for the SubscriptionItem in the SubscriptionList
Method Detail

setRescheduleOnAdd

public void setRescheduleOnAdd(boolean rescheduleOnAdd)

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers