Source Code Cross Referenced for DisplayProfileMBean.java in  » Portal » Open-Portal » com » sun » portal » desktop » admin » mbeans » 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.desktop.admin.mbeans 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * $Id: DisplayProfileMBean.java,
003:         * Copyright 2004 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 Sun ONE
011:         * are trademarks or registered trademarks of Sun Microsystems,
012:         * Inc. in the United States and other countries.
013:         */package com.sun.portal.desktop.admin.mbeans;
014:
015:        import com.sun.portal.admin.common.PSMBeanException;
016:
017:        import java.util.List;
018:        import java.util.Map;
019:        import java.util.Set;
020:
021:        public interface DisplayProfileMBean {
022:
023:            public String getDPPriority(String baseDN) throws PSMBeanException;
024:
025:            public String getDPDocument(String baseDN) throws PSMBeanException;
026:
027:            public Set getExistingProviders(String baseDN)
028:                    throws PSMBeanException;
029:
030:            public Set getTopLevelChannels(String baseDN)
031:                    throws PSMBeanException;
032:
033:            public Object[] getPhysicalHierarchy(String baseDN)
034:                    throws PSMBeanException;
035:
036:            public Object[] getVisualHierarchy(String baseDN,
037:                    String rootContainer) throws PSMBeanException;
038:
039:            public Set getExistingChannels(String baseDN, Boolean all)
040:                    throws PSMBeanException;
041:
042:            public Set getExistingContainers(String baseDN, Boolean all)
043:                    throws PSMBeanException;
044:
045:            public Set getExistingTabContainers(String baseDN, Boolean all)
046:                    throws PSMBeanException;
047:
048:            public Set getExistingContainerProviders(String baseDN)
049:                    throws PSMBeanException;
050:
051:            public Set getAssignableChannels(String baseDN, String container)
052:                    throws PSMBeanException;
053:
054:            public List getAvailableChannels(String baseDN, String containerName)
055:                    throws PSMBeanException;
056:
057:            public List getSelectedChannels(String baseDN, String containerName)
058:                    throws PSMBeanException;
059:
060:            public String getStringProperty(String baseDN, String channelName,
061:                    String key, List pflist) throws PSMBeanException;
062:
063:            public Integer getIntegerProperty(String baseDN,
064:                    String channelName, String key, List pflist)
065:                    throws PSMBeanException;
066:
067:            public Boolean getBooleanProperty(String baseDN,
068:                    String channelName, String key, List pflist)
069:                    throws PSMBeanException;
070:
071:            public Map getMapProperty(String baseDN, String channelName,
072:                    String key, List pflist) throws PSMBeanException;
073:
074:            public List getListProperty(String baseDN, String channelName,
075:                    String key, List pflist) throws PSMBeanException;
076:
077:            /**
078:             * gets the map of property name - infoMap
079:             * name - infoMap {
080:             *      KEY_NAMED = <Boolean - true/false>
081:             *      KEY_VALUE = <Object - value>
082:             *      KEY_TYPE = <short - com.sun.portal.admin.common.DesktopConstants.TYPE_
083:             *                  STRING_PROPERTY/INTEGER_PROPERTY/BOOLEAN_PROPERTY/
084:             *                  COLLECTION_PROPERTY/CONDITIONAL_PROPERTY>
085:             *      KEY_STATE = <String - com.sun.portal.admin.common.DesktopConstants.STATE_
086:             *                   DEFAULT/INHERITED/CUSTOMIZED>
087:             *      KEY_CATEGORY = <Boolean - advanced:true/false>
088:             * 
089:             * @param fqcn Fully Qualified Channel Name
090:             * @param rpn Relative Path Name
091:             * @param dn DN
092:             * @param client Client or Device type like HTML or WML
093:             * @param locale Locale string like en_US_POSIX
094:             * @throws PSMBeanException in case of any errors
095:             */
096:            public Map getNodeProperties(String fqcn, String rpn, String dn,
097:                    String client, String locale) throws PSMBeanException;
098:
099:            public void setDPDocument(String baseDN, String dp)
100:                    throws PSMBeanException;
101:
102:            public void removeDPDocument(String baseDN) throws PSMBeanException;
103:
104:            public void setDPPriority(String baseDN, String priority)
105:                    throws PSMBeanException;
106:
107:            public Boolean isContainer(String baseDN, String channelName)
108:                    throws PSMBeanException;
109:
110:            public Boolean isTabContainer(String baseDN, String channelName)
111:                    throws PSMBeanException;
112:
113:            public void setAvailableChannels(String baseDN, List available,
114:                    String containerName) throws PSMBeanException;
115:
116:            public void setSelectedChannels(String baseDN, List selected,
117:                    String containerName) throws PSMBeanException;
118:
119:            public void setStringProperty(String baseDN, String channelName,
120:                    String key, String value, List pflist)
121:                    throws PSMBeanException;
122:
123:            public void setIntegerProperty(String baseDN, String channelName,
124:                    String key, Integer value, List pflist)
125:                    throws PSMBeanException;
126:
127:            public void setBooleanProperty(String baseDN, String channelName,
128:                    String key, Boolean value, List pflist)
129:                    throws PSMBeanException;
130:
131:            public void setMapProperty(String baseDN, String channelName,
132:                    String key, Map value, List pflist) throws PSMBeanException;
133:
134:            public void setListProperty(String baseDN, String channelName,
135:                    String key, List value, List pflist)
136:                    throws PSMBeanException;
137:
138:            /**
139:             * sets the properties defined in the Object values
140:             * values contains name-value pairs to be set or the List of Strings in 
141:             * case of un-named properties
142:             * A collection can only contain either named or un-named proeperties
143:             * and never a mix of two
144:             *
145:             * @param fqcn Fully Qualified Channel Name
146:             * @param rpn Relative Path Name
147:             * @param dn DN
148:             * @param client Client or Device type like HTML or WML
149:             * @param locale Locale string like en_US_POSIX
150:             * @param values Map of name-value pairs to be changed in case of named
151:             *               properties and List of String values in case of 
152:             *               un-named properties.
153:             * @throws PSMBeanException in case of any errors
154:             */
155:            public void setNodeProperties(String fqcn, String rpn, String dn,
156:                    String client, String locale, Object values)
157:                    throws PSMBeanException;
158:
159:            /**
160:             * removes the customization from this node dp.
161:             * It creates the ChannelTaskAdmin object w/o dp mergers and then
162:             * calls remove so that the entry is physically removed from the dp.
163:             * It does NOT add the property with merge=remove
164:             *
165:             * @param fqcn Fully Qualified Channel Name
166:             * @param rpn Relative Path Name
167:             * @param dn DN
168:             * @param client Client or Device type like HTML or WML
169:             * @param locale Locale string like en_US_POSIX
170:             * @param names List of propety names to be removed from this node's dp
171:             * @throws PSMBeanException in case of any errors
172:             */
173:            public void removeCustomization(String fqcn, String rpn, String dn,
174:                    String client, String locale, List names)
175:                    throws PSMBeanException;
176:
177:            /**
178:             * Creates a new property inside a collection
179:             * Admin does not allow creating a property at channel top level
180:             * This method is used only for creating named properties
181:             * Unnamed properties are created/deleted differently and do not use this 
182:             * method
183:             * The type of property to be created is determined by type
184:             * of Object value.
185:             * All validations like duplicate names and Object value's content are
186:             * expected to be performed by clients calling this method. This method 
187:             * does perform any validations. So the admin is expected to have 
188:             * passed in correct values for all params
189:             *
190:             * @param fqcn Fully Qualified Channel Name
191:             * @param rpn Relative Path Name
192:             * @param dn DN
193:             * @param client Client or Device type like HTML or WML
194:             * @param locale Locale string like en_US_POSIX
195:             * @param name Name of the property. This can be anything that dp-api 
196:             *             allows except char used for collecition name separator
197:             *             which is typically pipe '|'
198:             * @param value Object of types String/Integer/Boolean/Map
199:             * @param advanced Boolean true if the new property should be advanced
200:             * @throws PSMBeanException in case of any errors
201:             */
202:            public void createNodeProperty(String fqcn, String rpn, String dn,
203:                    String client, String locale, String name, Object value,
204:                    Boolean advanced) throws PSMBeanException;
205:
206:            public void createChannel(String baseDN, String channelName,
207:                    String providerName) throws PSMBeanException;
208:
209:            public void createContainer(String baseDN, String channelName,
210:                    String providerName) throws PSMBeanException;
211:
212:            public void createTab(String baseDN, String channelName,
213:                    String providerName, String parentContainer, Map tabProps)
214:                    throws PSMBeanException;
215:
216:            public Set getNonExistentContainerAssignableChannels(String baseDN,
217:                    String parentContainer, String channelName,
218:                    String providerName) throws PSMBeanException;
219:
220:            public void deleteChannel(String baseDN, String channelName,
221:                    String parentcontainer) throws PSMBeanException;
222:
223:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.