|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.surfnet.coin.shindig.spi.OpenSocialValidator
@Component(value="openSocialId") public class OpenSocialValidator
Responsible for validating Id's for OpenSocial queries.
| Constructor Summary | |
|---|---|
OpenSocialValidator()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenSocialValidator()
| Method Detail |
|---|
public void invariant(Set<UserId> userIds,
GroupId groupId)
userIds - all userIdsgroupId - the groupId
public void invariant(Set<UserId> userIds,
GroupId groupId,
String appId)
userIds - all userIdsgroupId - the groupIdappId - the application Id
public void invariant(UserId userId,
GroupId groupId)
userId - the userIdgroupId - the groupIdpublic void invariant(GroupId groupId)
GroupId.Type.groupId
groupId - the groupIdpublic void invariant(UserId userId)
userId - the userIdpublic void invariant(Set<UserId> userIds)
userIds - the userIds
public void invariant(Set<UserId> userIds,
boolean requiresSingleUser)
userIds - the userIds
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||