Interface Subscription

    • Method Detail

      • getSubscriber

        SubscriptionSubscriber getSubscriber()
        Gets the subscriber. It can be either a user or a group of users. In the case of a group of users, the subscription was done by a user with management rights on the resource.
        Returns:
        a SubscriptionSubscriber instance representing either the user or the group of users that have subscribed to the given resource.
      • getSubscriptionMethod

        SubscriptionMethod getSubscriptionMethod()
        What is the method used to subscribe to the resource? It can be either by the subscriber himself or it can be forced by another user with management rights.
        Returns:
        a SubscriptionMethod instance representing the method used to create this subscription.
      • getCreatorId

        String getCreatorId()
        Gets the unique identifier of the user that did the subscription. It can be the identifier of the subscriber or, for forced subscription, it is the identifier of a user with management rights.
        Returns:
        the unique identifier of a user.
      • getCreationDate

        Date getCreationDate()
        Gets the date at which the subscription has been done.
        Returns:
        a date.