Class ComponentSubscription
- java.lang.Object
-
- org.silverpeas.core.subscription.service.AbstractSubscription<ComponentSubscriptionResource>
-
- org.silverpeas.core.subscription.service.ComponentSubscription
-
- All Implemented Interfaces:
Subscription
public class ComponentSubscription extends AbstractSubscription<ComponentSubscriptionResource>
- Author:
- ehugonnet
-
-
Constructor Summary
Constructors Modifier Constructor Description ComponentSubscription(String subscriberId, String instanceId)
Component subscription constructor for which the type of the subscriber is USER.ComponentSubscription(SubscriptionSubscriber subscriber, String instanceId)
Component subscription constructor for a subscriber that handles the subscription too.protected
ComponentSubscription(SubscriptionSubscriber subscriber, String instanceId, String creatorId)
Component subscription constructor for a subscriber that handles the subscription too.ComponentSubscription(SubscriptionSubscriber subscriber, ComponentSubscriptionResource resource, String creatorId)
Component subscription constructor for a subscriber that handles the subscription too.
-
Method Summary
-
Methods inherited from class org.silverpeas.core.subscription.service.AbstractSubscription
equals, getCreationDate, getCreatorId, getResource, getSubscriber, getSubscriptionMethod, hashCode, setCreationDate, setSubscriptionMethod
-
-
-
-
Constructor Detail
-
ComponentSubscription
public ComponentSubscription(String subscriberId, String instanceId)
Component subscription constructor for which the type of the subscriber is USER.- Parameters:
subscriberId
- id of the subscriberinstanceId
- component instance id aimed by the subscription
-
ComponentSubscription
public ComponentSubscription(SubscriptionSubscriber subscriber, String instanceId)
Component subscription constructor for a subscriber that handles the subscription too.- Parameters:
subscriber
- the subscriberinstanceId
- component instance id aimed by the subscription
-
ComponentSubscription
public ComponentSubscription(SubscriptionSubscriber subscriber, ComponentSubscriptionResource resource, String creatorId)
Component subscription constructor for a subscriber that handles the subscription too.- Parameters:
subscriber
- the subscriberresource
- component instance subscriptioncreatorId
- the user id that has handled the subscription
-
ComponentSubscription
protected ComponentSubscription(SubscriptionSubscriber subscriber, String instanceId, String creatorId)
Component subscription constructor for a subscriber that handles the subscription too.- Parameters:
subscriber
- the subscriberinstanceId
- component instance id aimed by the subscriptioncreatorId
- the user id that has handled the subscription
-
-