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


java.lang.Object
   com.sun.portal.app.communityportlets.faces.CommunityBaseHandler
      com.sun.portal.app.communityportlets.faces.CommunityInfoHandler

CommunityInfoHandler
public class CommunityInfoHandler extends CommunityBaseHandler (Code)
Backing bean for table examples.


Field Summary
final public static  StringCOMMUNITY_INFO_MESSAGES_RESOURCE_BUNDLE_NAME
    
final public static  RoleId[]roleList
    

Constructor Summary
public  CommunityInfoHandler()
     Default constructor.
public  CommunityInfoHandler(boolean isOwner, int members)
     default constructor.

Method Summary
public  voidacceptInvitation()
    
public  Stringcancel()
    
public  Stringdelete()
    
public  voiddenyInvitation()
    
public  StringdoSaveAccess()
    
public  StringgetAccessType()
    
public  StringgetAlertDetail()
    
public  StringgetAlertSummary()
    
public  StringgetDescription()
    
public  StringgetHomeURL()
    
public  StringgetListingMode()
    
public  intgetMembers()
    
public  StringgetMembershipMode()
    
public  StringgetName()
    
protected  ObjectgetPortletSessionAttribute(String key)
    
public  RoleIdgetRole()
     Get user's highest role in current community since this bean will be a session bean, we need getRole() to get the latest role However, it will only be called once, and rest of rendering process should use local variable role for performance purpose.
public  StringgetSecureMode()
    
public  StringgoCommunityHome()
    
public  booleanisManagePrivilege()
    
public  booleanisSearchRequested()
    
public  booleanisShowAlert()
    
public  booleanisShowDelete()
    
public  booleanisShowInvitation()
    
public  booleanisShowJoin()
    
public  booleanisShowLeave()
    
public  booleanisShowRequest()
    
public  Stringjoin()
    
public  Stringleave()
    
public  voidrequestMembership()
    
public  voidsetAccessType(String value)
    
public  voidsetAlertDetail(String alertDetail)
    
public  voidsetAlertSummary(String alertSummary)
    
public  voidsetDescription(String description)
    
public  voidsetListingMode(String value)
    
public  voidsetMembershipMode(String value)
    
public  voidsetSecureMode(String value)
    
public  voidsetShowAlert(boolean b)
    

Field Detail
COMMUNITY_INFO_MESSAGES_RESOURCE_BUNDLE_NAME
final public static String COMMUNITY_INFO_MESSAGES_RESOURCE_BUNDLE_NAME(Code)



roleList
final public static RoleId[] roleList(Code)




Constructor Detail
CommunityInfoHandler
public CommunityInfoHandler()(Code)
Default constructor.



CommunityInfoHandler
public CommunityInfoHandler(boolean isOwner, int members)(Code)
default constructor.




Method Detail
acceptInvitation
public void acceptInvitation()(Code)



cancel
public String cancel()(Code)
cancel current operation



delete
public String delete()(Code)
delete community if not owner, show error message



denyInvitation
public void denyInvitation()(Code)



doSaveAccess
public String doSaveAccess()(Code)



getAccessType
public String getAccessType()(Code)



getAlertDetail
public String getAlertDetail()(Code)



getAlertSummary
public String getAlertSummary()(Code)



getDescription
public String getDescription()(Code)



getHomeURL
public String getHomeURL()(Code)



getListingMode
public String getListingMode()(Code)



getMembers
public int getMembers()(Code)
Get community number of members



getMembershipMode
public String getMembershipMode()(Code)



getName
public String getName()(Code)



getPortletSessionAttribute
protected Object getPortletSessionAttribute(String key)(Code)



getRole
public RoleId getRole()(Code)
Get user's highest role in current community since this bean will be a session bean, we need getRole() to get the latest role However, it will only be called once, and rest of rendering process should use local variable role for performance purpose.



getSecureMode
public String getSecureMode()(Code)



goCommunityHome
public String goCommunityHome() throws AbortProcessingException(Code)



isManagePrivilege
public boolean isManagePrivilege()(Code)



isSearchRequested
public boolean isSearchRequested()(Code)



isShowAlert
public boolean isShowAlert()(Code)
return true if request param "infoAlert=true" false otherwise



isShowDelete
public boolean isShowDelete()(Code)
check if leave action is possible only owner can delete



isShowInvitation
public boolean isShowInvitation()(Code)
show invitation only if not in alert mode and user has invited role



isShowJoin
public boolean isShowJoin()(Code)
show join button only if not in alert mode user has visitor role community is not membership restricted



isShowLeave
public boolean isShowLeave()(Code)
check if leave action is possible owner cannot leave



isShowRequest
public boolean isShowRequest()(Code)
show membership request only if not in alert mode user has visitor role community is membership restricted



join
public String join()(Code)
Join the current community if already member do nothing



leave
public String leave() throws Throwable(Code)
leave the current community if not member do nothing



requestMembership
public void requestMembership()(Code)



setAccessType
public void setAccessType(String value)(Code)



setAlertDetail
public void setAlertDetail(String alertDetail)(Code)



setAlertSummary
public void setAlertSummary(String alertSummary)(Code)



setDescription
public void setDescription(String description)(Code)



setListingMode
public void setListingMode(String value)(Code)



setMembershipMode
public void setMembershipMode(String value)(Code)



setSecureMode
public void setSecureMode(String value)(Code)



setShowAlert
public void setShowAlert(boolean b)(Code)



Fields inherited from com.sun.portal.app.communityportlets.faces.CommunityBaseHandler
final public static String CATEGORY_ID_SESSION_ATTRIBUTE_KEY(Code)(Java Doc)
final public static String CATEGORY_SESSION_ATTRIBUTE_KEY(Code)(Java Doc)
final public static String COMMUNITY_CREATED_DELETE_NOTIFICATION_SESSION_ATTRIBUTE_KEY(Code)(Java Doc)
final public static String COMMUNITY_MESSAGES_RESOURCE_BUNDLE_NAME(Code)(Java Doc)
final public static String COMMUNITY_PORTLETS_CONFIG_FILE(Code)(Java Doc)
protected Locale userLocale(Code)(Java Doc)
protected String userName(Code)(Java Doc)

Methods inherited from com.sun.portal.app.communityportlets.faces.CommunityBaseHandler
public String getAppContext()(Code)(Java Doc)
protected Community getCommunity() throws CommunityException(Code)(Java Doc)
protected Community getCommunity(CommunityId cid) throws CommunityException(Code)(Java Doc)
protected CommunityId getCommunityId()(Code)(Java Doc)
protected CommunityManager getCommunityManager()(Code)(Java Doc)
protected CommunityUser getCommunityUser()(Code)(Java Doc)
protected CommunityUser getCommunityUser(String userID)(Code)(Java Doc)
protected String getConfigParameter(String key)(Code)(Java Doc)
protected static ExternalContext getExternalContext()(Code)(Java Doc)
protected FacesMessage getFacesMessage(FacesContext context, String key)(Code)(Java Doc)
protected static HttpServletRequest getHttpServletRequest()(Code)(Java Doc)
protected static HttpServletResponse getHttpServletResponse()(Code)(Java Doc)
protected String getMessage(FacesContext context, String key)(Code)(Java Doc)
protected String getPortalId()(Code)(Java Doc)
protected String getPreference(String name, String defaultValue)(Code)(Java Doc)
protected String[] getPreferenceValues(String name, String[] defaultValue)(Code)(Java Doc)
public SSOToken getSSOToken() throws CommunityException(Code)(Java Doc)
public Locale getUserLocale()(Code)(Java Doc)
public String getUserName()(Code)(Java Doc)
public void logRecord(Logger logger, Level level, String msgKey, Throwable th, Object parameter)(Code)(Java Doc)
public void logRecord(Logger logger, Level level, String msgKey, Throwable th, Object[] parameters)(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.