info.magnolia.module.exchangesimple
Class DefaultSubscriber

java.lang.Object
  extended by info.magnolia.module.exchangesimple.DefaultSubscriber
All Implemented Interfaces:
info.magnolia.cms.exchange.Subscriber

public class DefaultSubscriber
extends Object
implements info.magnolia.cms.exchange.Subscriber

Bean holder for subscriber configuration.

Author:
Sameer Charles $Id: DefaultSubscriber.java 41137 2011-01-06 18:19:25Z gjoseph $

Constructor Summary
DefaultSubscriber()
           
 
Method Summary
 void addSubscriptions(info.magnolia.cms.exchange.Subscription subscription)
           
 String getAuthenticationMethod()
           
 int getConnectTimeout()
           
 String getDocumentBase(String path, String repositoryId)
           
 info.magnolia.cms.exchange.Subscription getMatchedSubscription(String path, String repositoryId)
           
 String getName()
           
 int getReadTimeout()
           
 String getSubscribedPath(String path, String repositoryId)
           
 Collection getSubscriptions()
           
 String getURL()
           
 boolean isActive()
           
 boolean isSubscribed(String path, String repositoryId)
           
 void setActive(boolean active)
           
 void setAuthenticationMethod(String method)
           
 void setConnectTimeout(int timeoutMillis)
           
 void setName(String name)
           
 void setReadTimeout(int timeoutMillis)
           
 void setSubscriptions(Collection subscriptions)
           
 void setURL(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSubscriber

public DefaultSubscriber()
Method Detail

getName

public String getName()
Specified by:
getName in interface info.magnolia.cms.exchange.Subscriber

setName

public void setName(String name)
Specified by:
setName in interface info.magnolia.cms.exchange.Subscriber

getURL

public String getURL()
Specified by:
getURL in interface info.magnolia.cms.exchange.Subscriber

setURL

public void setURL(String url)
Specified by:
setURL in interface info.magnolia.cms.exchange.Subscriber

isActive

public boolean isActive()
Specified by:
isActive in interface info.magnolia.cms.exchange.Subscriber

setActive

public void setActive(boolean active)
Specified by:
setActive in interface info.magnolia.cms.exchange.Subscriber

setSubscriptions

public void setSubscriptions(Collection subscriptions)
Specified by:
setSubscriptions in interface info.magnolia.cms.exchange.Subscriber

getSubscriptions

public Collection getSubscriptions()
Specified by:
getSubscriptions in interface info.magnolia.cms.exchange.Subscriber

addSubscriptions

public void addSubscriptions(info.magnolia.cms.exchange.Subscription subscription)
Specified by:
addSubscriptions in interface info.magnolia.cms.exchange.Subscriber

getMatchedSubscription

public info.magnolia.cms.exchange.Subscription getMatchedSubscription(String path,
                                                                      String repositoryId)
Specified by:
getMatchedSubscription in interface info.magnolia.cms.exchange.Subscriber

isSubscribed

public boolean isSubscribed(String path,
                            String repositoryId)
Specified by:
isSubscribed in interface info.magnolia.cms.exchange.Subscriber

getDocumentBase

public String getDocumentBase(String path,
                              String repositoryId)

getSubscribedPath

public String getSubscribedPath(String path,
                                String repositoryId)

getAuthenticationMethod

public String getAuthenticationMethod()
Specified by:
getAuthenticationMethod in interface info.magnolia.cms.exchange.Subscriber

setAuthenticationMethod

public void setAuthenticationMethod(String method)
Specified by:
setAuthenticationMethod in interface info.magnolia.cms.exchange.Subscriber

getConnectTimeout

public int getConnectTimeout()
Specified by:
getConnectTimeout in interface info.magnolia.cms.exchange.Subscriber

getReadTimeout

public int getReadTimeout()
Specified by:
getReadTimeout in interface info.magnolia.cms.exchange.Subscriber

setConnectTimeout

public void setConnectTimeout(int timeoutMillis)
Specified by:
setConnectTimeout in interface info.magnolia.cms.exchange.Subscriber

setReadTimeout

public void setReadTimeout(int timeoutMillis)
Specified by:
setReadTimeout in interface info.magnolia.cms.exchange.Subscriber


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.