com.rapidtransform.doc.service
Interface DocumentedService<DocumentedType extends Model>

All Known Subinterfaces:
ItemService, ProductService
All Known Implementing Classes:
ItemServiceImpl, ProductServiceImpl

public interface DocumentedService<DocumentedType extends Model>

Author:
Steve Werner

Method Summary
 Relation<DocumentedType,Document> addDocument(Documented source, Document target, java.lang.String relationType)
           
 java.util.Collection<Document> getDocuments(java.lang.String relationQname, java.lang.String documentedId)
           
 

Method Detail

addDocument

Relation<DocumentedType,Document> addDocument(Documented source,
                                              Document target,
                                              java.lang.String relationType)
                                                            throws ConveloException
Throws:
ConveloException

getDocuments

java.util.Collection<Document> getDocuments(java.lang.String relationQname,
                                            java.lang.String documentedId)
                                            throws ConveloException
Throws:
ConveloException