com.day.cq.wcm.notification.impl
Class PageSubscription
java.lang.Object
com.day.cq.wcm.notification.impl.PageSubscription
- All Implemented Interfaces:
- Subscription
public class PageSubscription
- extends Object
- implements Subscription
|
Nested Class Summary |
protected static class |
PageSubscription.Entry
The Entry innerclass is needed to hold the filter and the
sign of the rule. |
|
Constructor Summary |
PageSubscription(String name,
String type,
org.apache.sling.api.resource.ValueMap config)
Creates a new FilterContentPackage with the given filter list and startpoints |
PageSubscription
public PageSubscription(String name,
String type,
org.apache.sling.api.resource.ValueMap config)
- Creates a new FilterContentPackage with the given filter list and startpoints
getProperties
public Map<String,Object> getProperties()
- Specified by:
getProperties in interface Subscription
- See Also:
Subscription.getProperties()
equals
public boolean equals(Object obj)
- Two
FilterContentPackage objects are considered equal
if they contain equal PageSubscription.Entrys in the same order. Furthermore
they are only considered equals if they are both compiled OR both
are not compiled!
- Overrides:
equals in class Object
- Parameters:
obj - the other FilterContentPackage.
- Returns:
true if obj is equal to this
FilterContentPackage.
hashCode
public int hashCode()
- Returns a hashCode for this
FilterContentPackage.
Please keep in mind that this hashCode may change when this
FilterContentPackage is modified!
- Overrides:
hashCode in class Object
- Returns:
- Returns a hashCode for this
FilterContentPackage.
getEntries
public PageSubscription.Entry[] getEntries()
getChannelName
public String getChannelName()
- Specified by:
getChannelName in interface Subscription
- See Also:
Subscription.getChannelName()
matches
public boolean matches(org.osgi.service.event.Event event)
- Specified by:
matches in interface Subscription
- See Also:
Subscription.matches(org.osgi.service.event.Event)
getActions
public String[] getActions()
getName
public String getName()
- Specified by:
getName in interface Subscription
- See Also:
Subscription.getName()
getType
public String getType()
- Specified by:
getType in interface Subscription
- See Also:
Subscription.getType()
Copyright © 2008 Day Management AG. All Rights Reserved.