Page implements WikiConstants { public int getPageId() { return hibernatePage.getPageId(); } protected  Page(Wikipedia wiki, long id); protected  Page(Wikipedia wiki, int pageID);  Page(Wikipedia wiki, String pName);  Page(Wikipedia wiki, String pName, boolean useExactTitle); protected  Page(Wikipedia wiki, long id,
			de.tudarmstadt.ukp.wikipedia.api.hibernate.Page hibernatePage); int getPageId(); Set<Category> getCategories(); int getNumberOfCategories(); Set<Page> getInlinks(); int getNumberOfInlinks(); Set<Integer> getInlinkIDs(); Set<Page> getOutlinks(); int getNumberOfOutlinks(); Set<Integer> getOutlinkIDs(); Title getTitle(); Set<String> getRedirects(); String getText(); boolean isDisambiguation(); boolean isRedirect(); boolean isDiscussion(); String getPlainText();  }
@Test public void testCreatePageByPageID() { try { Page p = new Page(wiki, A_FAMOUS_PAGE_ID); assertNotNull(p); assertEquals(A_FAMOUS_PAGE_ID, p.getPageId()); } catch (WikiApiException e) { fail("A WikiApiException occurred creating a page: " + e.getLocalizedMessage()); } }