code: public Set<Page> getOutlinks()
  	{
  		Session session = wiki.__getHibernateSession();
  		session.beginTransaction();
  //		session.lock(hibernatePage, LockMode.NONE);
  		session.buildLockRequest(LockOptions.NONE).lock(hibernatePage);
  		// Have to copy links here since getPage later will close the session.
  		Set<Integer> tmpSet = new UnmodifiableArraySet<Integer>(hibernatePage.getOutLinks());
  		session.getTransaction().commit();
  
  		Set<Page> pages = new HashSet<Page>();
  		for (int pageID : tmpSet) {
  			try {
  				pages.add(wiki.getPage(pageID));
  			}
  			catch (WikiApiException e) {
  				// Silently ignore if a page could not be found.
  				// There may be outlinks pointing to non-existing pages.
  			}
  		}
  		return pages;
  	}
docs: Returns the set of pages that are linked from this page. Outlinks in a page might also point
  to non-existing pages. They are not included in the result set. <b>Warning:</b> Do not use
  this for getting the number of outlinks with {@link Page#getOutlinks()}.size(). This is too slow. Use
  {@link Page#getNumberOfOutlinks()} instead.
  
  @return The set of pages that are linked from this page.