01: /**
02: * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
03: * Use is subject to license terms.
04: */package __PACKAGE__;
05:
06: //
07: import java.net.URL;
08:
09: import javax.servlet.http.HttpServletRequest;
10: import javax.servlet.http.HttpServletResponse;
11:
12: import com.sun.portal.providers.context.ProviderContext;
13: import com.sun.portal.providers.ProfileProviderAdapter;
14: import com.sun.portal.providers.ProviderException;
15:
16: //
17: public class __NAME__ extends ProfileProviderAdapter {
18: //
19: public StringBuffer getContent(HttpServletRequest request,
20: HttpServletResponse response) throws ProviderException {
21: //
22: StringBuffer sbContent = new StringBuffer();
23:
24: // Start: Generate default view content
25:
26: // End: Generate default view content
27:
28: //
29: return sbContent;
30: }
31:
32: public StringBuffer getEdit(HttpServletRequest request,
33: HttpServletResponse response) throws ProviderException {
34: //
35: StringBuffer sbContent = new StringBuffer();
36:
37: // Start: Generate edit view content
38: // If editType property is "edit_complete", please include Cancel and
39: // Finished buttons in your edit view content.
40:
41: // End: Generate edit view content
42:
43: //
44: return sbContent;
45: }
46:
47: public URL processEdit(HttpServletRequest request,
48: HttpServletResponse response) throws ProviderException {
49: //
50:
51: // Hint: You may want to use request.getParameter method.
52:
53: // If you get errornous request parameters, you may want to specify
54: // error page URL.
55: // Re-generate desktop
56: return null;
57: }
58:
59: //
60: //
61: //
62: }
|