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


java.lang.Object
   com.sun.portal.community.impl.CommunityManagerImpl

CommunityManagerImpl
public class CommunityManagerImpl implements CommunityManager(Code)



Constructor Summary
public  CommunityManagerImpl(HttpServletRequest request, HttpServletResponse response, SSOToken ssoToken)
     Initialize CommunityManager from a servlet environment where it's assumed that there is only one portal accessible in the JVM.

Method Summary
public  voidcreateCommunity(CommunityId cid, String templateId, String category, String description, boolean isMembershipRestricted, boolean isSecure, boolean isListed)
    
public  voidcreateCommunity(CommunityId cid, String ownerId, String templateId, String category, String description, boolean isMembershipRestricted, boolean isSecure, boolean isListed)
     Create a new community.
protected  CMCNodecreateCommunityNode(CommunityId cid)
     Create a new community node if it's supported.
public  voiddestroyCommunity(CommunityId cid)
     Undo whatever createCommunity() has done.
public  voiddestroyCommunity(CommunityId cid, boolean cont)
     Undo whatever createCommunity() has done.
public  booleanexistsCommunity(CommunityId cid)
    
public  StringgetContentsSearchDb(CommunityId cid)
    
public  ListgetContentsSearchDbs(CommunityId cid)
    
public  StringgetDiscussionsSearchDb(CommunityId cid)
    
public  intgetDpBasePriority()
    
 StringgetPortalId()
     Get the portal ID. The system will use the default portal ID system property, or the portalId field, if it is set.
public  StringgetSearchDb()
    
public  StringgetSearchDbPrefix()
    
public  StringgetSearchTaxonomyRoot()
    
public  StringgetSearchUrl()
    
public  MapgetUserCounts(Set communityIds)
    
public  voidlogRecord(Logger logger, Level level, String msgKey, Throwable th, Object parameter)
    
public  voidlogRecord(Logger logger, Level level, String msgKey, Throwable th, Object[] parameters)
    
public  Setmatch(Pattern p, boolean nameOnly)
    
protected  voidremoveCommunityNode(CMCNode cNode)
     Remove community node if it's supported.
public  voidsetPortalId(String portalId)
     Set portal ID to use in this object.


Constructor Detail
CommunityManagerImpl
public CommunityManagerImpl(HttpServletRequest request, HttpServletResponse response, SSOToken ssoToken) throws CommunityException(Code)
Initialize CommunityManager from a servlet environment where it's assumed that there is only one portal accessible in the JVM.
Parameters:
  request -
Parameters:
  response -
Parameters:
  ssoToken -
throws:
  com.sun.portal.community.mgmt.CommunityException -




Method Detail
createCommunity
public void createCommunity(CommunityId cid, String templateId, String category, String description, boolean isMembershipRestricted, boolean isSecure, boolean isListed) throws CommunityServiceException, CommunityException(Code)



createCommunity
public void createCommunity(CommunityId cid, String ownerId, String templateId, String category, String description, boolean isMembershipRestricted, boolean isSecure, boolean isListed) throws CommunityServiceException, CommunityException(Code)
Create a new community. Here are high-level tasks: 1. Initialize a new Membership Node 2. Retrieve template for each role 3. Walk down the template for each role and collect (absolute) channel names - this would be the union set of channel names gathered from the templates. 4. Create merged dpRoot for each role: (role_template_DP + global_DP) 5. Provision service corresponding to each channel in the set 6. Set community DP for each role 7. Add a new classification into search DB 8. Creator of the community joins the community
Parameters:
  name - name of the community
Parameters:
  description - description of the community
Parameters:
  category - category where the community is to be inserted
Parameters:
  templateId - ID of the template to represent the layout of the community



createCommunityNode
protected CMCNode createCommunityNode(CommunityId cid) throws CommunityException(Code)
Create a new community node if it's supported. An exception is thrown if it's not a supported operation.
Parameters:
  name - name of the community to be created
throws:
  com.sun.portal.community.mgmt.CommunityException - a newly created CommunityNode



destroyCommunity
public void destroyCommunity(CommunityId cid) throws CommunityServiceException, CommunityException(Code)
Undo whatever createCommunity() has done.
Parameters:
  CommunityId - ID of the community to remove



destroyCommunity
public void destroyCommunity(CommunityId cid, boolean cont) throws CommunityServiceException, CommunityException(Code)
Undo whatever createCommunity() has done.
Parameters:
  CommunityId - ID of the community to remove
Parameters:
  cont - flag indicating whether remove process should continue on when any of its subprocess fails



existsCommunity
public boolean existsCommunity(CommunityId cid) throws CommunityException(Code)
Does the community exist?
Parameters:
  communityName - Name of the community



getContentsSearchDb
public String getContentsSearchDb(CommunityId cid)(Code)



getContentsSearchDbs
public List getContentsSearchDbs(CommunityId cid) throws CommunityException(Code)
List of Strings -- name of community content databases



getDiscussionsSearchDb
public String getDiscussionsSearchDb(CommunityId cid)(Code)



getDpBasePriority
public int getDpBasePriority()(Code)



getPortalId
String getPortalId()(Code)
Get the portal ID. The system will use the default portal ID system property, or the portalId field, if it is set. Clients that do not wish to use the portal ID system property should call setPortalId() before using this object.



getSearchDb
public String getSearchDb()(Code)



getSearchDbPrefix
public String getSearchDbPrefix()(Code)



getSearchTaxonomyRoot
public String getSearchTaxonomyRoot()(Code)



getSearchUrl
public String getSearchUrl()(Code)



getUserCounts
public Map getUserCounts(Set communityIds) throws CommunityException(Code)



logRecord
public void logRecord(Logger logger, Level level, String msgKey, Throwable th, Object parameter)(Code)



logRecord
public void logRecord(Logger logger, Level level, String msgKey, Throwable th, Object[] parameters)(Code)



match
public Set match(Pattern p, boolean nameOnly) throws CommunityException(Code)



removeCommunityNode
protected void removeCommunityNode(CMCNode cNode) throws CommunityException(Code)
Remove community node if it's supported. An exception is thrown if it's not a supported operation.
Parameters:
  cNode - CommunityNode to remove
throws:
  com.sun.portal.community.mgmt.CommunityException -



setPortalId
public void setPortalId(String portalId)(Code)
Set portal ID to use in this object. If set, this portal ID overrides the default portal ID system property.



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.