FullPersona


Object Hierarchy:

Object hierarchy for FullPersona

Description:

public class FullPersona : Persona, AntiLinkable, AvatarDetails, BirthdayDetails, EmailDetails, FavouriteDetails, GenderDetails, GroupDetails, ImDetails, LocalIdDetails, NameDetails, NoteDetails, PhoneDetails, RoleDetails, UrlDetails, PostalAddressDetails, WebServiceDetails

A persona subclass representing a single ‘full’ contact.

This mocks up a ‘full’ persona which implements all the available property interfaces provided by libfolks. This is in contrast with FolksDummy.Persona, which provides a base class implementing none of libfolks’ interfaces.

The full dummy persona can be used to simulate a persona from most libfolks backends, if writing a custom FolksDummy.Persona subclass is not an option.

There are two sides to this class’ interface: the normal methods required by the libfolks ‘details’ interfaces, such as Folks.GenderDetails.change_gender, and the backend methods which should be called by test driver code to simulate changes in the backing store providing this persona, such as FullPersona.update_gender. For example, test driver code should call FullPersona.update_nickname to simulate the user editing a contact’s nickname in an online address book which is being exposed to libfolks. The update_, register_ and unregister_ prefixes are commonly used for backend methods.

The API in FolksDummy is unstable and may change wildly. It is designed mostly for use by libfolks unit tests.

Since:

0.9.7


Namespace: FolksDummy
Package: folks-dummy

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Folks.Persona
 
All known members inherited from class GLib.Object
 
All known members inherited from interface Folks.AntiLinkable
 
All known members inherited from interface Folks.AvatarDetails
 
All known members inherited from interface Folks.BirthdayDetails
 
All known members inherited from interface Folks.EmailDetails
 
All known members inherited from interface Folks.FavouriteDetails
 
All known members inherited from interface Folks.GenderDetails
 
All known members inherited from interface Folks.GroupDetails
 
All known members inherited from interface Folks.ImDetails
 
All known members inherited from interface Folks.LocalIdDetails
 
All known members inherited from interface Folks.NameDetails
 
All known members inherited from interface Folks.NoteDetails
 
All known members inherited from interface Folks.PhoneDetails
 
All known members inherited from interface Folks.RoleDetails
 
All known members inherited from interface Folks.UrlDetails
 
All known members inherited from interface Folks.PostalAddressDetails
 
All known members inherited from interface Folks.WebServiceDetails