Author: doll
Date: Thu Aug 21 12:11:44 2008
New Revision: 687833

URL: http://svn.apache.org/viewvc?rev=687833&view=rev
Log:
Add opensocial.idspec.GroupId into the js as the spec was just updated with it. 


Modified:
    incubator/shindig/trunk/features/opensocial-reference/idspec.js

Modified: incubator/shindig/trunk/features/opensocial-reference/idspec.js
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/opensocial-reference/idspec.js?rev=687833&r1=687832&r2=687833&view=diff
==============================================================================
--- incubator/shindig/trunk/features/opensocial-reference/idspec.js (original)
+++ incubator/shindig/trunk/features/opensocial-reference/idspec.js Thu Aug 21 
12:11:44 2008
@@ -67,13 +67,15 @@
  */
 opensocial.IdSpec.Field = {
   /**
-   * A string or an array of strings representing the user id.
+   * A string or an array of strings representing the user id. Can be
+   * one of the opensocial.IdSpec.PersonId values.
    * @member opensocial.IdSpec.Field
    */
   USER_ID : 'userId',
 
   /**
-   * A string representing the group id.
+   * A string representing the group id or one of the
+   * opensocial.IdSpec.GroupId values. Defaults to SELF.
    * @member opensocial.IdSpec.Field
    */
   GROUP_ID : 'groupId',
@@ -112,6 +114,29 @@
 };
 
 
+ /**
+ * @static
+ * @class
+ * Constant group IDs available when fetching collections of people.
+ *
+ * @name opensocial.IdSpec.GroupId
+ */
+opensocial.IdSpec.GroupId = {
+ /**
+  * @member opensocial.IdSpec.GroupId
+  */
+  SELF : 'SELF',
+ /**
+  * @member opensocial.IdSpec.GroupId
+  */
+  FRIENDS : 'FRIENDS',
+ /**
+  * @member opensocial.IdSpec.GroupId
+  */
+  ALL : 'ALL'
+};
+
+
 /**
  * Gets the id spec's data that's associated with the specified key.
  *


Reply via email to