package votorola.a.position; // Copyright 2010-2013, Michael Allan. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Votorola Software"), to deal in the Votorola Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicence, and/or sell copies of the Votorola Software, and to permit persons to whom the Votorola Software is furnished to do so, subject to the following conditions: The preceding copyright notice and this permission notice shall be included in all copies or substantial portions of the Votorola Software. THE VOTOROLA SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE VOTOROLA SOFTWARE OR THE USE OR OTHER DEALINGS IN THE VOTOROLA SOFTWARE. import java.net.*; /** A particular revision of a wiki page. */ public interface PageRevision extends java.io.Serializable // where serialized? DraftPair { // - P a g e - R e v i s i o n -------------------------------------------------------- /** Returns true iff rev() == revLatest(). */ public boolean isLatestRevision(); /** The page identifier. * * @see Manual:Page_table#page_id */ public int pageID(); /** The name of the page including the namespace. */ public String pageName(); /** The location of the page non-specific to any particular revision. * * @see #revURI() */ public URI pageURI(); /** The revision identifier. * * @see Manual:Revision_table#rev_id */ public int rev(); /** The revision identifier of the latest page revision. * * @see Manual:Page_table#page_latest */ public int revLatest(); /** The location of the revision. It is guaranteed to end with a query component, * ready for appending additional query parameters. * * @see #pageURI() */ public URI revURI(); /** The base location for script execution in the containing wiki, without a trailing * slash (/). For example http://reluk.ca/mediawiki. Script requests * may be constructed by appending the script path and parameters:
    wikiScriptURI().toASCIIString() + "/index.php?oldid=1138"
*/ public URI wikiScriptURI(); }