create static method
Implementation
static JoinGroupQuery create(String groupId) {
UpdateGroupMembersQuery query = UpdateGroupMembersQuery.create(groupId,
UserIdList.create(['GETSOCIAL_CURRENT_USER_PLACEHOLDER_42_42']));
query.role = Role.member;
query.status = MemberStatus.approvalPending;
return JoinGroupQuery(query);
}