|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.portalpages.common.uiparts.navpagetype.NavigationPage
com.plumtree.portalpages.common.uiparts.navpagetype.CommunityNavPage
public class CommunityNavPage
Delegates model methods only usable by community page.
| Field Summary |
|---|
| Fields inherited from class com.plumtree.portalpages.common.uiparts.navpagetype.NavigationPage |
|---|
m_model, m_type |
| Constructor Summary | |
|---|---|
CommunityNavPage(INavigationModelRO model)
CommunityNavPage constructor. |
|
| Method Summary | |
|---|---|
boolean |
CanJoinCurCommunity()
Checks if the current user can join the current Community |
int |
GetAccessibleCommunityID(int nSubPortalCommID)
Checks for at least read access to the specified Community, If current user lacks access, get the user's default Community and user has no default communities, return -1. |
int |
GetCommunityID()
Get the community ID of the community we are currently viewing. |
ICPListEntryIterator |
GetCurCommPages()
Gets the current community pages. |
int |
GetCurCommunityID()
Gets the id of the current Community |
java.lang.String |
GetCurCommunityName()
Gets the name of the current Community |
int |
GetCurPageID()
Gets the ID of the current Community Page |
ICPListEntryIterator |
GetCurRelCommunities()
Gets the Communities on the same level as the current community. |
ICPListEntryIterator |
GetCurSubCommunities()
Gets the subcommunities of the current community. |
int |
GetDefaultCommunity()
Get the ID of the user's Default Community ID |
ICPListEntryIterator |
GetMyCommunities(boolean bListActions)
Helper function, returns the join community link, community actions if on a community page and the list of communities. |
java.lang.String |
GetName()
Unique String Name of category of object. |
ICPListEntryIterator |
GetParentComm()
Gets the parent community of the current Community |
boolean |
IsCurCommOwner()
Checks if the current user is the owner of the current Community |
boolean |
IsMemberInCurCommunity()
Checks if the current user is a member of the current Community |
boolean |
ShowCommunityNavigation()
Returns true if this page should show the "Inside this Community" header and sub- and related communitites. |
| Methods inherited from class com.plumtree.portalpages.common.uiparts.navpagetype.NavigationPage |
|---|
Create, GetPageType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommunityNavPage(INavigationModelRO model)
model - | Method Detail |
|---|
public java.lang.String GetName()
GetName in interface INavigationPageROGetName in class NavigationPagecom.plumtree.uiinfrastructure.activityspace.IMVCObject#GetName()public int GetAccessibleCommunityID(int nSubPortalCommID)
ICommunityNavPageRO
GetAccessibleCommunityID in interface ICommunityNavPageROICommunityNavPageRO.GetAccessibleCommunityID(int)public int GetCurCommunityID()
ICommunityNavPageRO
GetCurCommunityID in interface ICommunityNavPageROICommunityNavPageRO.GetCurCommunityID()public int GetCurPageID()
public boolean IsMemberInCurCommunity()
public java.lang.String GetCurCommunityName()
ICommunityNavPageRO
GetCurCommunityName in interface ICommunityNavPageROICommunityNavPageRO.GetCurCommunityName()public ICPListEntryIterator GetCurCommPages()
public ICPListEntryIterator GetCurRelCommunities()
ICommunityNavPageRO
GetCurRelCommunities in interface ICommunityNavPageROICommunityNavPageRO.GetCurRelCommunities()public ICPListEntryIterator GetCurSubCommunities()
ICommunityNavPageRO
GetCurSubCommunities in interface ICommunityNavPageROICommunityNavPageRO.GetCurSubCommunities()public int GetDefaultCommunity()
GetDefaultCommunity in interface ICommunityNavPageROpublic ICPListEntryIterator GetMyCommunities(boolean bListActions)
ICommunityNavPageRO
GetMyCommunities in interface ICommunityNavPageRObListActions - True to return the community actions in the list, false otherwise
ICommunityNavPageRO.GetMyCommunities(boolean)public ICPListEntryIterator GetParentComm()
ICommunityNavPageRO
GetParentComm in interface ICommunityNavPageROICommunityNavPageRO.GetParentComm()public boolean IsCurCommOwner()
ICommunityNavPageRO
IsCurCommOwner in interface ICommunityNavPageROICommunityNavPageRO.IsCurCommOwner()public int GetCommunityID()
ICommunityNavPageRO
GetCommunityID in interface ICommunityNavPageROICommunityNavPageRO.GetCommunityID()public boolean ShowCommunityNavigation()
public boolean CanJoinCurCommunity()
ICommunityNavPageRO
CanJoinCurCommunity in interface ICommunityNavPageROICommunityNavPageRO.CanJoinCurCommunity()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||