1 17 package org.alfresco.repo.content; 18 19 import java.util.Date ; 20 import java.util.Set ; 21 22 import org.alfresco.service.cmr.repository.ContentIOException; 23 import org.alfresco.service.cmr.repository.ContentReader; 24 import org.alfresco.service.cmr.repository.ContentStreamListener; 25 import org.alfresco.service.cmr.repository.ContentWriter; 26 27 51 public interface ContentStore 52 { 53 54 public static final String STORE_PROTOCOL = "store://"; 55 56 69 public boolean exists(String contentUrl) throws ContentIOException; 70 71 85 public ContentReader getReader(String contentUrl) throws ContentIOException; 86 87 109 public ContentWriter getWriter(ContentReader existingContentReader, String newContentUrl) throws ContentIOException; 110 111 116 public Set <String > getUrls() throws ContentIOException; 117 118 128 public Set <String > getUrls(Date createdAfter, Date createdBefore) throws ContentIOException; 129 130 144 public boolean delete(String contentUrl) throws ContentIOException; 145 } 146 | Popular Tags |