Sun Glassfish SocialSite Developer's Guide

Chapter 3 SocialSite Extensions

This chapter describes the compliance of the Sun Glassfish Socialsite software with the OpenSocial application programming interface (API) specifications, as well as SocialSite-specific extensions.

OpenSocial Compliance

The SocialSite software is an OpenSocial container that can run any OpenSocial application built using the associated specifications:

The SocialSite software has added extensions that have been defined according to the OpenSocial specifications so that any extra person, activity or other object fields is defied in such a way that allow OpenSocial applications to discover these fields. These extensions are specific to the SocialSite container:

A SocialSite widget is an OpenSocial-compliant gadget that calls one or more SocialSite-specific extensions.

People and Friends Extensions

The standard OpenSocial specifications do not support the process of requesting and negotiating some form of social relationship with another user.

SocialSite Widget 

Actions 

Dashboard>People  

  • Specify user has no relationship

  • Specify user has a contact relationship

  • Specify user has friend relationship

  • Invite user to join a group

User Profile Data Extensions

The standard OpenSocial specifications do not support creating and updating profile data.

SocialSite Widget 

Actions 

Profile Editor Profile Editor Widget

  • Save changes to profile settings

  • Cancel changes to profile settings

Profile Privacy Settings Extensions

The standard OpenSocial specifications do not give you any control over who can see which parts of your profile or activities.

SocialSite Widget 

Actions 

Dashboard>PeoplePeople Tab

  • Specify user has no relationship

  • Specify user has a contact relationship

  • Specify user has a friend relationship

Group Management Extensions

The standard OpenSocial specifications do not support any group creation, management or invitation capabilities.

SocialSite Widget 

Actions 

Dashboard>GroupsGroups Tab

  • Create group

Dashboard>PeoplePeople Tab

  • Invite a user to join a group

Messaging

Messaging is included in OpenSocial, but the SocialSite provides extensions to manage the processing of messages.

SocialSite Widget 

Actions 

Dashboard>MessagesMessages Tab

  • Display received messages

  • Display sent messages

  • Accept request

  • Ignore request

Search

The OpenSocial specifications do not support searching the social graph. The SocialSite Widgets must provide the ability to search people, and groups.

SocialSite Widget 

Actions 

Dashboard>People 

  • Search for SocialSite users

  • Filter search for all SocialSite users

  • Filter search for all SocialSite users that are considered friends

  • Filter search for all SocialSite users belonging to a specified group

Dashboard> Groups 

  • Search for SocialSite groups

  • Filter search by SocialSite groups that you are a member