Package com.jalios.jcms.push
Class GroupTarget
- java.lang.Object
-
- com.jalios.jcms.push.Target
-
- com.jalios.jcms.push.GroupTarget
-
public class GroupTarget extends Target
-
-
Constructor Summary
Constructors Constructor Description GroupTarget()
GroupTarget(Group group)
GroupTarget(java.lang.String groupIds)
create a group target from group ids separated by commaGroupTarget(java.util.Set<Group> groupSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isApplicable(Member mbr)
boolean
isCompletelySend(java.util.Set<java.lang.String> alreadySendMbrIdSet)
-
-
-
Constructor Detail
-
GroupTarget
public GroupTarget()
-
GroupTarget
public GroupTarget(Group group) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
GroupTarget
public GroupTarget(java.util.Set<Group> groupSet) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
GroupTarget
public GroupTarget(java.lang.String groupIds) throws java.lang.IllegalArgumentException
create a group target from group ids separated by comma- Parameters:
groupIds
- the group id list (separated by comma)- Throws:
java.lang.IllegalArgumentException
- exception thrown if the groupIds parameter is null or empty
-
-
Method Detail
-
isApplicable
public boolean isApplicable(Member mbr)
- Overrides:
isApplicable
in classTarget
-
isCompletelySend
public boolean isCompletelySend(java.util.Set<java.lang.String> alreadySendMbrIdSet)
- Overrides:
isCompletelySend
in classTarget
-
-