Class VersioningPreprocessor
- java.lang.Object
-
- org.kuali.rice.edl.impl.components.VersioningPreprocessor
-
- All Implemented Interfaces:
EDLModelComponent
public class VersioningPreprocessor extends java.lang.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
Constructors Constructor Description VersioningPreprocessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.w3c.dom.ElementfindCurrentVersion(org.w3c.dom.Document dom)voidupdateDOM(org.w3c.dom.Document dom, org.w3c.dom.Element configElement, EDLContext edlContext)
-
-
-
Method Detail
-
updateDOM
public void updateDOM(org.w3c.dom.Document dom, org.w3c.dom.Element configElement, EDLContext edlContext)- Specified by:
updateDOMin interfaceEDLModelComponent
-
findCurrentVersion
public static org.w3c.dom.Element findCurrentVersion(org.w3c.dom.Document dom)
-
-