Interface Subscription
-
- All Superinterfaces:
XmlSerializable
public interface Subscription extends XmlSerializable
Subscription
represents public representation of the event listener created (or modified) by a successful SUBSCRIBE request.
Please note that this interface extends theXmlSerializable
interface. The Xml representation of aSubscription
is returned in the response to a successful SUBSCRIBE request as well as in a PROPFIND request. In both cases the subscription is packed into aSubscriptionDiscovery
property object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
eventsProvideNodeTypeInformation()
boolean
eventsProvideNoLocalFlag()
java.lang.String
getSubscriptionId()
Returns the id of this subscription, that must be used for un-subscribing as well as for event discovery later on.-
Methods inherited from interface org.apache.jackrabbit.webdav.xml.XmlSerializable
toXml
-
-
-
-
Method Detail
-
getSubscriptionId
java.lang.String getSubscriptionId()
Returns the id of this subscription, that must be used for un-subscribing as well as for event discovery later on.- Returns:
- subscriptionId
-
eventsProvideNodeTypeInformation
boolean eventsProvideNodeTypeInformation()
- Returns:
- whether events will be returned with node type information
-
eventsProvideNoLocalFlag
boolean eventsProvideNoLocalFlag()
- Returns:
- whether events will be returned with the "noLocal" flag
-
-