|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.edl.service.impl.EDocLiteServiceImpl
public class EDocLiteServiceImpl
DAO-based EDocLiteService implementation
Field Summary | |
---|---|
private EDocLiteDAO |
dao
The Spring-wired DAO bean |
private EDLGlobalConfig |
edlGlobalConfig
|
private static org.apache.log4j.Logger |
LOG
|
private StyleService |
styleService
Spring wired StyleService bean |
Constructor Summary | |
---|---|
EDocLiteServiceImpl()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.log4j.Logger LOG
private EDLGlobalConfig edlGlobalConfig
private EDocLiteDAO dao
private StyleService styleService
Constructor Detail |
---|
public EDocLiteServiceImpl()
Method Detail |
---|
public void setEDocLiteDAO(EDocLiteDAO dao)
public void setStyleService(StyleService styleService)
public EDLController getEDLController(String edlName)
getEDLController
in interface EDocLiteService
public EDLController getEDLController(Long documentId)
getEDLController
in interface EDocLiteService
public void initEDLGlobalConfig()
initEDLGlobalConfig
in interface EDocLiteService
public Document getDefinitionXml(EDocLiteAssociation edlAssociation)
getDefinitionXml
in interface EDocLiteService
private static WorkflowServiceErrorException generateException(String error, Throwable cause)
private static WorkflowServiceErrorException generateMissingAttribException(String element, String attrib)
private static WorkflowServiceErrorException generateMissingChildException(String element, String child)
private static WorkflowServiceErrorException generateSerializationException(String element, TransformerException cause)
private static Document parse(InputStream stream)
stream
- stream containing XML doc content
private static EDocLiteAssociation parseEDocLiteAssociation(Element e)
e
- element to parse
private static EDocLiteDefinition parseEDocLiteDefinition(Element e)
e
- element to parse
public void saveEDocLiteStyle(EDocLiteStyle data)
saveEDocLiteStyle
in interface EDocLiteService
public void saveEDocLiteDefinition(EDocLiteDefinition data)
saveEDocLiteDefinition
in interface EDocLiteService
public void saveEDocLiteAssociation(EDocLiteAssociation assoc)
saveEDocLiteAssociation
in interface EDocLiteService
public void saveEDocLiteStyle(InputStream xml)
saveEDocLiteStyle
in interface EDocLiteService
public void saveEDocLiteDefinition(InputStream xml)
saveEDocLiteDefinition
in interface EDocLiteService
public void saveEDocLiteAssociation(InputStream xml)
saveEDocLiteAssociation
in interface EDocLiteService
public EDocLiteStyle getEDocLiteStyle(String styleName)
getEDocLiteStyle
in interface EDocLiteService
public EDocLiteDefinition getEDocLiteDefinition(String definitionName)
getEDocLiteDefinition
in interface EDocLiteService
public EDocLiteAssociation getEDocLiteAssociation(String docTypeName)
getEDocLiteAssociation
in interface EDocLiteService
public List<String> getEDocLiteStyles()
getEDocLiteStyles
in interface EDocLiteService
public List getEDocLiteDefinitions()
getEDocLiteDefinitions
in interface EDocLiteService
public List getEDocLiteAssociations()
getEDocLiteAssociations
in interface EDocLiteService
public Templates getStyleAsTranslet(String name) throws TransformerConfigurationException
getStyleAsTranslet
in interface EDocLiteService
TransformerConfigurationException
public void removeStyleFromCache(String styleName)
removeStyleFromCache
in interface EDocLiteService
public void removeDefinitionFromCache(String defName)
removeDefinitionFromCache
in interface EDocLiteService
public List search(EDocLiteAssociation edocLite)
search
in interface EDocLiteService
public EDocLiteAssociation getEDocLiteAssociation(Long associationId)
getEDocLiteAssociation
in interface EDocLiteService
public void loadXml(InputStream inputStream, String principalId)
loadXml
in interface XmlLoader
public org.jdom.Element export(ExportDataSet dataSet)
export
in interface XmlExporter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |