@Service
@Transactional(propagation=SUPPORTS)
public class TextDocumentContentLoader
extends java.lang.Object
| Constructor and Description |
|---|
TextDocumentContentLoader(VersionRepository versionRepository,
TextRepository textRepository,
TextHistoryRepository textHistoryRepository,
ImageRepository imageRepository,
TextDocumentTemplateRepository textDocumentTemplateRepository,
LanguageRepository languageRepository,
DocumentLanguageMapper languageMapper,
LoopService loopService) |
public TextDocumentContentLoader(VersionRepository versionRepository, TextRepository textRepository, TextHistoryRepository textHistoryRepository, ImageRepository imageRepository, TextDocumentTemplateRepository textDocumentTemplateRepository, LanguageRepository languageRepository, DocumentLanguageMapper languageMapper, LoopService loopService)
public java.util.Map<java.lang.Integer,TextDomainObject> getTexts(DocRef docRef)
public java.util.Map<TextDocumentDomainObject.LoopItemRef,TextDomainObject> getLoopTexts(DocRef docRef)
public java.util.Collection<TextHistoryJPA> getTextHistory(DocRef docRef, int textNo)
Version, LanguageJPA, and text iddocRef - DocRef itemtextNo - text idSet<TextHistoryJPA< of text historyVersion,
LanguageJPA,
DocRef,
DocumentDomainObjectpublic java.util.Collection<TextHistoryJPA> getTextHistory(DocRef docRef, LoopEntryRefJPA loopEntryRef, int textNo)
docRef - DocRef itemtextNo - text idCollection<TextHistoryJPA> of text historyVersion,
LanguageJPA,
DocRef,
LoopEntryRefJPA,
DocumentDomainObjectpublic TextDomainObject getText(DocRef docRef, int textNo)
public java.util.Map<java.lang.Integer,ImageDomainObject> getImages(DocRef docRef)
public java.util.Map<TextDocumentDomainObject.LoopItemRef,ImageDomainObject> getLoopImages(DocRef docRef)
public java.util.Map<DocumentLanguage,ImageDomainObject> getImages(VersionRef versionRef, int imageNo, LoopEntryRef loopEntryRef)
public java.util.Map<DocumentLanguage,ImageDomainObject> getImages(VersionRef versionRef, int imageNo)
public java.util.Map<DocumentLanguage,ImageDomainObject> getLoopImages(VersionRef versionRef, TextDocumentDomainObject.LoopItemRef loopItemRef)
public ImageDomainObject getImage(DocRef docRef, int imageNo, LoopEntryRef loopEntryRef)
public ImageDomainObject getImage(DocRef docRef, int imageNo)
public ImageDomainObject getLoopImage(DocRef docRef, TextDocumentDomainObject.LoopItemRef loopItemRef)
public java.util.Map<java.lang.Integer,Loop> getLoops(VersionRef versionRef)