GroupRDF
RDF representation of a Solid contact group (vcard:Group).
Wraps the quads of one group document on a pod and exposes typed accessors and mutators. Construct from a pod response by passing the parsed quads, or create a new empty instance by supplying only the identifier.
All mutator methods update the in-memory quad list; call the contacts data module to persist the change to the pod.
Constructors
Functions
Adds contact as a member of this group (vcard:hasMember), also recording the contact's display name inline so group listings can be rendered without an extra pod request.
Returns the object values of every triple with the given predicate, across all subjects.
Returns the object value of the first triple with the given predicate, or null if none.
Returns a snapshot copy of all triples held by this resource.
Returns the Contact summaries for all members of this group (vcard:hasMember).
The media type of the resource representation (the value of its Content-Type).
The creation time in epoch milliseconds, from this resource's own dcterms:created (then stat:ctime) triple, or null when neither is present.
Returns the resource representation as a byte stream.
The HTTP headers associated with this resource (empty when constructed locally).
The URI that identifies this resource on the pod.
The last-modified time in epoch milliseconds. Prefers this resource's own dcterms:modified (then stat:mtime) triple and falls back to the Last-Modified header. null when none is present.
Removes the membership entry for contactURI from this group's quad list.
Adds a vcard:includesGroup triple linking this group to addressBookUri, so the group is discoverable from the address-book root.
Rewrites the cached member vcard:fn for contactUri to newName.