Source Code Cross Referenced for SharedServicesUtils.java in  » Portal » Open-Portal » com » sun » portal » app » calendarcommon » common » 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.app.calendarcommon.common 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * Copyright 2002 Sun Microsystems, Inc. All
003:         * rights reserved. Use of this product is subject
004:         * to license terms. Federal Acquisitions:
005:         * Commercial Software -- Government Users
006:         * Subject to Standard License Terms and
007:         * Conditions.
008:         *
009:         * Sun, Sun Microsystems, the Sun logo, and iPlanet
010:         * are trademarks or registered trademarks of Sun Microsystems,
011:         * Inc. in the United States and other countries.
012:         */package com.sun.portal.app.calendarcommon.common;
013:
014:        import java.util.Set;
015:        import javax.faces.context.FacesContext;
016:        import javax.portlet.PortletRequest;
017:
018:        /**
019:         * Utility methods relevant to the Shared services / portlets.
020:         *
021:         * @author    Nigel Jacobs
022:         * @created   May 19, 2005
023:         *
024:         */
025:        public interface SharedServicesUtils {
026:
027:            /**
028:             * The name of the servlet context attribute holding the SharedServicesUtils singleton
029:             */
030:            public static final String SHARED_SVCS_UTILS_CONTEXT_ATTR = "community.services.utils";
031:
032:            /** 
033:             * The searchserverurl    
034:             */
035:            public static final String SEARCH_SERVER_URL_ATTR = "ps.searchserverurl";
036:            /**
037:             * The searchdb
038:             */
039:            public static final String SEARCH_DB_ATTR = "ps.searchdb";
040:
041:            /**
042:             *
043:             */
044:            public static final String SSO_TOKEN_CONTEXT_ATTR = "javax.portlet.portletc.ssotoken";
045:
046:            //public static final String COMMUNITY_ID_PREFS_ATTR = "community.id";
047:
048:            /**
049:             * Get the community id.
050:             * 
051:             * @param request 
052:             * @throws com.sun.portal.app.SharedServices.common.SharedServicesException 
053:             * @return community id.
054:             */
055:            public String getCommunityID(PortletRequest request)
056:                    throws SharedServicesException;
057:
058:            /**
059:             * Get the community id.
060:             * 
061:             * @param context 
062:             * @throws com.sun.portal.app.SharedServices.common.SharedServicesException 
063:             * @return community id.
064:             */
065:            public String getCommunityID(FacesContext context)
066:                    throws SharedServicesException;
067:
068:            /**
069:             * Get the current users community member id.
070:             * 
071:             * @param request 
072:             * @throws com.sun.portal.app.SharedServices.common.SharedServicesException 
073:             * @return member id.
074:             */
075:            public String getCurrentMemberID(PortletRequest request)
076:                    throws SharedServicesException;
077:
078:            /**
079:             * Get the current users community member id.
080:             * 
081:             * @param request 
082:             * @throws com.sun.portal.app.SharedServices.common.SharedServicesException 
083:             * @return member id.
084:             */
085:            public String getCurrentMemberID(FacesContext context)
086:                    throws SharedServicesException;
087:
088:            /**
089:             * Get the ids of all the members of the community, as a set of Strings.
090:             * 
091:             * @param request 
092:             * @return member id Strings.
093:             * @throws com.sun.portal.app.SharedServices.common.SharedServicesException 
094:             */
095:            public Set getMemberIDs(PortletRequest request)
096:                    throws SharedServicesException;
097:
098:            /**
099:             * Get the ids of all the members of the community, as a set of Strings.
100:             * 
101:             * @param context 
102:             * @return member id Strings.
103:             * @throws com.sun.portal.app.SharedServices.common.SharedServicesException 
104:             */
105:            public Set getMemberIDs(FacesContext context)
106:                    throws SharedServicesException;
107:
108:            /**
109:             * Get the URL of the community search server.
110:             * 
111:             * @param request 
112:             * @return url String
113:             * @throws com.sun.portal.app.SharedServices.common.SharedServicesException 
114:             */
115:            public String getSearchServerURL(PortletRequest request)
116:                    throws SharedServicesException;
117:
118:            /**
119:             * Get the URL of the community search server.
120:             * 
121:             * @param context 
122:             * @return url String
123:             * @throws com.sun.portal.app.SharedServices.common.SharedServicesException 
124:             */
125:            public String getSearchServerURL(FacesContext context)
126:                    throws SharedServicesException;
127:
128:            /**
129:             * Get the community search database.
130:             * 
131:             * @param request 
132:             * @return database name
133:             * @throws com.sun.portal.app.SharedServices.common.SharedServicesException 
134:             */
135:            public String getSearchDatabase(PortletRequest request)
136:                    throws SharedServicesException;
137:
138:            /**
139:             * Get the community search database.
140:             * 
141:             * @param context 
142:             * @return database name
143:             * @throws com.sun.portal.app.SharedServices.common.SharedServicesException 
144:             */
145:            public String getSearchDatabase(FacesContext context)
146:                    throws SharedServicesException;
147:
148:            /**
149:             * Clean up the resources.
150:             */
151:            public void destroy();
152:
153:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.