com.day.cq.wcm.notification.inbox.impl
Class InboxChannel

java.lang.Object
  extended by com.day.cq.wcm.notification.inbox.impl.InboxChannel
All Implemented Interfaces:
Channel

public class InboxChannel
extends Object
implements Channel

The InboxChannel stores the events in the inbox of the user or group.


Constructor Summary
InboxChannel(String name, String type, org.apache.sling.api.resource.ValueMap config, InboxManager inboxManager)
          TODO Implement max queue size.
 
Method Summary
 String getName()
          The unique name of the channel.
 String getType()
          The type of the channel.
 void publish(ChannelContext context, Subscription subscription, org.osgi.service.event.Event event)
          Publish the event through this channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InboxChannel

public InboxChannel(String name,
                    String type,
                    org.apache.sling.api.resource.ValueMap config,
                    InboxManager inboxManager)
TODO Implement max queue size.

Method Detail

publish

public void publish(ChannelContext context,
                    Subscription subscription,
                    org.osgi.service.event.Event event)
             throws Exception
Description copied from interface: Channel
Publish the event through this channel.

Specified by:
publish in interface Channel
Parameters:
context - The channel context.
subscription - The subscription that triggered this publish
event - The event that occured.
Throws:
Exception
See Also:
Channel.publish(com.day.cq.wcm.notification.ChannelContext, com.day.cq.wcm.notification.Subscription, org.osgi.service.event.Event)

getName

public String getName()
Description copied from interface: Channel
The unique name of the channel.

Specified by:
getName in interface Channel
See Also:
Channel.getName()

getType

public String getType()
Description copied from interface: Channel
The type of the channel.

Specified by:
getType in interface Channel
See Also:
Channel.getType()


Copyright © 2008 Day Management AG. All Rights Reserved.