@Repository
@Transactional
public class DocRepository
extends java.lang.Object
| Constructor and Description |
|---|
DocRepository(MetaRepository metaRepository,
PropertyRepository propertyRepository,
HtmlDocContentRepository htmlDocContentRepository,
DocumentUrlRepository documentUrlRepository,
DocumentFileRepository documentFileRepository) |
public DocRepository(MetaRepository metaRepository, PropertyRepository propertyRepository, HtmlDocContentRepository htmlDocContentRepository, DocumentUrlRepository documentUrlRepository, DocumentFileRepository documentFileRepository)
public void touch(VersionRef docIdentity, UserDomainObject user)
public void touch(VersionRef docIdentity, UserDomainObject user, java.util.Date date)
public void insertPropertyIfNotExists(int docId,
java.lang.String name,
java.lang.String value)
public void deleteHtmlDocContent(DocRef docIdentity)
public java.util.List<DocumentFileJPA> getFileDocContent(DocRef docIdentity)
public DocumentFileJPA saveFileDocFile(DocumentFileJPA fileDocItem)
public void deleteFileDocContent(DocRef docIdentity)
public HtmlDocContent getHtmlDocContent(DocRef docIdentity)
public HtmlDocContent saveHtmlDocContent(HtmlDocContent content)
public DocumentUrlJPA getUrlDocContent(DocRef docIdentity)
public DocumentUrlJPA saveUrlDocContent(DocumentUrlJPA reference)
public void deleteDocument(int docId)
public java.util.List<java.lang.Integer> getAllDocumentIds()
public java.util.List<java.lang.Integer> getDocumentIdsInRange(int min,
int max)
public java.lang.Integer getMaxDocumentId()
public java.lang.Integer getMinDocumentId()
public java.lang.Integer[] getMinMaxDocumentIds()