com.silverpeas.subscribe.service
Class AbstractSubscriptionSubscriber

java.lang.Object
  extended by com.silverpeas.subscribe.service.AbstractSubscriptionSubscriber
All Implemented Interfaces:
SubscriptionSubscriber
Direct Known Subclasses:
GroupSubscriptionSubscriber, UserSubscriptionSubscriber

public class AbstractSubscriptionSubscriber
extends Object
implements SubscriptionSubscriber

User: Yohann Chastagnier Date: 20/02/13


Constructor Summary
protected AbstractSubscriptionSubscriber(String id, SubscriberType type)
          Default constructor.
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
          Gets the identifier of the subscriber that aimed a subscription
 SubscriberType getType()
          Gets the type of the subscriber that aimed a subscription
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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 interface SubscriptionSubscriber
Returns:

getType

public SubscriberType getType()
Gets the type of the subscriber that aimed a subscription

Specified by:
getType in interface SubscriptionSubscriber
Returns:

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2016 Silverpeas. All Rights Reserved.