@Component(value="openSocialId") public class OpenSocialValidator extends Object
| Constructor and Description |
|---|
OpenSocialValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
invariant(GroupId groupId)
We only support
GroupId.Type.groupId |
void |
invariant(Set<UserId> userIds)
Check if the userIds are valid
|
void |
invariant(Set<UserId> userIds,
boolean requiresSingleUser)
Check if the userIds are valid
|
void |
invariant(Set<UserId> userIds,
GroupId groupId)
Check if there are userIds to identify
|
void |
invariant(Set<UserId> userIds,
GroupId groupId,
String appId)
Check if there are userIds to identify
|
void |
invariant(UserId userId)
Check if the userId is valid
|
void |
invariant(UserId userId,
GroupId groupId)
Check if there are userIds to identify
|
public void invariant(Set<UserId> userIds, GroupId groupId)
userIds - all userIdsgroupId - the groupIdpublic void invariant(Set<UserId> userIds, GroupId groupId, String appId)
userIds - all userIdsgroupId - the groupIdappId - the application Idpublic void invariant(UserId userId, GroupId groupId)
userId - the userIdgroupId - the groupIdpublic void invariant(GroupId groupId)
GroupId.Type.groupIdgroupId - the groupIdpublic void invariant(UserId userId)
userId - the userIdpublic void invariant(Set<UserId> userIds)
userIds - the userIdsCopyright © 2007-2012. All Rights Reserved.