Class AbstractSubscriptionSubscriber
- java.lang.Object
-
- org.silverpeas.core.subscription.service.AbstractSubscriptionSubscriber
-
- All Implemented Interfaces:
SubscriptionSubscriber
- Direct Known Subclasses:
GroupSubscriptionSubscriber
,UserSubscriptionSubscriber
public abstract class AbstractSubscriptionSubscriber extends Object implements SubscriptionSubscriber
User: Yohann Chastagnier Date: 20/02/13
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSubscriptionSubscriber(String id, SubscriberType type)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getId()
Gets the identifier of the subscriber that aimed a subscriptionSubscriberType
getType()
Gets the type of the subscriber that aimed a subscriptionint
hashCode()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.subscription.SubscriptionSubscriber
checkValid
-
-
-
-
Constructor Detail
-
AbstractSubscriptionSubscriber
protected AbstractSubscriptionSubscriber(String id, SubscriberType type)
Default constructor.- Parameters:
id
-type
-
-
-
Method Detail
-
getId
public String getId()
Gets the identifier of the subscriber that aimed a subscription- Specified by:
getId
in interfaceSubscriptionSubscriber
- Returns:
-
getType
public SubscriberType getType()
Gets the type of the subscriber that aimed a subscription- Specified by:
getType
in interfaceSubscriptionSubscriber
- Returns:
-
-