Class PKSubscription<R extends PKSubscriptionResource>

    • Constructor Detail

      • PKSubscription

        protected PKSubscription​(String subscriberId,
                                 R subscriptionResource)
        PK 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
        subscriptionResource - representation of the resource subscription
      • PKSubscription

        protected PKSubscription​(SubscriptionSubscriber subscriber,
                                 R subscriptionResource,
                                 String creatorId)
        PK subscription constructor for a subscriber that handles the subscription too.
        Parameters:
        subscriber - the subscriber
        subscriptionResource - representation of the resource subscription
        creatorId - the user id that has handled the subscription