AddressBookRDF
RDF representation of a Solid address book root document (vcard:AddressBook).
This class is the read/write view of the address-book index document stored on the pod. It is typed vcard:AddressBook and records the book's owner, display title, and links to the two auxiliary index documents: the people (name-email) index and the groups index.
Construct from a freshly-parsed pod response by passing the parsed quads, or create a new empty instance by supplying only the identifier.
Constructors
Functions
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.
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.
Returns the URI of the groups index document (vcard:groupIndex), or null when the book declares none — read that as "this book has no groups".
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.
Returns the URI of the people (name-email) index document (vcard:nameEmailIndex), or null when the book declares none — read that as "this book lists no contacts".
Sets the URI of the groups index document.
Sets the URI of the people (name-email) index document.