Interface SubscriptionResource

    • Method Detail

      • getId

        String getId()
        Gets the identifier of the resource aimed by a subscription.
        Returns:
        the unique identifier of a resource.
      • getType

        SubscriptionResourceType getType()
        Gets the type of the resource aimed by the subscription
        Returns:
        a well predefined type of resource on which a subscription can be done.
      • getInstanceId

        String getInstanceId()
        Gets the instance identifier of the component instance that handles the resource in Silverpeas.
        Returns:
        the unique identifier of a component instance.
      • getPK

        <T extends WAPrimaryKey> T getPK()
        Gets the Silverpeas Primary Key of the aimed resource.
        Type Parameters:
        T - the concrete type of the key.
        Returns:
        the key identifying the resource in the data source used by Silverpeas to persist its data.