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

java.lang.Object
  extended by org.kuali.rice.edl.impl.components.VersioningPreprocessor
All Implemented Interfaces:
EDLModelComponent

public class VersioningPreprocessor
extends Object
implements EDLModelComponent

Versions the data element if necessary by checking 'currentVersion' param on request. If this request is a doc handler request this will configure the dom so the next request will cause the data to be incremented.

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

Constructor Summary
VersioningPreprocessor()
           
 
Method Summary
static Element findCurrentVersion(Document dom)
           
 void updateDOM(Document dom, Element configElement, EDLContext edlContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersioningPreprocessor

public VersioningPreprocessor()
Method Detail

updateDOM

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

findCurrentVersion

public static Element findCurrentVersion(Document dom)


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