| java.lang.Object com.sun.portal.app.communityportlets.faces.CommunityBaseHandler com.sun.portal.app.communityportlets.faces.CommunityInfoHandler
COMMUNITY_INFO_MESSAGES_RESOURCE_BUNDLE_NAME | final public static String COMMUNITY_INFO_MESSAGES_RESOURCE_BUNDLE_NAME(Code) | | |
CommunityInfoHandler | public CommunityInfoHandler()(Code) | | Default constructor.
|
CommunityInfoHandler | public CommunityInfoHandler(boolean isOwner, int members)(Code) | | default constructor.
|
acceptInvitation | public void acceptInvitation()(Code) | | |
delete | public String delete()(Code) | | delete community
if not owner, show error message
|
denyInvitation | public void denyInvitation()(Code) | | |
getMembers | public int getMembers()(Code) | | Get community number of members
|
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.
|
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
|
requestMembership | public void requestMembership()(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) | | |
setShowAlert | public void setShowAlert(boolean b)(Code) | | |
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)
|
|
|