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