...
A Hyperlink
represents a connection between an Identifier
and a Resource
.
It contains two extra pieces of information about the link:
|
Resource
A Resource
represents a document found somewhere on the Internet -- probably either a cover image or a free book. It has a url
, and that's basically it -- everything about the document itself is kept in Representation
.
|
Representation
A Representation
is a local cache of a Resource
. It represents our attempt to actually download a Resource
and records what happened when we tried.
If everything went well, the Circulation managers don't usually create An image |
Putting it all together
Here's how the whole subsystem works together. Let's say one of our data sources that claims the URL http://example.org/covers/my-book.png is a cover image for the ISBN "97812345678". We want to represent this fact in our system.
...
A ResourceTransformation
represents a change that was made to one Resource
to generate another Resource
.
Currently it's used in the circulation manager's "cover image upload" feature. You can upload a background image (the original Theoretically, thumbnailing could also be handled as a |
Anchor | ||||
---|---|---|---|---|
|
...
Patrons may lodge one or more Complaints against a specific LicensePool. Complaints indicate problems with specific books. For example, a Patron can lodge a Complaint stating that a book is incorrectly categorized or described, or that there is a problem with checking it out, reading, or returning it.
CirculationEvent
A CirculationEvent
is a record of something happening to a LicensePool. A CirculationEvent
happens when an event takes place within the circulation manager (e.g. a work is checked out or placed on hold), or when we notice that an event happened on the distributor's side (such as licenses for a book being added or removed), or when a client app (i.e. a book having been opened).
...