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$
Author:
Sameer Charles

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

Method Detail

getName

String getName()

setName

void setName(String name)

getURL

String getURL()

setURL

void setURL(String url)

isActive

boolean isActive()

setActive

void setActive(boolean active)

setSubscriptions

void setSubscriptions(Collection<Subscription> subscriptions)

getSubscriptions

Collection<Subscription> getSubscriptions()

addSubscriptions

void addSubscriptions(Subscription subscription)

getMatchedSubscription

Subscription getMatchedSubscription(String path,
                                    String repositoryId)

isSubscribed

boolean isSubscribed(String path,
                     String repositoryId)

getConnectTimeout

int getConnectTimeout()

setConnectTimeout

void setConnectTimeout(int timeoutMillis)

getReadTimeout

int getReadTimeout()

setReadTimeout

void setReadTimeout(int timeoutMillis)


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.