1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.edl.impl.service;
17
18 import java.io.InputStream;
19 import java.util.List;
20
21 import javax.xml.transform.Templates;
22 import javax.xml.transform.TransformerConfigurationException;
23
24 import org.kuali.rice.core.framework.impex.xml.XmlExporter;
25 import org.kuali.rice.core.framework.impex.xml.XmlLoader;
26 import org.kuali.rice.edl.impl.EDLController;
27 import org.kuali.rice.edl.impl.bo.EDocLiteAssociation;
28 import org.kuali.rice.edl.impl.bo.EDocLiteDefinition;
29 import org.w3c.dom.Document;
30
31
32 public interface EDocLiteService extends XmlLoader, XmlExporter {
33
34 void saveEDocLiteDefinition(InputStream xml);
35 void saveEDocLiteAssociation(InputStream xml);
36
37 EDocLiteDefinition getEDocLiteDefinition(String defName);
38 EDocLiteAssociation getEDocLiteAssociation(String docType);
39 EDocLiteAssociation getEDocLiteAssociation(Long associationId);
40
41 List<EDocLiteDefinition> getEDocLiteDefinitions();
42 List<EDocLiteAssociation> getEDocLiteAssociations();
43
44 Templates getStyleAsTranslet(String styleName) throws TransformerConfigurationException;
45 List<EDocLiteAssociation> search(EDocLiteAssociation edocLite);
46
47 EDLController getEDLControllerUsingEdlName(String edlName);
48 EDLController getEDLControllerUsingDocumentId(String documentId);
49 void initEDLGlobalConfig();
50 void saveEDocLiteDefinition(EDocLiteDefinition data) ;
51 void saveEDocLiteAssociation(EDocLiteAssociation assoc);
52 Document getDefinitionXml(EDocLiteAssociation edlAssociation);
53 }