Coverage Report - org.kuali.rice.kew.edl.service.EDocLiteService
 
Classes in this File Line Coverage Branch Coverage Complexity
EDocLiteService
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright 2005-2007 The Kuali Foundation
 3  
  *
 4  
  *
 5  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 6  
  * you may not use this file except in compliance with the License.
 7  
  * You may obtain a copy of the License at
 8  
  *
 9  
  * http://www.opensource.org/licenses/ecl2.php
 10  
  *
 11  
  * Unless required by applicable law or agreed to in writing, software
 12  
  * distributed under the License is distributed on an "AS IS" BASIS,
 13  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 14  
  * See the License for the specific language governing permissions and
 15  
  * limitations under the License.
 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  
         //looks like these are here only for tests, the question is why...
 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  
 }