|Previous | Next|
WireHose Developers Guide
WHRevision is a subclass of WHTag which provides support for versioning WHTaggable objects. A WHRevision tag represents a particular resource, and can be assigned to another resource to indicate that a resource is a revision of another. Since resources can have multiple tags, a given resource can be a revision of multiple other resources, and a given resource can have multiple revisions (and revisions of revisions, and so on).
WHRevision provides three key methods for handling versioning:
makeRevision makes one resource a revision of another;
revisionsForResource returns all revisions of a
particular resource; and
the array of objects a particular revision is a revision of.
Copyright ©2000-2003 Gary Teter. All rights reserved. WireHose is a trademark of Gary Teter.