| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
|
| 17 | |
package org.kuali.rice.kew.edl.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.kew.edl.EDLController; |
| 26 | |
import org.kuali.rice.kew.edl.bo.EDocLiteAssociation; |
| 27 | |
import org.kuali.rice.kew.edl.bo.EDocLiteDefinition; |
| 28 | |
import org.kuali.rice.kew.edl.bo.EDocLiteStyle; |
| 29 | |
import org.kuali.rice.kew.xml.XmlLoader; |
| 30 | |
import org.kuali.rice.kew.xml.export.XmlExporter; |
| 31 | |
import org.w3c.dom.Document; |
| 32 | |
|
| 33 | |
|
| 34 | |
public interface EDocLiteService extends XmlLoader, XmlExporter { |
| 35 | |
|
| 36 | |
public void saveEDocLiteStyle(InputStream xml); |
| 37 | |
public void saveEDocLiteDefinition(InputStream xml); |
| 38 | |
public void saveEDocLiteAssociation(InputStream xml); |
| 39 | |
|
| 40 | |
public EDocLiteStyle getEDocLiteStyle(String styleName); |
| 41 | |
public EDocLiteDefinition getEDocLiteDefinition(String defName); |
| 42 | |
public EDocLiteAssociation getEDocLiteAssociation(String docType); |
| 43 | |
public EDocLiteAssociation getEDocLiteAssociation(Long associationId); |
| 44 | |
|
| 45 | |
public List<String> getEDocLiteStyles(); |
| 46 | |
public List<EDocLiteDefinition> getEDocLiteDefinitions(); |
| 47 | |
public List<EDocLiteAssociation> getEDocLiteAssociations(); |
| 48 | |
|
| 49 | |
public void removeStyleFromCache(String styleName); |
| 50 | |
public void removeDefinitionFromCache(String edlName); |
| 51 | |
public Templates getStyleAsTranslet(String styleName) throws TransformerConfigurationException; |
| 52 | |
public List<EDocLiteAssociation> search(EDocLiteAssociation edocLite); |
| 53 | |
|
| 54 | |
public EDLController getEDLController(String edlName); |
| 55 | |
public EDLController getEDLController(Long documentTypeId); |
| 56 | |
public void initEDLGlobalConfig(); |
| 57 | |
public void saveEDocLiteStyle(EDocLiteStyle data); |
| 58 | |
public void saveEDocLiteDefinition(EDocLiteDefinition data) ; |
| 59 | |
public void saveEDocLiteAssociation(EDocLiteAssociation assoc); |
| 60 | |
public Document getDefinitionXml(EDocLiteAssociation edlAssociation); |
| 61 | |
} |