org.kuali.rice.kew.edl.service.impl
Class EDocLiteServiceImpl

java.lang.Object
  extended by org.kuali.rice.kew.edl.service.impl.EDocLiteServiceImpl
All Implemented Interfaces:
EDocLiteService, XmlExporter, XmlLoader

public class EDocLiteServiceImpl
extends Object
implements EDocLiteService

DAO-based EDocLiteService implementation

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
EDocLiteServiceImpl()
           
 
Method Summary
 org.jdom.Element export(ExportDataSet dataSet)
           
 Document getDefinitionXml(EDocLiteAssociation edlAssociation)
           
 EDLController getEDLController(Long documentId)
           
 EDLController getEDLController(String edlName)
           
 EDocLiteAssociation getEDocLiteAssociation(Long associationId)
           
 EDocLiteAssociation getEDocLiteAssociation(String docTypeName)
           
 List getEDocLiteAssociations()
           
 EDocLiteDefinition getEDocLiteDefinition(String definitionName)
           
 List getEDocLiteDefinitions()
           
 EDocLiteStyle getEDocLiteStyle(String styleName)
           
 List<String> getEDocLiteStyles()
           
 Templates getStyleAsTranslet(String name)
           
 void initEDLGlobalConfig()
           
 void loadXml(InputStream inputStream, String principalId)
           
 void removeDefinitionFromCache(String defName)
           
 void removeStyleFromCache(String styleName)
           
 void saveEDocLiteAssociation(EDocLiteAssociation assoc)
           
 void saveEDocLiteAssociation(InputStream xml)
           
 void saveEDocLiteDefinition(EDocLiteDefinition data)
           
 void saveEDocLiteDefinition(InputStream xml)
           
 void saveEDocLiteStyle(EDocLiteStyle data)
           
 void saveEDocLiteStyle(InputStream xml)
           
 List search(EDocLiteAssociation edocLite)
           
 void setEDocLiteDAO(EDocLiteDAO dao)
           
 void setStyleService(StyleService styleService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EDocLiteServiceImpl

public EDocLiteServiceImpl()
Method Detail

setEDocLiteDAO

public void setEDocLiteDAO(EDocLiteDAO dao)

setStyleService

public void setStyleService(StyleService styleService)

getEDLController

public EDLController getEDLController(String edlName)
Specified by:
getEDLController in interface EDocLiteService

getEDLController

public EDLController getEDLController(Long documentId)
Specified by:
getEDLController in interface EDocLiteService

initEDLGlobalConfig

public void initEDLGlobalConfig()
Specified by:
initEDLGlobalConfig in interface EDocLiteService

getDefinitionXml

public Document getDefinitionXml(EDocLiteAssociation edlAssociation)
Specified by:
getDefinitionXml in interface EDocLiteService

saveEDocLiteStyle

public void saveEDocLiteStyle(EDocLiteStyle data)
Specified by:
saveEDocLiteStyle in interface EDocLiteService

saveEDocLiteDefinition

public void saveEDocLiteDefinition(EDocLiteDefinition data)
Specified by:
saveEDocLiteDefinition in interface EDocLiteService

saveEDocLiteAssociation

public void saveEDocLiteAssociation(EDocLiteAssociation assoc)
Specified by:
saveEDocLiteAssociation in interface EDocLiteService

saveEDocLiteStyle

public void saveEDocLiteStyle(InputStream xml)
Specified by:
saveEDocLiteStyle in interface EDocLiteService

saveEDocLiteDefinition

public void saveEDocLiteDefinition(InputStream xml)
Specified by:
saveEDocLiteDefinition in interface EDocLiteService

saveEDocLiteAssociation

public void saveEDocLiteAssociation(InputStream xml)
Specified by:
saveEDocLiteAssociation in interface EDocLiteService

getEDocLiteStyle

public EDocLiteStyle getEDocLiteStyle(String styleName)
Specified by:
getEDocLiteStyle in interface EDocLiteService

getEDocLiteDefinition

public EDocLiteDefinition getEDocLiteDefinition(String definitionName)
Specified by:
getEDocLiteDefinition in interface EDocLiteService

getEDocLiteAssociation

public EDocLiteAssociation getEDocLiteAssociation(String docTypeName)
Specified by:
getEDocLiteAssociation in interface EDocLiteService

getEDocLiteStyles

public List<String> getEDocLiteStyles()
Specified by:
getEDocLiteStyles in interface EDocLiteService

getEDocLiteDefinitions

public List getEDocLiteDefinitions()
Specified by:
getEDocLiteDefinitions in interface EDocLiteService

getEDocLiteAssociations

public List getEDocLiteAssociations()
Specified by:
getEDocLiteAssociations in interface EDocLiteService

getStyleAsTranslet

public Templates getStyleAsTranslet(String name)
                             throws TransformerConfigurationException
Specified by:
getStyleAsTranslet in interface EDocLiteService
Throws:
TransformerConfigurationException

removeStyleFromCache

public void removeStyleFromCache(String styleName)
Specified by:
removeStyleFromCache in interface EDocLiteService

removeDefinitionFromCache

public void removeDefinitionFromCache(String defName)
Specified by:
removeDefinitionFromCache in interface EDocLiteService

search

public List search(EDocLiteAssociation edocLite)
Specified by:
search in interface EDocLiteService

getEDocLiteAssociation

public EDocLiteAssociation getEDocLiteAssociation(Long associationId)
Specified by:
getEDocLiteAssociation in interface EDocLiteService

loadXml

public void loadXml(InputStream inputStream,
                    String principalId)
Specified by:
loadXml in interface XmlLoader

export

public org.jdom.Element export(ExportDataSet dataSet)
Specified by:
export in interface XmlExporter


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.