org.outerj.daisy.repository.serverimpl.linkextraction
Class LinkExtractorHelper

java.lang.Object
  extended by org.outerj.daisy.repository.serverimpl.linkextraction.LinkExtractorHelper

public class LinkExtractorHelper
extends java.lang.Object


Constructor Summary
LinkExtractorHelper(org.outerj.daisy.repository.Document document, long documentId, long liveVersion, long lastVersion, boolean documentContainsLastVersion, org.outerj.daisy.repository.commonimpl.AuthenticatedUser systemUser, LocalRepositoryManager.Context context)
          Constructor.
 
Method Summary
 java.util.Collection extract()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkExtractorHelper

public LinkExtractorHelper(org.outerj.daisy.repository.Document document,
                           long documentId,
                           long liveVersion,
                           long lastVersion,
                           boolean documentContainsLastVersion,
                           org.outerj.daisy.repository.commonimpl.AuthenticatedUser systemUser,
                           LocalRepositoryManager.Context context)
Constructor.

The boolean documentContainsLastVersion indicates whether the data currently in the document object is the latest version. This is needed because the linkextractor is used during the storage of the document, when the new version does not yet really exist (likewise, that's why we need documentId and liveVersion explicitely).

Method Detail

extract

public java.util.Collection extract()
                             throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © -2012 . All Rights Reserved.