org.outerj.daisy.repository.serverimpl.linkextraction
Class LinkCollectorImpl
java.lang.Object
org.outerj.daisy.repository.serverimpl.linkextraction.LinkCollectorImpl
- All Implemented Interfaces:
- org.outerj.daisy.linkextraction.LinkCollector
public class LinkCollectorImpl
- extends java.lang.Object
- implements org.outerj.daisy.linkextraction.LinkCollector
Constructor Summary |
protected |
LinkCollectorImpl(long sourceDocId,
long sourceBranchId,
long sourceLanguageId,
org.outerj.daisy.repository.commonimpl.variant.CommonVariantManager variantManager,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser systemUser)
|
Method Summary |
void |
addLink(org.outerj.daisy.linkextraction.LinkType linkType,
long documentId,
long branchId,
long languageId)
|
void |
addLink(org.outerj.daisy.linkextraction.LinkType linkType,
long targetDocId,
long targetBranchId,
long targetLanguageId,
long version)
|
void |
addLink(org.outerj.daisy.linkextraction.LinkType linkType,
java.lang.String daisyLink)
|
protected void |
changeTo(long sourcePartId,
boolean inLastVersion,
boolean inLiveVersion)
|
long |
getBranchId(java.lang.String branchNameOrId)
|
protected long[] |
getDaisyLink(java.lang.String link)
|
long |
getLanguageId(java.lang.String languageNameOrId)
|
java.util.Collection |
getLinks()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkCollectorImpl
protected LinkCollectorImpl(long sourceDocId,
long sourceBranchId,
long sourceLanguageId,
org.outerj.daisy.repository.commonimpl.variant.CommonVariantManager variantManager,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser systemUser)
changeTo
protected void changeTo(long sourcePartId,
boolean inLastVersion,
boolean inLiveVersion)
addLink
public void addLink(org.outerj.daisy.linkextraction.LinkType linkType,
long targetDocId,
long targetBranchId,
long targetLanguageId,
long version)
- Specified by:
addLink
in interface org.outerj.daisy.linkextraction.LinkCollector
addLink
public void addLink(org.outerj.daisy.linkextraction.LinkType linkType,
java.lang.String daisyLink)
- Specified by:
addLink
in interface org.outerj.daisy.linkextraction.LinkCollector
addLink
public void addLink(org.outerj.daisy.linkextraction.LinkType linkType,
long documentId,
long branchId,
long languageId)
getBranchId
public long getBranchId(java.lang.String branchNameOrId)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getBranchId
in interface org.outerj.daisy.linkextraction.LinkCollector
- Throws:
org.outerj.daisy.repository.RepositoryException
getLanguageId
public long getLanguageId(java.lang.String languageNameOrId)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getLanguageId
in interface org.outerj.daisy.linkextraction.LinkCollector
- Throws:
org.outerj.daisy.repository.RepositoryException
getLinks
public java.util.Collection getLinks()
getDaisyLink
protected long[] getDaisyLink(java.lang.String link)
Copyright © -2012 . All Rights Reserved.