org.kuali.rice.edl.impl.components
Class SimpleWorkflowEDLConfigComponent

java.lang.Object
  extended by org.kuali.rice.edl.impl.components.SimpleWorkflowEDLConfigComponent
All Implemented Interfaces:
EDLModelComponent
Direct Known Subclasses:
AttributeEDLConfigComponent, GlobalAttributeComponent, NetworkIdWorkflowEDLConfigComponent, UniversityIdWorkflowEDLConfigComponent, ValidationComponent, WorkgroupWorkflowEDLConfigComponent

public class SimpleWorkflowEDLConfigComponent
extends Object
implements EDLModelComponent

Matches request params to fields defined in edl configs. Places matched value on the dom for rendering. Places currentDefinitionElement definition ( the element used to get the param from the request) element on the dom for rendering. This is the base EDL Config Component for dealing with defined elements in an edl definition. Most custom edl element behavior can be achieved by subclassing this.

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

Field Summary
protected  Element definitionElement
           
 
Constructor Summary
SimpleWorkflowEDLConfigComponent()
           
 
Method Summary
 Element getDefinitionElement()
           
 EDLContext getEdlContext()
           
 String getErrorMessage(Element originalConfigElement, RequestParser requestParser, MatchingParam matchingParam)
           
 List getMatchingParams(Element originalConfigElement, RequestParser requestParser, EDLContext edlContext)
           
 Element getReplacementConfigElement(Element element)
           
 void setDefinitionElement(Element definitionElement)
           
 void setEdlContext(EDLContext edlContext)
           
 void updateDOM(Document dom, Element currentDefinitionElement, EDLContext edlContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

definitionElement

protected Element definitionElement
Constructor Detail

SimpleWorkflowEDLConfigComponent

public SimpleWorkflowEDLConfigComponent()
Method Detail

updateDOM

public void updateDOM(Document dom,
                      Element currentDefinitionElement,
                      EDLContext edlContext)
Specified by:
updateDOM in interface EDLModelComponent

getReplacementConfigElement

public Element getReplacementConfigElement(Element element)

getMatchingParams

public List getMatchingParams(Element originalConfigElement,
                              RequestParser requestParser,
                              EDLContext edlContext)

getErrorMessage

public String getErrorMessage(Element originalConfigElement,
                              RequestParser requestParser,
                              MatchingParam matchingParam)

getDefinitionElement

public Element getDefinitionElement()

setDefinitionElement

public void setDefinitionElement(Element definitionElement)

getEdlContext

public EDLContext getEdlContext()

setEdlContext

public void setEdlContext(EDLContext edlContext)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.