01: /*
02: * Copyright 2004 Jonathan M. Lehr
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"
11: * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language
12: * governing permissions and limitations under the License.
13: *
14: * MODIFIED BY THE KUALI FOUNDATION
15: */
16: package org.kuali.core.web.struts.pojo;
17:
18: import java.util.Map;
19:
20: import javax.servlet.http.HttpServletRequest;
21:
22: /**
23: * begin Kuali Foundation modification
24: * This interface defines methods that Pojo Forms must provide.
25: * end Kuali Foundation modification
26: */
27: // Kuali Foundation modification: original name: SLForm
28: public interface PojoForm {
29: public void populate(HttpServletRequest request);
30:
31: // begin Kuali Foundation modification
32: // cachedActionErrors() method removed
33: public void postprocessRequestParameters(Map requestParameters);
34:
35: // end Kuali Foundation modification
36:
37: public Map getUnconvertedValues();
38:
39: public Object formatValue(Object value, String keypath, Class type);
40:
41: // begin Kuali Foundation modification
42: public void processValidationFail();
43: // end Kuali Foundation modification
44: }
|