Package org.silverpeas.core.subscription
Interface SubscriptionSubscriber
-
- All Known Implementing Classes:
AbstractSubscriptionSubscriber
,GroupSubscriptionSubscriber
,UserSubscriptionSubscriber
public interface SubscriptionSubscriber
User: Yohann Chastagnier Date: 20/02/13
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkValid()
This method checks the subscriber integrity.String
getId()
Gets the identifier of the subscriber of a subscriptionSubscriberType
getType()
Gets the type of the subscriber of a subscription.
-
-
-
Method Detail
-
getId
String getId()
Gets the identifier of the subscriber of a subscription- Returns:
- the unique identifier of either a user or a group of users.
-
getType
SubscriberType getType()
Gets the type of the subscriber of a subscription. It can be either a user or a group of users.- Returns:
- the subscriber type.
-
checkValid
void checkValid() throws SubscribeRuntimeException
This method checks the subscriber integrity.- Throws:
SubscribeRuntimeException
- if not valid.
-
-