1 17 package org.alfresco.service.cmr.repository; 18 19 import org.alfresco.service.cmr.dictionary.InvalidTypeException; 20 import org.alfresco.service.namespace.QName; 21 22 43 public interface ContentService 44 { 45 61 public ContentReader getReader(NodeRef nodeRef, QName propertyQName) 62 throws InvalidNodeRefException, InvalidTypeException; 63 64 82 public ContentWriter getWriter(NodeRef nodeRef, QName propertyQName, boolean update) 83 throws InvalidNodeRefException, InvalidTypeException; 84 85 91 public ContentWriter getTempWriter(); 92 93 107 public void transform(ContentReader reader, ContentWriter writer) 108 throws NoTransformerException, ContentIOException; 109 110 123 public boolean isTransformable(ContentReader reader, ContentWriter writer); 124 } 125 | Popular Tags |