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


com.sun.portal.community.Community

All known Subclasses:   com.sun.portal.community.impl.CommunityImpl,
Community
public interface Community (Code)
A community.




Method Summary
public  voidacceptInvitation(String userId)
     Accepts invitation on a user's behalf.
public  voidaddMember(String userId)
     Adds a member to the community.
public  voidaddOwner(String userId)
     Adds a owner.
public  voidaddUser(String userId, RoleId rid)
     DONT USE THIS METHOD.
public  voidapproveMembershipRequest(String userId)
     Approve the membership request for the user.
public  voidbanUser(String userId)
     Ban a user from the community.
public  voiddenyInvitation(String userId)
     Accepts invitation on a user's behalf.
public  StringgetCategory()
    
public  CommunityIdgetCommunityId()
     Get the community ID of this community.
public  byte[]getDP(DPName rid)
    
public  StringgetDescription()
    
public  SetgetUsers()
     Get the users in this community.
public  SetgetUsers(Set roleIds)
     Get users with the given roles in this community.
public  voidinviteUser(String userId, String message)
    
public  booleanisDeleted()
    
public  booleanisDisabled()
    
public  booleanisListed()
    
public  booleanisMembershipRestricted()
     Return true if the community membership is restricted.
public  booleanisSecure()
     Returns true if the community content is secured based.
public  voidrejectMembershipRequest(String userId)
     Reject the membership request.
public  voidremoveUser(String userId, RoleId rid)
     Remove a user from this community.
public  voidrequestMembership(String userId)
     Register the membership request for a user.
public  voidsetCategory(String category)
    
public  voidsetDeleted(boolean deleted)
    
public  voidsetDescription(String description)
    
public  voidsetDisabled(boolean disabled)
     Set the disabled status of the community.
public  voidsetListed(boolean isListed)
    
public  voidsetMembershipRestricted(boolean isMembershipRestricted)
     Set whether community membership is restricted.
public  voidsetSecure(boolean isSecure)
     Set whether the community content needs to be secured.
public  voidunbanUser(String userId)
     Unban a user from the community.



Method Detail
acceptInvitation
public void acceptInvitation(String userId) throws CommunityServiceException, CommunityException(Code)
Accepts invitation on a user's behalf. This method assigns the user RoleId.MEMBER role.



addMember
public void addMember(String userId) throws CommunityServiceException, CommunityException(Code)
Adds a member to the community. This method assigns the user RoleId.MEMBER role.



addOwner
public void addOwner(String userId) throws CommunityServiceException, CommunityException(Code)
Adds a owner. This method assigns the user RoleId.OWNER role.



addUser
public void addUser(String userId, RoleId rid) throws CommunityServiceException, CommunityException(Code)
DONT USE THIS METHOD. THIS WILL BE REMOVED SOON. Add a user to this community.



approveMembershipRequest
public void approveMembershipRequest(String userId) throws CommunityServiceException, CommunityException(Code)
Approve the membership request for the user. This method assigns the user RoleId.MEMBER role.



banUser
public void banUser(String userId) throws CommunityServiceException, CommunityException(Code)
Ban a user from the community. This method assigns the user RoleId.BANNED role.



denyInvitation
public void denyInvitation(String userId) throws CommunityServiceException, CommunityException(Code)
Accepts invitation on a user's behalf. This method will remove the RoleId.INVITED role.



getCategory
public String getCategory() throws CommunityException(Code)
Get the classification for the community



getCommunityId
public CommunityId getCommunityId()(Code)
Get the community ID of this community.



getDP
public byte[] getDP(DPName rid) throws CommunityException(Code)
Get the display profile for the given dpname



getDescription
public String getDescription() throws CommunityException(Code)
Get the description for the community



getUsers
public Set getUsers() throws CommunityException(Code)
Get the users in this community.



getUsers
public Set getUsers(Set roleIds) throws CommunityException(Code)
Get users with the given roles in this community.



inviteUser
public void inviteUser(String userId, String message) throws CommunityServiceException, CommunityException(Code)
Invite User to the community



isDeleted
public boolean isDeleted() throws CommunityException(Code)
Is the community deleted?



isDisabled
public boolean isDisabled() throws CommunityException(Code)
Is the community disabled?



isListed
public boolean isListed() throws CommunityException(Code)
Returns whether community is listed or not



isMembershipRestricted
public boolean isMembershipRestricted() throws CommunityException(Code)
Return true if the community membership is restricted.



isSecure
public boolean isSecure() throws CommunityException(Code)
Returns true if the community content is secured based.



rejectMembershipRequest
public void rejectMembershipRequest(String userId) throws CommunityServiceException, CommunityException(Code)
Reject the membership request. This method assigns the user RoleId.REJECTED role.



removeUser
public void removeUser(String userId, RoleId rid) throws CommunityServiceException, CommunityException(Code)
Remove a user from this community.



requestMembership
public void requestMembership(String userId) throws CommunityServiceException, CommunityException(Code)
Register the membership request for a user. This method assigns the user RoleId.PENDING role.



setCategory
public void setCategory(String category) throws CommunityException(Code)
Set the classification for the community



setDeleted
public void setDeleted(boolean deleted) throws CommunityServiceException, CommunityException(Code)
Set the deleted status of the community



setDescription
public void setDescription(String description) throws CommunityException(Code)
Set the description for the community



setDisabled
public void setDisabled(boolean disabled) throws CommunityServiceException, CommunityException(Code)
Set the disabled status of the community.



setListed
public void setListed(boolean isListed) throws CommunityException(Code)
Set whether community needs to be listed



setMembershipRestricted
public void setMembershipRestricted(boolean isMembershipRestricted) throws CommunityException(Code)
Set whether community membership is restricted.



setSecure
public void setSecure(boolean isSecure) throws CommunityException(Code)
Set whether the community content needs to be secured.



unbanUser
public void unbanUser(String userId) throws CommunityServiceException, CommunityException(Code)
Unban a user from the community. This method removes the RoleId.BANNED role for the user.



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