com.silverpeas.subscribe.service
Class NodeSubscription

java.lang.Object
  extended by com.silverpeas.subscribe.service.AbstractSubscription
      extended by com.silverpeas.subscribe.service.NodeSubscription
All Implemented Interfaces:
Subscription

public class NodeSubscription
extends AbstractSubscription

Author:
ehugonnet

Constructor Summary
  NodeSubscription(String subscriberId, NodePK nodePK)
          Node subscription constructor for which the type of the subscriber is USER and the subscriber is the one that handles the subscription.
  NodeSubscription(SubscriptionSubscriber subscriber, NodePK nodePK)
          Node subscription constructor for a subscriber that handles the subscription too.
  NodeSubscription(SubscriptionSubscriber subscriber, NodePK nodePK, String creatorId)
          Node subscription constructor for a subscriber that handles the subscription too.
protected NodeSubscription(SubscriptionSubscriber subscriber, SubscriptionResource resource, SubscriptionMethod subscriptionMethod, String creatorId, Date creationDate)
           
 
Method Summary
 
Methods inherited from class com.silverpeas.subscribe.service.AbstractSubscription
equals, getCreationDate, getCreatorId, getResource, getSubscriber, getSubscriptionMethod, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeSubscription

public NodeSubscription(String subscriberId,
                        NodePK nodePK)
Node subscription constructor for which the type of the subscriber is USER and the subscriber is the one that handles the subscription.

Parameters:
subscriberId - id of the subscriber
nodePK - representation of the topic

NodeSubscription

public NodeSubscription(SubscriptionSubscriber subscriber,
                        NodePK nodePK)
Node subscription constructor for a subscriber that handles the subscription too.

Parameters:
subscriber - the subscriber
nodePK - representation of the topic

NodeSubscription

public NodeSubscription(SubscriptionSubscriber subscriber,
                        NodePK nodePK,
                        String creatorId)
Node subscription constructor for a subscriber that handles the subscription too.

Parameters:
subscriber - the subscriber
nodePK - representation of the topic
creatorId - the user id that has handled the subscription

NodeSubscription

protected NodeSubscription(SubscriptionSubscriber subscriber,
                           SubscriptionResource resource,
                           SubscriptionMethod subscriptionMethod,
                           String creatorId,
                           Date creationDate)
See Also:
AbstractSubscription


Copyright © 2016 Silverpeas. All Rights Reserved.