info.magnolia.cms.exchange
Interface Subscriber

All Known Implementing Classes:
DefaultSubscriber

public interface Subscriber

Subscriber is a java bean holding all configuration details of the subscription at runtime.

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

Method Summary
 void addSubscriptions(Subscription subscription)
           
 java.lang.String getAuthenticationMethod()
           
 int getConnectTimeout()
           
 Subscription getMatchedSubscription(java.lang.String path, java.lang.String repositoryId)
           
 java.lang.String getName()
           
 int getReadTimeout()
           
 java.util.Collection<Subscription> getSubscriptions()
           
 java.lang.String getURL()
           
 boolean isActive()
           
 boolean isSubscribed(java.lang.String path, java.lang.String repositoryId)
           
 void setActive(boolean active)
           
 void setAuthenticationMethod(java.lang.String method)
           
 void setConnectTimeout(int timeoutMillis)
           
 void setName(java.lang.String name)
           
 void setReadTimeout(int timeoutMillis)
           
 void setSubscriptions(java.util.Collection<Subscription> subscriptions)
           
 void setURL(java.lang.String url)
           
 

Method Detail

getName

java.lang.String getName()

setName

void setName(java.lang.String name)

getURL

java.lang.String getURL()

setURL

void setURL(java.lang.String url)

isActive

boolean isActive()

setActive

void setActive(boolean active)

setSubscriptions

void setSubscriptions(java.util.Collection<Subscription> subscriptions)

getSubscriptions

java.util.Collection<Subscription> getSubscriptions()

addSubscriptions

void addSubscriptions(Subscription subscription)

getMatchedSubscription

Subscription getMatchedSubscription(java.lang.String path,
                                    java.lang.String repositoryId)

isSubscribed

boolean isSubscribed(java.lang.String path,
                     java.lang.String repositoryId)

setAuthenticationMethod

void setAuthenticationMethod(java.lang.String method)

getAuthenticationMethod

java.lang.String getAuthenticationMethod()

getConnectTimeout

int getConnectTimeout()

setConnectTimeout

void setConnectTimeout(int timeoutMillis)

getReadTimeout

int getReadTimeout()

setReadTimeout

void setReadTimeout(int timeoutMillis)


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