|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 INavigationPageRO
GetName
in class NavigationPage
com.plumtree.uiinfrastructure.activityspace.IMVCObject#GetName()
public int GetAccessibleCommunityID(int nSubPortalCommID)
ICommunityNavPageRO
GetAccessibleCommunityID
in interface ICommunityNavPageRO
ICommunityNavPageRO.GetAccessibleCommunityID(int)
public int GetCurCommunityID()
ICommunityNavPageRO
GetCurCommunityID
in interface ICommunityNavPageRO
ICommunityNavPageRO.GetCurCommunityID()
public int GetCurPageID()
public boolean IsMemberInCurCommunity()
public java.lang.String GetCurCommunityName()
ICommunityNavPageRO
GetCurCommunityName
in interface ICommunityNavPageRO
ICommunityNavPageRO.GetCurCommunityName()
public ICPListEntryIterator GetCurCommPages()
public ICPListEntryIterator GetCurRelCommunities()
ICommunityNavPageRO
GetCurRelCommunities
in interface ICommunityNavPageRO
ICommunityNavPageRO.GetCurRelCommunities()
public ICPListEntryIterator GetCurSubCommunities()
ICommunityNavPageRO
GetCurSubCommunities
in interface ICommunityNavPageRO
ICommunityNavPageRO.GetCurSubCommunities()
public int GetDefaultCommunity()
GetDefaultCommunity
in interface ICommunityNavPageRO
public ICPListEntryIterator GetMyCommunities(boolean bListActions)
ICommunityNavPageRO
GetMyCommunities
in interface ICommunityNavPageRO
bListActions
- True to return the community actions in the list, false otherwise
ICommunityNavPageRO.GetMyCommunities(boolean)
public ICPListEntryIterator GetParentComm()
ICommunityNavPageRO
GetParentComm
in interface ICommunityNavPageRO
ICommunityNavPageRO.GetParentComm()
public boolean IsCurCommOwner()
ICommunityNavPageRO
IsCurCommOwner
in interface ICommunityNavPageRO
ICommunityNavPageRO.IsCurCommOwner()
public int GetCommunityID()
ICommunityNavPageRO
GetCommunityID
in interface ICommunityNavPageRO
ICommunityNavPageRO.GetCommunityID()
public boolean ShowCommunityNavigation()
public boolean CanJoinCurCommunity()
ICommunityNavPageRO
CanJoinCurCommunity
in interface ICommunityNavPageRO
ICommunityNavPageRO.CanJoinCurCommunity()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |