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.ContentImage; 21 import com.blandware.atleap.model.core.ResourceData; 22 import com.blandware.atleap.persistence.exception.DeleteException; 23 24 31 public interface ContentImageDAO extends ContentResourceDAO { 32 33 35 42 public Long createContentImage(ContentImage contentImage, ResourceData resourceData); 43 44 50 public ContentImage retrieveContentImage(Long contentImageId); 51 52 58 public void updateContentImage(ContentImage contentImage, ResourceData resourceData); 59 60 67 public void deleteContentImage(ContentImage contentImage) throws DeleteException; 68 69 71 77 public PartialCollection listContentImages(QueryInfo queryInfo); 78 79 80 82 88 public ContentImage findContentImageByUri(String uri); 89 90 91 } 92 | Popular Tags |