info.magnolia.module.exchangesimple
Class DefaultSubscription
java.lang.Object
info.magnolia.module.exchangesimple.DefaultSubscription
- All Implemented Interfaces:
- info.magnolia.cms.exchange.Subscription, info.magnolia.voting.Voter
public class DefaultSubscription
- extends Object
- implements info.magnolia.cms.exchange.Subscription
Bean holder for the default subscription information.
- Author:
- Sameer Charles
$Id: DefaultSubscription.java 41137 2011-01-06 18:19:25Z gjoseph $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSubscription
public DefaultSubscription()
getName
public String getName()
- Specified by:
getName
in interface info.magnolia.cms.exchange.Subscription
setName
public void setName(String name)
- Specified by:
setName
in interface info.magnolia.cms.exchange.Subscription
getFromURI
public String getFromURI()
- Specified by:
getFromURI
in interface info.magnolia.cms.exchange.Subscription
setFromURI
public void setFromURI(String fromURI)
- Specified by:
setFromURI
in interface info.magnolia.cms.exchange.Subscription
getToURI
public String getToURI()
- Specified by:
getToURI
in interface info.magnolia.cms.exchange.Subscription
setToURI
public void setToURI(String toURI)
- Specified by:
setToURI
in interface info.magnolia.cms.exchange.Subscription
getRepository
public String getRepository()
- Specified by:
getRepository
in interface info.magnolia.cms.exchange.Subscription
setRepository
public void setRepository(String repository)
- Specified by:
setRepository
in interface info.magnolia.cms.exchange.Subscription
vote
public int vote(Object value)
- Checks if we are subscribed to the given path.
- Specified by:
vote
in interface info.magnolia.voting.Voter
- Parameters:
value
- path to check
- Returns:
- the length of the fromURI
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface info.magnolia.voting.Voter
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.