Package com.jalios.jcms.push
Class MemberTarget
- java.lang.Object
-
- com.jalios.jcms.push.Target
-
- com.jalios.jcms.push.MemberTarget
-
public class MemberTarget extends Target
-
-
Constructor Summary
Constructors Constructor Description MemberTarget()
MemberTarget(Member mbr)
MemberTarget(java.lang.String memberIds)
create a member target from member ids separated by commaMemberTarget(java.util.Set<Member> mbrSet)
-
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
-
MemberTarget
public MemberTarget()
-
MemberTarget
public MemberTarget(Member mbr) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
MemberTarget
public MemberTarget(java.util.Set<Member> mbrSet) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
MemberTarget
public MemberTarget(java.lang.String memberIds) throws java.lang.IllegalArgumentException
create a member target from member ids separated by comma- Parameters:
memberIds
- the member id list (separated by comma)- Throws:
java.lang.IllegalArgumentException
- exception thrown if the memberIds 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
-
-