Source Code Cross Referenced for CalendarApplicationHelper.java in  » Portal » Open-Portal » com » sun » portal » providers » calendar » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » Open Portal » com.sun.portal.providers.calendar 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * $Id: CalendarApplicationHelper.java,v 1.9 2003/08/04 14:38:20 byork Exp $
003:         * Copyright 2002 Sun Microsystems, Inc. All
004:         * rights reserved. Use of this product is subject
005:         * to license terms. Federal Acquisitions:
006:         * Commercial Software -- Government Users
007:         * Subject to Standard License Terms and
008:         * Conditions.
009:         *
010:         * Sun, Sun Microsystems, the Sun logo, and iPlanet
011:         * are trademarks or registered trademarks of Sun Microsystems,
012:         * Inc. in the United States and other countries.
013:         */package com.sun.portal.providers.calendar;
014:
015:        import java.net.URL;
016:        import javax.servlet.http.HttpServletRequest;
017:        import javax.servlet.http.HttpServletResponse;
018:        import com.sun.comclient.calendar.VEvent;
019:        import com.sun.comclient.calendar.VTodo;
020:        import com.sun.ssoadapter.SSOAdapter;
021:        import com.sun.portal.providers.context.ProviderContext;
022:        import com.sun.portal.providers.ProviderException;
023:
024:        /**
025:         * <p A CalendarApplicationHelper implementation must provide the following method(s):
026:         * <ul>
027:         * <li>init(...)</li>
028:         * <li>getStartURL(...)</li>
029:         * <li>getEventURL(...)</li>
030:         * <li>getTaskURL(...)</li>
031:         * </ul>
032:         *
033:         * @author John Saare
034:         * @version 1.0
035:         * @see com.sun.ssoadapter.SSOAdapter
036:         *
037:         */
038:
039:        public interface CalendarApplicationHelper {
040:
041:            /**
042:             * Initialize CalendarApplicationHelper.
043:             *
044:             * @param provider    CalendarProvider
045:             * @param ssoAdapter  Used to identify the SSOAdapter
046:             */
047:            public void init(CalendarProvider provider, SSOAdapter ssoAdapter)
048:                    throws Exception;
049:
050:            /**
051:             * Returns the contents of the AddressBookProviders edit page
052:             */
053:            public StringBuffer getAppPrefsEdit(CalendarProvider aprov,
054:                    HttpServletRequest req, HttpServletResponse res);
055:
056:            /**
057:             * Processes values returned from the AddressBookProvider edit page
058:             */
059:            public URL processAppPrefsEdit(CalendarProvider aprov,
060:                    HttpServletRequest req, HttpServletResponse res)
061:                    throws ProviderException;
062:
063:            /**
064:             * Returns the Application Start URL.
065:             *
066:             * @param provider  CalendarProvider
067:             * @param request   HttpServletRequest
068:             * @return url to access application
069:             */
070:            public String getStartURL(CalendarProvider provider,
071:                    HttpServletRequest request);
072:
073:            /**
074:             * Returns client aware URL for event access
075:             * to service associated with a particular instance
076:             * of a CalendarSSOHelper.
077:             *
078:             * @param provider  CalendarProvider
079:             * @param request   HttpServletRequest
080:             * @param event     VEvent
081:             */
082:            public String getEventURL(CalendarProvider provider,
083:                    HttpServletRequest request, VEvent event) throws Exception;
084:
085:            /**
086:             * Returns client aware URL for task access
087:             * to service associated with a particular instance
088:             * of a CalendarSSOHelper.
089:             *
090:             * @param provider  CalendarProvider
091:             * @param request   HttpServletRequest
092:             * @param task      VTodo
093:             */
094:            public String getTaskURL(CalendarProvider provider,
095:                    HttpServletRequest request, VTodo task) throws Exception;
096:
097:            public String getAppHelperEditLink(HttpServletRequest req,
098:                    ProviderContext pc);
099:
100:            /**
101:             * Sets the App Helpers name
102:             */
103:            public void setName(String name);
104:
105:            /**
106:             * Gets the App Helpers name
107:             */
108:            public String getName();
109:
110:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.