Class NodeSubscription

    • 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,
                                NodeSubscriptionResource resource,
                                String creatorId)
        Node subscription constructor for a subscriber that handles the subscription too.
        Parameters:
        subscriber - the subscriber
        resource - the topic resource
        creatorId - the user id that has handled the subscription
      • NodeSubscription

        protected 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