NameEmailIndexRDF
RDF representation of the people (name-email) index document for a Solid address book.
The name-email index lists all vcard:Individual contact entries belonging to an address book, using vcard:inAddressBook triples. It is separate from the address-book root so that the contact list can be loaded and updated independently.
Construct from a pod response by passing the parsed quads, or create a new empty instance by supplying only the identifier.
Constructors
Functions
Adds contact to this index under addressBookUri, recording the contact's type and display name inline so the index can be rendered without fetching each contact document.
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 lightweight Contact summaries for all contacts belonging to addressBookUri.
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 all index entries for contactUri (both the vcard:inAddressBook link and the contact's own cached triples).
Rewrites the cached vcard:fn for contactUri to newName.