Class GroupSubscriptionSubscriber
- java.lang.Object
-
- org.silverpeas.core.subscription.service.AbstractSubscriptionSubscriber
-
- org.silverpeas.core.subscription.service.GroupSubscriptionSubscriber
-
- All Implemented Interfaces:
SubscriptionSubscriber
public class GroupSubscriptionSubscriber extends AbstractSubscriptionSubscriber
User: Yohann Chastagnier Date: 20/02/13
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GroupSubscriptionSubscriber(String id)
Default constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkValid()
This method checks the group subscriber integrity: group identifier MUST be defined group MUST exist group MUST not contain an anonymous or a guest userstatic GroupSubscriptionSubscriber
from(String groupId)
A way to get an instance of a group subscriber.-
Methods inherited from class org.silverpeas.core.subscription.service.AbstractSubscriptionSubscriber
equals, getId, getType, hashCode
-
-
-
-
Constructor Detail
-
GroupSubscriptionSubscriber
protected GroupSubscriptionSubscriber(String id)
Default constructor.- Parameters:
id
-
-
-
Method Detail
-
from
public static GroupSubscriptionSubscriber from(String groupId)
A way to get an instance of a group subscriber.- Parameters:
groupId
-- Returns:
-
checkValid
public void checkValid() throws SubscribeRuntimeException
This method checks the group subscriber integrity:- group identifier MUST be defined
- group MUST exist
- group MUST not contain an anonymous or a guest user
- Throws:
SubscribeRuntimeException
- if not valid.
-
-