SwfPersonaStore

SwfPersonaStore — A persona store which is associated with a single libsocialweb service.

Functions

Properties

GStrv always-writeable-properties Read
FolksMaybeBool can-add-personas Read
FolksMaybeBool can-alias-personas Read
FolksMaybeBool can-group-personas Read
FolksMaybeBool can-remove-personas Read
gboolean is-prepared Read
gboolean is-quiescent Read
GeeMap * personas Read
SwClientService * service Read / Write / Construct Only
gchar * type-id Read

Types and Values

Object Hierarchy

    GObject
    ╰── FolksPersonaStore
        ╰── SwfPersonaStore

Description

It will create SwfPersonas for each of the contacts known to that service.

Functions

SWF_TYPE_PERSONA_STORE

#define SWF_TYPE_PERSONA_STORE (swf_persona_store_get_type ())

The type for SwfPersonaStore.


swf_persona_store_new ()

SwfPersonaStore *
swf_persona_store_new (SwClientService *service);

Create a new PersonaStore.

Create a new persona store to store the SwfPersonas for the contacts provided by the service.

Parameters

service

 .

the libsocialweb service being represented by the new persona store

.

[in]

swf_persona_store_get_service ()

SwClientService *
swf_persona_store_get_service (SwfPersonaStore *self);

Get and return the current value of the "service" property.

The libsocialweb SwClientService associated with the persona store.

Parameters

self

the SwfPersonaStore instance to query

 

Returns

the value of the "service" property

Since: 0.6.6

Types and Values

struct SwfPersonaStore

struct SwfPersonaStore;

A persona store which is associated with a single libsocialweb service.

It will create SwfPersonas for each of the contacts known to that service.


struct SwfPersonaStoreClass

struct SwfPersonaStoreClass {
	FolksPersonaStoreClass parent_class;
};

The class structure for SWF_TYPE_PERSONA_STORE. All the fields in this structure are private and should never be accessed directly.

Members

FolksPersonaStoreClass parent_class;

the parent class structure

 

Property Details

The “always-writeable-properties” property

  “always-writeable-properties” GStrv

always-writeable-properties.

Flags: Read


The “can-add-personas” property

  “can-add-personas”         FolksMaybeBool

can-add-personas.

Flags: Read

Default value: FOLKS_MAYBE_BOOL_UNSET


The “can-alias-personas” property

  “can-alias-personas”       FolksMaybeBool

can-alias-personas.

Flags: Read

Default value: FOLKS_MAYBE_BOOL_UNSET


The “can-group-personas” property

  “can-group-personas”       FolksMaybeBool

can-group-personas.

Flags: Read

Default value: FOLKS_MAYBE_BOOL_UNSET


The “can-remove-personas” property

  “can-remove-personas”      FolksMaybeBool

can-remove-personas.

Flags: Read

Default value: FOLKS_MAYBE_BOOL_UNSET


The “is-prepared” property

  “is-prepared”              gboolean

is-prepared.

Flags: Read

Default value: FALSE


The “is-quiescent” property

  “is-quiescent”             gboolean

is-quiescent.

Flags: Read

Default value: FALSE


The “personas” property

  “personas”                 GeeMap *

personas.

Flags: Read


The “service” property

  “service”                  SwClientService *

The libsocialweb SwClientService associated with the persona store.

Flags: Read / Write / Construct Only

Since: 0.6.6


The “type-id” property

  “type-id”                  gchar *

type-id.

Flags: Read

Default value: NULL