Class 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 Detail

      • VersioningPreprocessor

        public VersioningPreprocessor()
    • Method Detail

      • updateDOM

        public void updateDOM​(org.w3c.dom.Document dom,
                              org.w3c.dom.Element configElement,
                              EDLContext edlContext)
        Specified by:
        updateDOM in interface EDLModelComponent
      • findCurrentVersion

        public static org.w3c.dom.Element findCurrentVersion​(org.w3c.dom.Document dom)