|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 EDocLiteServicepublic EDLController getEDLController(Long documentId)
getEDLController in interface EDocLiteServicepublic void initEDLGlobalConfig()
initEDLGlobalConfig in interface EDocLiteServicepublic 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 EDocLiteServicepublic void saveEDocLiteDefinition(EDocLiteDefinition data)
saveEDocLiteDefinition in interface EDocLiteServicepublic void saveEDocLiteAssociation(EDocLiteAssociation assoc)
saveEDocLiteAssociation in interface EDocLiteServicepublic void saveEDocLiteStyle(InputStream xml)
saveEDocLiteStyle in interface EDocLiteServicepublic void saveEDocLiteDefinition(InputStream xml)
saveEDocLiteDefinition in interface EDocLiteServicepublic void saveEDocLiteAssociation(InputStream xml)
saveEDocLiteAssociation in interface EDocLiteServicepublic EDocLiteStyle getEDocLiteStyle(String styleName)
getEDocLiteStyle in interface EDocLiteServicepublic EDocLiteDefinition getEDocLiteDefinition(String definitionName)
getEDocLiteDefinition in interface EDocLiteServicepublic EDocLiteAssociation getEDocLiteAssociation(String docTypeName)
getEDocLiteAssociation in interface EDocLiteServicepublic List<String> getEDocLiteStyles()
getEDocLiteStyles in interface EDocLiteServicepublic List getEDocLiteDefinitions()
getEDocLiteDefinitions in interface EDocLiteServicepublic List getEDocLiteAssociations()
getEDocLiteAssociations in interface EDocLiteService
public Templates getStyleAsTranslet(String name)
throws TransformerConfigurationException
getStyleAsTranslet in interface EDocLiteServiceTransformerConfigurationExceptionpublic void removeStyleFromCache(String styleName)
removeStyleFromCache in interface EDocLiteServicepublic void removeDefinitionFromCache(String defName)
removeDefinitionFromCache in interface EDocLiteServicepublic List search(EDocLiteAssociation edocLite)
search in interface EDocLiteServicepublic EDocLiteAssociation getEDocLiteAssociation(Long associationId)
getEDocLiteAssociation in interface EDocLiteService
public void loadXml(InputStream inputStream,
String principalId)
loadXml in interface XmlLoaderpublic 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 | |||||||||