1 16 package com.blandware.atleap.persistence.core; 17 18 import com.blandware.atleap.common.util.PartialCollection; 19 import com.blandware.atleap.common.util.QueryInfo; 20 import com.blandware.atleap.model.core.ResourceData; 21 import com.blandware.atleap.model.core.ContentDocument; 22 import com.blandware.atleap.model.core.ContentLocale; 23 import com.blandware.atleap.persistence.exception.DeleteException; 24 25 32 public interface ContentDocumentDAO extends ContentResourceDAO { 33 34 36 44 public Long createContentDocument(ContentDocument contentDocument, ResourceData resourceData, ContentLocale contentLocale); 45 46 52 public ContentDocument retrieveContentDocument(Long contentDocumentId); 53 54 61 public void updateContentDocument(ContentDocument contentDocument, ResourceData resourceData, ContentLocale contentLocale); 62 63 70 public void deleteContentDocument(ContentDocument contentDocument) throws DeleteException; 71 72 74 80 public PartialCollection listContentDocuments(QueryInfo queryInfo); 81 82 83 85 91 public ContentDocument findContentDocumentByUri(String uri); 92 93 94 } 95 | Popular Tags |