Java Doc for PortletTaskAdmin.java in  » Portal » Open-Portal » com » sun » portal » taskadmin » 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.taskadmin 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.portal.taskadmin.ChannelTaskAdmin
      com.sun.portal.taskadmin.PortletTaskAdmin

PortletTaskAdmin
public class PortletTaskAdmin extends ChannelTaskAdmin (Code)
This class implements the APIs that can be used to achieve a set of administrative tasks associated with portlets.



Constructor Summary
public  PortletTaskAdmin(HttpServletRequest req, String baseDN)
    
public  PortletTaskAdmin(HttpServletRequest req, DPRoot dpRoot)
    
public  PortletTaskAdmin(SSOToken ssoToken, DPRoot dpRoot)
    
public  PortletTaskAdmin(SSOToken ssoToken, String baseDN, String portalId)
    

Method Summary
public  voidcreatePortletChannel(String channelName, String portletName)
     Creates a new portlet channel. A new channel is created based on the named provider. To create a nested channel, supply a hierarchical channel name.
public  SetgetExistingPortlets()
     This method returns the list of portlets that are existing at the baseDN that is passed in.
public  MapgetPortletPreferenceMap(String portletName)
    
public  SetgetPortletPreferenceNames(String portletName)
    
public  StringgetPortletPreferenceStringValue(String portletName, String prefName)
    
public  ListgetPortletPreferenceValues(String portletName, String prefName)
    
public  booleanisPortletChannel(String channelName)
    
public  voidsetPortletPreferenceStringValue(String portletName, String prefName, String value)
    
public  voidsetPortletPreferenceValues(String portletName, String prefName, String[] values)
    


Constructor Detail
PortletTaskAdmin
public PortletTaskAdmin(HttpServletRequest req, String baseDN) throws TaskAdminException(Code)



PortletTaskAdmin
public PortletTaskAdmin(HttpServletRequest req, DPRoot dpRoot) throws TaskAdminException(Code)



PortletTaskAdmin
public PortletTaskAdmin(SSOToken ssoToken, DPRoot dpRoot) throws TaskAdminException(Code)



PortletTaskAdmin
public PortletTaskAdmin(SSOToken ssoToken, String baseDN, String portalId) throws TaskAdminException(Code)




Method Detail
createPortletChannel
public void createPortletChannel(String channelName, String portletName) throws TaskAdminException(Code)
Creates a new portlet channel. A new channel is created based on the named provider. To create a nested channel, supply a hierarchical channel name. For example, to create channel A inside of container X, based on provider P at baseDN dc=iplanet,dc=com:

createChannel("dc=iplanet,dc=com", "X" + "/" + "A", "P");



getExistingPortlets
public Set getExistingPortlets() throws TaskAdminException(Code)
This method returns the list of portlets that are existing at the baseDN that is passed in. The portletss in this list can be used to create channels by the user that can administer the baseDN that is passed in. Always takes mergers into account. Set of providers that are available at this baseDN.



getPortletPreferenceMap
public Map getPortletPreferenceMap(String portletName) throws TaskAdminException(Code)



getPortletPreferenceNames
public Set getPortletPreferenceNames(String portletName) throws TaskAdminException(Code)



getPortletPreferenceStringValue
public String getPortletPreferenceStringValue(String portletName, String prefName) throws TaskAdminException(Code)



getPortletPreferenceValues
public List getPortletPreferenceValues(String portletName, String prefName) throws TaskAdminException(Code)



isPortletChannel
public boolean isPortletChannel(String channelName) throws TaskAdminException(Code)



setPortletPreferenceStringValue
public void setPortletPreferenceStringValue(String portletName, String prefName, String value) throws TaskAdminException(Code)



setPortletPreferenceValues
public void setPortletPreferenceValues(String portletName, String prefName, String[] values) throws TaskAdminException(Code)



Fields inherited from com.sun.portal.taskadmin.ChannelTaskAdmin
public static short BOOLEAN_DP(Code)(Java Doc)
public static String CHANNEL_NAME_SEPARATOR(Code)(Java Doc)
public static String CLIENT_SEPARATOR(Code)(Java Doc)
public static short COLLECTION_DP(Code)(Java Doc)
public static String COLLECTION_NAME_SEPARATOR(Code)(Java Doc)
public static short CONDITIONAL_DP(Code)(Java Doc)
String CONDITIONAL_PREFIX(Code)(Java Doc)
public static short INTEGER_DP(Code)(Java Doc)
public static short LOCALE_DP(Code)(Java Doc)
protected static String PORTLET_CLASS(Code)(Java Doc)
protected static String REMOTE_PORTLET_CLASS(Code)(Java Doc)
public static short STRING_DP(Code)(Java Doc)
public static short UNKNOWN_DP(Code)(Java Doc)
protected String baseDN(Code)(Java Doc)
protected ChannelTaskAdminContext context(Code)(Java Doc)
protected AdminDPContext dpContext(Code)(Java Doc)
protected boolean dpDocExists(Code)(Java Doc)
final protected static Object dpLock(Code)(Java Doc)
protected DPRoot dpRoot(Code)(Java Doc)
protected boolean dpRootMerged(Code)(Java Doc)

Methods inherited from com.sun.portal.taskadmin.ChannelTaskAdmin
protected boolean canAccess(String channel)(Code)(Java Doc)
public void createChannel(String channelName, String providerName) throws TaskAdminException(Code)(Java Doc)
public void createContainer(String channelName, String providerName) throws TaskAdminException(Code)(Java Doc)
public void createNodeProperty(String fqcn, String rpn, String client, String locale, String name, Object value, Boolean advanced) throws TaskAdminException(Code)(Java Doc)
public void deleteChannel(String channelName, String parentcontainer) throws TaskAdminException(Code)(Java Doc)
protected boolean existsChannel(String channel)(Code)(Java Doc)
protected boolean existsProvider(String provider)(Code)(Java Doc)
public Set getAssignableChannels(String container) throws TaskAdminException(Code)(Java Doc)
public List getAvailableChannels(String containerName) throws TaskAdminException(Code)(Java Doc)
public Set getBaseDNs()(Code)(Java Doc)
public boolean getBooleanProperty(String channelName, String key, List pflist) throws TaskAdminException(Code)(Java Doc)
protected Set getChannelNames(DPNode node)(Code)(Java Doc)
public String getClassName(String channelname) throws TaskAdminException(Code)(Java Doc)
protected DPChannel getDPChannel(String channelName) throws TaskAdminException(Code)(Java Doc)
public String getDPPriority() throws TaskAdminException(Code)(Java Doc)
protected DPRoot getDPRootByDN(String baseDN) throws TaskAdminException(Code)(Java Doc)
protected DPRoot getDPRootByDN(String baseDN, boolean merge, boolean resetData) throws TaskAdminException(Code)(Java Doc)
public Set getExistingChannels(boolean all) throws TaskAdminException(Code)(Java Doc)
public Set getExistingChannels(boolean all, String regExp) throws TaskAdminException(Code)(Java Doc)
public Set getExistingContainerProviders() throws TaskAdminException(Code)(Java Doc)
public Set getExistingContainers(boolean all) throws TaskAdminException(Code)(Java Doc)
public Set getExistingContainers(boolean all, String regExp) throws TaskAdminException(Code)(Java Doc)
public Set getExistingProviders() throws TaskAdminException(Code)(Java Doc)
protected String getFollowing(String source, String substring, String nameSeparator)(Code)(Java Doc)
public Set getGlobalPropertyNames() throws TaskAdminException(Code)(Java Doc)
protected String getHead(String rpn, String nameSeparator)(Code)(Java Doc)
public int getIntegerProperty(String channelName, String key, List pflist) throws TaskAdminException(Code)(Java Doc)
public List getListProperty(String channelName, String key, List pflist) throws TaskAdminException(Code)(Java Doc)
public Map getMapProperty(String channelName, String key, List pflist) throws TaskAdminException(Code)(Java Doc)
public List getMergedDNs()(Code)(Java Doc)
public Map getNodeProperties(String fqcn, String rpn, String client, String locale) throws TaskAdminException(Code)(Java Doc)
protected String getPreceding(String source, String substring, String nameSeparator)(Code)(Java Doc)
public Set getPropertyNames(String channelName, boolean advanced) throws TaskAdminException(Code)(Java Doc)
public Set getPropertyNames(String channelName, String regExp, boolean advanced) throws TaskAdminException(Code)(Java Doc)
public Set getPropertyNames(String channelName, List pflist, boolean advanced) throws TaskAdminException(Code)(Java Doc)
public short getPropertyType(String channelName, String propertyName) throws TaskAdminException(Code)(Java Doc)
protected Set getProviderNames(DPNode node)(Code)(Java Doc)
public ResourceBundle getResourceBundle()(Code)(Java Doc)
public String getRoleName(String roleDN)(Code)(Java Doc)
public List getSelectedChannels(String containerName) throws TaskAdminException(Code)(Java Doc)
public String getStringProperty(String channelName, String key, List pflist) throws TaskAdminException(Code)(Java Doc)
public void init(SSOToken ssoToken, String baseDN, String portalId, boolean merge, boolean resetData) throws TaskAdminException(Code)(Java Doc)
public boolean isContainer(String channelName) throws TaskAdminException(Code)(Java Doc)
protected boolean isDisplayable(String fqcn)(Code)(Java Doc)
public boolean isTabContainer(String channelName) throws TaskAdminException(Code)(Java Doc)
public void removeCustomization(String fqcn, String rpn, String client, String locale, List names) throws TaskAdminException(Code)(Java Doc)
public void setAvailableChannels(List available, String containerName) throws TaskAdminException(Code)(Java Doc)
public void setBooleanProperty(String channelName, String key, boolean value, List pflist) throws TaskAdminException(Code)(Java Doc)
public void setDPPriority(String priority) throws TaskAdminException(Code)(Java Doc)
public void setIntegerProperty(String channelName, String key, int value, List pflist) throws TaskAdminException(Code)(Java Doc)
public void setListProperty(String channelName, String key, List value, List pflist) throws TaskAdminException(Code)(Java Doc)
public void setMapProperty(String channelName, String key, Map value, List pflist) throws TaskAdminException(Code)(Java Doc)
public void setNodeProperties(String fqcn, String rpn, String client, String locale, Object values) throws TaskAdminException(Code)(Java Doc)
public void setSelectedChannels(List selected, String containerName) throws TaskAdminException(Code)(Java Doc)
public void setStringProperty(String channelName, String key, String value, List pflist) throws TaskAdminException(Code)(Java Doc)
public void store() throws TaskAdminException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.